Open z3dev opened 10 months ago
As mentioned, enhancing extrudeRotate() to use any axis X/Y/Z would be a nice enhancement. The default would be extruding 2D geometry from X/Y plane about X-axis, supporting 2D geometry with positive points.
NOTE: This is a breaking change.
@achirita Are you interested in rewriting extrudeRotate() to support X/Y/Z axis rotations? Of course this would go into V3, which is moving along nicely now.
Discussed in https://github.com/jscad/OpenJSCAD.org/discussions/1229
Originally posted by achirita April 11, 2023
I recently had to use the extrudeRotate function and noticed that it's behavior is not that intuitive. I thought I would be able to specify the axis around which the 2D geometry is being rotated in order to obtain the 3D geometry, but noticed that's not the case. What's even stranger is that if I have a 2D geometry in the XY plane and I use extrudeRotate on it, it gets rotated around the Z axis, which make little sense to me. It's like the geometry is first rotated around the X axis 90 degrees and then the extrudeRotate operation is performed. Any thought on this one?