[OpenSCAD] Any thoughts on using units other than millimeters?

MichaelAtOz oz.at.michael at gmail.com
Sun May 19 21:17:11 EDT 2019

leebc wrote
> I have been finding, however, that 1 unit in the game world, is
> aproximately 1 meter, so I change my scale factor to inch_to_mm=2.54/100;
> this was very helpful, and I'm glad I chose to scale everything.

That may be setting you up or trouble.

You 24"/609.6mm top is the stored as 0.6096, and smaller details, say screw
hole for draw handle 1/8"/3.175mm is stored as 0.003175.
OpenSCAD gets a bit flaky down in such small number scales, with floating
point conversion losing accuracy.

Admin - email* me if you need anything, or if I've done something stupid...

* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
Sent from: http://forum.openscad.org/

More information about the Discuss mailing list