Closed z3dev closed 4 years ago
Funny but cylinder() has the following option, allowing a partial (non-360) cylinder to be created.
let alpha = parseOptionAsFloat(options, 'sectorAngle', 360)
I think 'alpha' should be calculated from start and stop angles.
@z3dev I was looking for such a function to create sector of a cylinder. But I couldn't find it from API document: https://github.com/jscad/csg.js/blob/master/docs/api.md
Closing as this is duplicated In OpenJscad.org
Currently, circles and ellipses are complete 360 degree forms. This enhancement would allow both start and stop angles, and control how many degrees to include.