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

Carsten Arnholm arnholm at arnholm.org
Sun May 19 15:12:39 EDT 2019


On 19.05.2019 18:33, Kevin Toppenberg wrote:
> function inch(i) = 25.4*i;
> cube([inch(1), inch(1), inch(1)]);

This would be required only if you needed to use different units for 
different values in the modelling process. Otherwise, simply do

toInch=25.4;
scale(toInch) YourModel();

As the last transformation before exporting.

Carsten Arnholm



More information about the Discuss mailing list