Package-level declarations
Types
By default, the text is rendered by OpenSCAD. However, sometimes we want to know the size of this shape (e.g. when using center). So we sometimes need to render the text within FooCAD too. This can cause problems, because the two font rendering system are different, and can give quite different results. In particular the size as reported by FooCAD is often slightly wrong compared with the actual size seen within OpenSCAD.
Text direction, currently only left to right, and right to left are supported. Note OpenSCAD also support top to bottom and bottom to top. These may be added at a later date. Get in touch if you care about these other directions.
A TextStyle allows you to define a style, and then use it for many Text objects, which cuts down on duplicate code.