Repository navigation
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. |
1 reply
|
@achirita some nice ideas here. thanks. the extradeRotate functionality was probably created to duplicate OpenSCAD, long long ago. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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?
All reactions