Thingiverse
OpenSCAD ASCII to decimal number function
von jesse
15
Downloads
8
Likes
0
Makes
This library includes a function to convert Strings into floating point numbers. It's useful if you are generating OpenSCAD files using a customizer program and want to put user HTTP form data directly into the file.
For example, using atof("%size%") in the template file could get replaced with atof("60.5") which returns 60.5 as a number. The atof("%size%") placeholder still allows the OpenSCAD document to pass compilation which helps with debugging.
For example, using atof("%size%") in the template file could get replaced with atof("60.5") which returns 60.5 as a number. The atof("%size%") placeholder still allows the OpenSCAD document to pass compilation which helps with debugging.
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!