[OpenSCAD] Difference between modelling with Openscad and Freecad

arnholm at arnholm.org arnholm at arnholm.org
Thu Oct 3 11:32:31 EDT 2019


On 2019-10-03 15:08, shadowwynd wrote:
> Here's a simple example of why querying geometry would be useful.  
> Imagine a
> rectangular key fob with the person's name extruded above the 
> rectangular
> backing, and a 5mm margin on every side between the text and the 
> rectangle.
> This is very much a "hello world" problem, and I see many kids doing 
> this as
> a "my first 3d print" introduction.

That example is a close match to my sign generator with AngelCAD:
https://gist.github.com/arnholm/23c482530fd1882c615f5e6e3c9eedca

> The train-derailing starts with this simple question:  what are the
> dimensions of the rectangle?

In the above example it is done by first computing the bounding box of 
the resulting text and position and size the rectangle based on that.

Carsten Arnholm




More information about the Discuss mailing list