Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extrudeRotate behavior is unintuitive #1277

Open
z3dev opened this issue Aug 13, 2023 Discussed in #1229 · 2 comments
Open

extrudeRotate behavior is unintuitive #1277

z3dev opened this issue Aug 13, 2023 Discussed in #1229 · 2 comments

Comments

@z3dev
Copy link
Member

z3dev commented Aug 13, 2023

Discussed in #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?

@z3dev z3dev added the V3 label Aug 13, 2023
@z3dev
Copy link
Member Author

z3dev commented Aug 13, 2023

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.

@z3dev
Copy link
Member Author

z3dev commented Aug 19, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant