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

Coordinate System Mismatch Between OpenSCAD and Model-Viewer #53

Closed
01miaom opened this issue Aug 9, 2024 · 1 comment · Fixed by #69
Closed

Coordinate System Mismatch Between OpenSCAD and Model-Viewer #53

01miaom opened this issue Aug 9, 2024 · 1 comment · Fixed by #69

Comments

@01miaom
Copy link

01miaom commented Aug 9, 2024

Models created in OpenSCAD do not rotate correctly in Model-Viewer due to differing coordinate systems. Specifically, in Model-Viewer, the Y-axis seems to correspond to the Z-axis in OpenSCAD. This mismatch causes models to rotate diagonally instead of around the expected axes.

To correctly rotate models in Model-Viewer, a rotate([-90, 0, 0]) adjustment is required in OpenSCAD.

Would it be possible to consider incorporating automatic rotation adjustments to account for this coordinate system mismatch directly into the code? This would help ensure consistent rotation behavior between OpenSCAD and Model-Viewer.

@ochafik
Copy link
Collaborator

ochafik commented Dec 23, 2024

@01miaom thanks for reporting this! I'd forgotten about that annoying quirk, now fixed!

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

Successfully merging a pull request may close this issue.

2 participants