3 ms·
> ...you can no longer view it as just for looping to add vertices.... You can if the loop can be unrolled. https://en.wikibooks.org/wiki/OpenSCAD_User_Manual
by maxbond 2y ago
> ...you can no longer view it as just for looping to add vertices....
You can if the loop can be unrolled.
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Conditional_and_Iterator_Functions#For_loop https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Condition...
See below for example.
https://github.com/MaxBondABE/batteries/blob/master/src/geometry/solid.scad https://github.com/MaxBondABE/batteries/blob/master/src/geom...
- maxbond 2y agoUpon further reflection, what's really happening in that example is that I'm using non-CSG primitives provided by OpenSCAD, so I retract my comment (at least partially).