1 / 1
OpenSCAD ASCII to decimal number function
Order a print of this model
We calculate the final price from your selected file. You review and accept it before payment.
Saved on this device.
This library includes a function to convert Strings into floating point numbers. It's useful if you are generating…
- Rating
- 0 / 5
- Likes
- 1
- Downloads
- 32
- Makes
- 0
- Views
- 257
- Reviews
- 0
Updated at source:
Model information
- Source
- Printables
- Category
- Other Ideas
- License
- Creative Commons — Attribution
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.
Category: Other