You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the z axis is always normal the plane, rotating around Z will
always produce a plane that is parallel to this one.
I believe rotation of a plane does not work as described. Rotating plane over Z-axis does not rotate it over its own Z-axis, but over the world's Z-axis. I will demonstrate my observation below.
In the example, I chose Plane.XZ as the base plane. Then I created copies of it, each rotated by 90 degrees from the previous plane, around the Z-axis. Then, the planes are moved so that they are not on top of each other, for easier visualization.
As can be seen from the picture, The plane is rotated around its Y-axis, which is parallel to the world's Z-axis.
Is it a bug? In case it is not a bug and it works as intended, I have a follow-up question: how can I rotate a plane around its own Z-axis?
The text was updated successfully, but these errors were encountered:
I stumbled upon this line in the documentation while playing with planes and rotating them:
build123d/src/build123d/geometry.py
Lines 2611 to 2612 in f22f54a
I believe rotation of a plane does not work as described. Rotating plane over Z-axis does not rotate it over its own Z-axis, but over the world's Z-axis. I will demonstrate my observation below.
In the example, I chose Plane.XZ as the base plane. Then I created copies of it, each rotated by 90 degrees from the previous plane, around the Z-axis. Then, the planes are moved so that they are not on top of each other, for easier visualization.
![Image](https://private-user-images.githubusercontent.com/15873341/411345359-d285170d-e1e0-49f3-9beb-c10a68294ac2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzQxNjgsIm5iZiI6MTczOTM3Mzg2OCwicGF0aCI6Ii8xNTg3MzM0MS80MTEzNDUzNTktZDI4NTE3MGQtZTFlMC00OWYzLTliZWItYzEwYTY4Mjk0YWMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE1MjQyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI4NTE2ZmVhNjVjNWI4NjUxZmEwMTRhNWJlODQyNzUxZjdjMWRiNWZmMTA3YTUxOGUxMzhmNGFjMTMyZDU4NjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.5BDbdgPtjtN9XwfEDlfOsmJBEOoCSwhhFA8WwY6VZCc)
As can be seen from the picture, The plane is rotated around its Y-axis, which is parallel to the world's Z-axis.
Is it a bug? In case it is not a bug and it works as intended, I have a follow-up question: how can I rotate a plane around its own Z-axis?
The text was updated successfully, but these errors were encountered: