Slicer Discord
OpenSCAD ASCII to decimal number function – 3D printable model from Thingiverse Thingiverse

OpenSCAD ASCII to decimal number function

by jesse
15 Downloads
8 Likes
0 Makes
Go to Model
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.
Source
Thingiverse
What you need to print this: Beginner Low confidence
Single piece
Supports 1/3
Assembly 0/3
Settings 1/3
Bed size 0/3
Post-process 0/3
Printer
FDM / FFF
File format
STL
Material
PLA
Software
Cura, PrusaSlicer, or similar
No ratings yet
No comments yet – be the first!
Feed Blog Slicer Cost Calculator Image Search Submit Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Add to Collection