Package-level declarations
Types
Tag var
fields of your Model, and they will appear in the customiser. This will let you (or others) create alternate versions of the model with customised parameters values.
Note. if this only needed for affine transformations, then the bottom row can be hard coded to 0,0,0,1 This will simplify the maths.
Most 3D shapes do not know their Shape3d.points nor Shape3d.faces, and throw this exception when either are accessed. Most 3D shapes rely on OpenSCAD's renderer.
Some 2d shapes, such as Union2d, Difference2d and Hull2d do not store the points which make up the shape. This exception is thrown when such a shape is used with a method that requires the point data.
Functions
Redirects stdout and stderr to /dev/null or NUL (windows). This prevents the process from blocking if it spews output.
Convert a FooCAD Shape2d into jts Geometry.
Converts a FooCAD Path2d into a jts LineString. If the Path2d is closed, then use Path2d.toJTSPolygon instead.
This is here only for completeness, at time of writing, this wasn't being used.
Convert a FooCAD Path2d into a jts Polygon. If the Path2d is not closed, then use Path2d.toJTSLineString instead.