Replies: 2 comments 5 replies
-
Those are valid points, but it is difficult to approve changes that would break, already running scripts based on what is more intuitive. Person who first implemented this had some reason to do it this way. To fit coding in jscad to my personal preference I create utility functions for my scripts. If @z3dev can also see value in adding the parameter that changes the extrusion axis , then a PR would be a good next step fwd. |
Beta Was this translation helpful? Give feedback.
-
@achirita some nice ideas here. thanks. the extradeRotate functionality was probably created to duplicate OpenSCAD, long long ago. |
Beta Was this translation helpful? Give feedback.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions