rapcad:rapcad.git
3 years agoAdded snowflake to examples. master gitlab/master gitorious/master google/master origin/master
Giles Bathgate [Fri, 5 Dec 2014 16:31:38 +0000 (16:31 +0000)]
Added snowflake to examples.

3 years agoFix print output of polyline.
Giles Bathgate [Thu, 4 Dec 2014 13:59:43 +0000 (13:59 +0000)]
Fix print output of polyline.

3 years agoMerge branch 'representation'
Giles Bathgate [Thu, 4 Dec 2014 13:15:18 +0000 (13:15 +0000)]
Merge branch 'representation'

Conflicts:
src/module/spheremodule.cpp
test/030_sphere/001_sphere.csg
test/030_sphere/005_sphere.csg

3 years agoAdds test for bezier surface.
Giles Bathgate [Thu, 4 Dec 2014 12:44:17 +0000 (12:44 +0000)]
Adds test for bezier surface.

3 years agoAdds test for solid linear extrude.
Giles Bathgate [Thu, 4 Dec 2014 12:32:13 +0000 (12:32 +0000)]
Adds test for solid linear extrude.

3 years agoRemoves remaining append functions. Fixes solid extrude. origin/representation
Giles Bathgate [Thu, 4 Dec 2014 11:51:06 +0000 (11:51 +0000)]
Removes remaining append functions. Fixes solid extrude.

3 years agoRemoves the now redundant append vertex functions.
Giles Bathgate [Wed, 3 Dec 2014 22:39:37 +0000 (22:39 +0000)]
Removes the now redundant append vertex functions.

3 years agoBezier_surface now constructed using indices.
Giles Bathgate [Wed, 3 Dec 2014 22:08:42 +0000 (22:08 +0000)]
Bezier_surface now constructed using indices.

3 years agoSphere now constructed using indices.
Giles Bathgate [Mon, 1 Dec 2014 17:22:20 +0000 (17:22 +0000)]
Sphere now constructed using indices.

3 years agoPrism now constructed using indices.
Giles Bathgate [Wed, 23 Apr 2014 18:53:31 +0000 (19:53 +0100)]
Prism now constructed using indices.

3 years agoPolygon and Polyline now constructed using indices.
Giles Bathgate [Wed, 23 Apr 2014 18:53:31 +0000 (19:53 +0100)]
Polygon and Polyline now constructed using indices.

3 years agoCylinder_surface now constructed using indices.
Giles Bathgate [Wed, 23 Apr 2014 18:53:31 +0000 (19:53 +0100)]
Cylinder_surface now constructed using indices.

3 years agoCircle now constructed using indices.
Giles Bathgate [Wed, 23 Apr 2014 18:53:31 +0000 (19:53 +0100)]
Circle now constructed using indices.

3 years agoSquare now constructed using indices.
Giles Bathgate [Mon, 5 May 2014 13:19:16 +0000 (14:19 +0100)]
Square now constructed using indices.

3 years agoNode printer can now just use indexes.
Giles Bathgate [Wed, 23 Apr 2014 18:53:31 +0000 (19:53 +0100)]
Node printer can now just use indexes.

3 years agoPolyhedron now constructed using indices.
Giles Bathgate [Tue, 22 Apr 2014 22:19:01 +0000 (23:19 +0100)]
Polyhedron now constructed using indices.

3 years agoCone now constructed using indices.
Giles Bathgate [Tue, 22 Apr 2014 22:04:57 +0000 (23:04 +0100)]
Cone now constructed using indices.

3 years agoCylinder now constructed using indices.
Giles Bathgate [Tue, 22 Apr 2014 21:31:29 +0000 (22:31 +0100)]
Cylinder now constructed using indices.

3 years agoPoints are already available in radius function.
Giles Bathgate [Mon, 21 Apr 2014 11:10:36 +0000 (12:10 +0100)]
Points are already available in radius function.

3 years agoPoints are already available in bounds function.
Giles Bathgate [Mon, 21 Apr 2014 10:55:57 +0000 (11:55 +0100)]
Points are already available in bounds function.

3 years agoCube now constructed using indices.
Giles Bathgate [Mon, 21 Apr 2014 10:55:14 +0000 (11:55 +0100)]
Cube now constructed using indices.

3 years agoAdded createVertex function, ideally this should be used instead of the append/prepen...
Giles Bathgate [Sun, 20 Apr 2014 16:46:28 +0000 (17:46 +0100)]
Added createVertex function, ideally this should be used instead of the append/prepend functions.

3 years agoCGALPolygon now uses indexes instead of points.
Giles Bathgate [Sun, 20 Apr 2014 13:50:57 +0000 (14:50 +0100)]
CGALPolygon now uses indexes instead of points.

3 years agoRemove unique points overload.
Giles Bathgate [Sun, 20 Apr 2014 11:44:56 +0000 (12:44 +0100)]
Remove unique points overload.

3 years agoPolygon now uses indexes instead of points.
Giles Bathgate [Sun, 20 Apr 2014 11:00:52 +0000 (12:00 +0100)]
Polygon now uses indexes instead of points.

3 years agoRename getPoints => getCGALPoints.
Giles Bathgate [Sun, 20 Apr 2014 10:37:24 +0000 (11:37 +0100)]
Rename getPoints => getCGALPoints.

3 years agoRemove dependency on polygon in simpletextbuilder.
Giles Bathgate [Sun, 20 Apr 2014 09:22:46 +0000 (10:22 +0100)]
Remove dependency on polygon in simpletextbuilder.

3 years agoRemove dependency on polygon for create circle.
Giles Bathgate [Sun, 20 Apr 2014 08:35:21 +0000 (09:35 +0100)]
Remove dependency on polygon for create circle.

3 years agoMade cup example more likely to be printable on reprap.
Giles Bathgate [Thu, 23 Oct 2014 12:55:31 +0000 (13:55 +0100)]
Made cup example more likely to be printable on reprap.

3 years agoCorrections where bounds() should be bound$().
Giles Bathgate [Thu, 23 Oct 2014 12:55:06 +0000 (13:55 +0100)]
Corrections where bounds() should be bound$().

3 years agoNo need to clear GL_STENCIL_BUFFER.
Giles Bathgate [Thu, 23 Oct 2014 11:18:43 +0000 (12:18 +0100)]
No need to clear GL_STENCIL_BUFFER.

I am unsure why this was needed but clearing the stencil buffer seems to make
rapcad not clear the viewport correctly when there is nothing to render. This
makes the application look broken.

3 years agoUse exact centering for sphere and default to point when no radius given.
Giles Bathgate [Tue, 6 May 2014 18:06:06 +0000 (19:06 +0100)]
Use exact centering for sphere and default to point when no radius given.

3 years agoImprove compilation time output in gui.
Giles Bathgate [Mon, 5 May 2014 19:11:56 +0000 (20:11 +0100)]
Improve compilation time output in gui.

3 years agoComponentwise vector operations should work with varing sizes of vector on left and...
Giles Bathgate [Fri, 2 May 2014 20:42:43 +0000 (21:42 +0100)]
Componentwise vector operations should work with varing sizes of vector on left and right.

3 years agoAdded test which ensures version can be called twice.
Giles Bathgate [Sat, 19 Apr 2014 15:19:22 +0000 (16:19 +0100)]
Added test which ensures version can be called twice.

3 years agoFix crash when version is called more than once.
Giles Bathgate [Sat, 19 Apr 2014 12:53:38 +0000 (13:53 +0100)]
Fix crash when version is called more than once.

3 years agoAdd action in parser for consistency.
Giles Bathgate [Fri, 18 Apr 2014 19:16:55 +0000 (20:16 +0100)]
Add action in parser for consistency.

3 years agoAdded feature matrix.
Giles Bathgate [Fri, 18 Apr 2014 19:03:27 +0000 (20:03 +0100)]
Added feature matrix.

3 years agoNeeded GLU not GL.
Giles Bathgate [Thu, 17 Apr 2014 21:31:14 +0000 (22:31 +0100)]
Needed GLU not GL.

3 years agoNeed to use mesa-libGL-devel for fedora.
Giles Bathgate [Thu, 17 Apr 2014 21:13:23 +0000 (22:13 +0100)]
Need to use mesa-libGL-devel for fedora.

3 years agoTry different package for fedora.
Giles Bathgate [Thu, 17 Apr 2014 21:06:38 +0000 (22:06 +0100)]
Try different package for fedora.

3 years agoMinor optimisation in min() and max() functions.
Giles Bathgate [Tue, 15 Apr 2014 21:41:33 +0000 (22:41 +0100)]
Minor optimisation in min() and max() functions.

3 years agoUse more widely available qt package.
Giles Bathgate [Tue, 15 Apr 2014 17:54:49 +0000 (18:54 +0100)]
Use more widely available qt package.

3 years agoCorrection to licence and project url in suse.spec
Giles Bathgate [Mon, 14 Apr 2014 22:29:22 +0000 (23:29 +0100)]
Correction to licence and project url in suse.spec

3 years agoCorrect README filename.
Giles Bathgate [Mon, 14 Apr 2014 22:15:02 +0000 (23:15 +0100)]
Correct README filename.

3 years agoAttempt to get builds on suse working again.
Giles Bathgate [Mon, 14 Apr 2014 21:53:14 +0000 (22:53 +0100)]
Attempt to get builds on suse working again.

3 years agoImproves min() and max() functions so they work for any number of arguments.
Giles Bathgate [Thu, 3 Apr 2014 18:47:47 +0000 (19:47 +0100)]
Improves min() and max() functions so they work for any number of arguments.

Will take any amount of numbers, vectors or range parameters, and return
the single smallest scalar value.

3 years agoCaching of single point to speed up creation of subsequent point primitives.
Giles Bathgate [Thu, 3 Apr 2014 18:15:22 +0000 (19:15 +0100)]
Caching of single point to speed up creation of subsequent point primitives.

3 years agoPerimeters are now encapsulated in a Primtive.
Giles Bathgate [Wed, 2 Apr 2014 22:28:43 +0000 (23:28 +0100)]
Perimeters are now encapsulated in a Primtive.

3 years agoImprovement to cgalexplorer. If no edges could be found evaluation is done.
Giles Bathgate [Wed, 2 Apr 2014 22:03:32 +0000 (23:03 +0100)]
Improvement to cgalexplorer. If no edges could be found evaluation is done.

3 years agoTidy up CGAL::do_overlap function.
Giles Bathgate [Tue, 1 Apr 2014 19:19:59 +0000 (20:19 +0100)]
Tidy up CGAL::do_overlap function.

3 years agoSlight improvement to how output is handled in interactive console.
Giles Bathgate [Sun, 30 Mar 2014 10:25:27 +0000 (11:25 +0100)]
Slight improvement to how output is handled in interactive console.

3 years agoMore translation wrappers.
Giles Bathgate [Sat, 29 Mar 2014 21:14:11 +0000 (21:14 +0000)]
More translation wrappers.

3 years agoFix missing expressions operators.
Giles Bathgate [Sat, 29 Mar 2014 20:49:17 +0000 (20:49 +0000)]
Fix missing expressions operators.

3 years agoMore messages now handled by reporter and wrapped in translate functions.
Giles Bathgate [Sat, 29 Mar 2014 20:03:47 +0000 (20:03 +0000)]
More messages now handled by reporter and wrapped in translate functions.

3 years agoAdded translation wrappers around some output messages.
Giles Bathgate [Sat, 29 Mar 2014 19:15:32 +0000 (19:15 +0000)]
Added translation wrappers around some output messages.

3 years agoCorrection to warning message.
Giles Bathgate [Sat, 29 Mar 2014 18:04:33 +0000 (18:04 +0000)]
Correction to warning message.

3 years agoAdded tests for slice module.
Giles Bathgate [Sat, 29 Mar 2014 17:45:46 +0000 (17:45 +0000)]
Added tests for slice module.

3 years agoWarnings are now reported via the Reporter class.
Giles Bathgate [Sat, 29 Mar 2014 17:44:41 +0000 (17:44 +0000)]
Warnings are now reported via the Reporter class.

3 years agoRapCAD 0.9.5 v0.9.5
Giles Bathgate [Sat, 29 Mar 2014 13:26:53 +0000 (13:26 +0000)]
RapCAD 0.9.5

3 years agoUpdated Release notes for upcoming version.
Giles Bathgate [Sat, 29 Mar 2014 13:26:53 +0000 (13:26 +0000)]
Updated Release notes for upcoming version.

3 years agoUpdate documentation for num() function.
Giles Bathgate [Sat, 29 Mar 2014 13:22:46 +0000 (13:22 +0000)]
Update documentation for num() function.

3 years agoMoves makeSide functions into CGALBuilder. Adds tests for Slice module.
Giles Bathgate [Sat, 29 Mar 2014 11:49:34 +0000 (11:49 +0000)]
Moves makeSide functions into CGALBuilder. Adds tests for Slice module.

3 years agoIn several places in the code check isEmpty instead of checking count.
Giles Bathgate [Sat, 29 Mar 2014 11:10:38 +0000 (11:10 +0000)]
In several places in the code check isEmpty instead of checking count.

3 years agoUse directive now correctly gets the path relative to the script.
Giles Bathgate [Sat, 29 Mar 2014 10:48:21 +0000 (10:48 +0000)]
Use directive now correctly gets the path relative to the script.

3 years agoAnother nice little badge for the readme.
Giles Bathgate [Fri, 28 Mar 2014 20:18:03 +0000 (20:18 +0000)]
Another nice little badge for the readme.

3 years agoDifferent fix for the dangling else problem in parser.
Giles Bathgate [Fri, 28 Mar 2014 19:54:13 +0000 (19:54 +0000)]
Different fix for the dangling else problem in parser.

3 years agoImplements importing scripts with the 'use' directive.
Giles Bathgate [Sun, 23 Mar 2014 13:28:02 +0000 (13:28 +0000)]
Implements importing scripts with the 'use' directive.

3 years agoAdds the ability to specify an output precision in auxilary modules.
Giles Bathgate [Sat, 22 Mar 2014 17:06:35 +0000 (17:06 +0000)]
Adds the ability to specify an output precision in auxilary modules.

3 years agoCenter of mass calculation is slow so make it optional via a parameter.
Giles Bathgate [Sat, 22 Mar 2014 15:50:14 +0000 (15:50 +0000)]
Center of mass calculation is slow so make it optional via a parameter.

3 years agoBetter check for negative index too.
Giles Bathgate [Sat, 22 Mar 2014 14:28:10 +0000 (14:28 +0000)]
Better check for negative index too.

3 years agoCorrect missuse of decimal for integer values.
Giles Bathgate [Sat, 22 Mar 2014 14:11:53 +0000 (14:11 +0000)]
Correct missuse of decimal for integer values.

3 years agoSame correction to polyhedron module.
Giles Bathgate [Sat, 22 Mar 2014 14:11:25 +0000 (14:11 +0000)]
Same correction to polyhedron module.

3 years agoFix hard crashes in Polygon and Polyline modules.
Giles Bathgate [Sat, 22 Mar 2014 14:03:22 +0000 (14:03 +0000)]
Fix hard crashes in Polygon and Polyline modules.

3 years agoSTL files contain floats so treat them as such.
Giles Bathgate [Sat, 22 Mar 2014 13:32:21 +0000 (13:32 +0000)]
STL files contain floats so treat them as such.

3 years agoInverting undef should yeild true.
Giles Bathgate [Sat, 22 Mar 2014 12:40:09 +0000 (12:40 +0000)]
Inverting undef should yeild true.

3 years agoDocuments all the built in functions.
Giles Bathgate [Thu, 20 Mar 2014 22:24:01 +0000 (22:24 +0000)]
Documents all the built in functions.

3 years agoMake Volume$() module also output center of mass.
Giles Bathgate [Mon, 17 Mar 2014 21:19:03 +0000 (21:19 +0000)]
Make Volume$() module also output center of mass.

3 years agoImplements a num() function for converting values to number.
Giles Bathgate [Sun, 16 Mar 2014 20:52:54 +0000 (20:52 +0000)]
Implements a num() function for converting values to number.

3 years agoImproves creation and disposal of lexer.
Giles Bathgate [Thu, 13 Mar 2014 21:15:26 +0000 (21:15 +0000)]
Improves creation and disposal of lexer.

3 years agoImproves detection of expressions in interactive mode.
Giles Bathgate [Thu, 13 Mar 2014 20:33:15 +0000 (20:33 +0000)]
Improves detection of expressions in interactive mode.

3 years agoAdds support for statements within interactive mode.
Giles Bathgate [Wed, 12 Mar 2014 22:35:08 +0000 (22:35 +0000)]
Adds support for statements within interactive mode.

3 years agoCorrects output from nodeprinter regarding center and align modules.
Giles Bathgate [Wed, 12 Mar 2014 22:09:30 +0000 (22:09 +0000)]
Corrects output from nodeprinter regarding center and align modules.

3 years agoAdds a test for indexing huge ranges.
Giles Bathgate [Wed, 12 Mar 2014 22:04:16 +0000 (22:04 +0000)]
Adds a test for indexing huge ranges.

3 years agoAdds some tests for union.
Giles Bathgate [Wed, 12 Mar 2014 21:55:12 +0000 (21:55 +0000)]
Adds some tests for union.

3 years agoMakes centering parameters on primitives use the center() module.
Giles Bathgate [Wed, 12 Mar 2014 21:52:20 +0000 (21:52 +0000)]
Makes centering parameters on primitives use the center() module.

3 years agoFixes crash when points or surfaces are undefined.
Giles Bathgate [Tue, 11 Mar 2014 22:45:54 +0000 (22:45 +0000)]
Fixes crash when points or surfaces are undefined.

3 years agoFixes a couple of coding errors.
Giles Bathgate [Tue, 11 Mar 2014 22:39:36 +0000 (22:39 +0000)]
Fixes a couple of coding errors.

3 years agoAdds leader lines for volume$ module.
Giles Bathgate [Tue, 11 Mar 2014 22:37:36 +0000 (22:37 +0000)]
Adds leader lines for volume$ module.

3 years agoImplements a volume$ module for calculating required print material.
Giles Bathgate [Tue, 11 Mar 2014 20:08:11 +0000 (20:08 +0000)]
Implements a volume$ module for calculating required print material.

3 years agoBail out early when index is larger than range or vector.
Giles Bathgate [Mon, 10 Mar 2014 23:25:53 +0000 (23:25 +0000)]
Bail out early when index is larger than range or vector.

3 years agoIndex over ranges and vectors using Iterator.
Giles Bathgate [Mon, 10 Mar 2014 23:12:51 +0000 (23:12 +0000)]
Index over ranges and vectors using Iterator.

This allows handling of very large ranges for example:

x=[0:10:100000000000];
writeln(x[500]);

3 years agoImplements a radial$ module for measuring diameters and radii.
Giles Bathgate [Sun, 9 Mar 2014 21:43:43 +0000 (21:43 +0000)]
Implements a radial$ module for measuring diameters and radii.

3 years agoAdditional test for polygon.
Giles Bathgate [Sat, 8 Mar 2014 21:49:22 +0000 (21:49 +0000)]
Additional test for polygon.

3 years agoAllows polygon to take a single list of vectors for the outline.
Giles Bathgate [Sat, 8 Mar 2014 21:23:29 +0000 (21:23 +0000)]
Allows polygon to take a single list of vectors for the outline.

3 years agoAdds a few simple tests for intersection module.
Giles Bathgate [Sat, 8 Mar 2014 18:34:05 +0000 (18:34 +0000)]
Adds a few simple tests for intersection module.

3 years agoAdds a few simple tests for difference module.
Giles Bathgate [Sat, 8 Mar 2014 17:51:58 +0000 (17:51 +0000)]
Adds a few simple tests for difference module.

3 years agoImproves output for test result text.
Giles Bathgate [Sat, 8 Mar 2014 13:41:16 +0000 (13:41 +0000)]
Improves output for test result text.

3 years agoFixes occasionally failing test re-instated from non-working dir.
Giles Bathgate [Sat, 8 Mar 2014 11:19:56 +0000 (11:19 +0000)]
Fixes occasionally failing test re-instated from non-working dir.

3 years agoRename test files.
Giles Bathgate [Fri, 7 Mar 2014 23:33:18 +0000 (23:33 +0000)]
Rename test files.