openscad
openscad copied to clipboard
staircase.scad syntax error
Line 31: circle(r=core_radius+step_width,h=step_depth);
There is no h parameter for circle();
Line 31: circle(r=core_radius+step_width);
Works for me.
Not sure this is an issue, however Microsoft 3D builder complains "One or more objects are invalidly defined." But the "Click to repair" fixes it.
Fixed and code update to version 2021-01 by removing assign() and child() to children()