Skip to content

feat: Add viewup parameter to show in vis.py #1837

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

winksaville
Copy link
Contributor

@winksaville winksaville commented May 12, 2025

This allows the user to change the ViewUp position of the camera. With this change the default remains Y up (0, 1, 0) so this is backwards compatible, but for projects like creating shapes for 3D printing, where Z up is more conventional, the ViewUp can be changed.

This allows the user to setup the ViewUp position of the camera.
The default is with Y up (0, 1, 0) but for projects like creating
shapes for 3D printing Z up is more conventional. With this change
it is difficult to manage.

The default is Y up but that default can now be overridden by passing
`viewup=(0, 0, 1)`
@winksaville winksaville marked this pull request as draft May 16, 2025 22:53
@winksaville
Copy link
Contributor Author

This isn't correct, I'm investigating a better solution.

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 this pull request may close these issues.

1 participant