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

Allow configurating the viewport #573

Open
trungleduc opened this issue Nov 7, 2024 · 3 comments
Open

Allow configurating the viewport #573

trungleduc opened this issue Nov 7, 2024 · 3 comments

Comments

@trungleduc
Copy link
Member

trungleduc commented Nov 7, 2024

Always displaying the transform control makes it easy to accidentally move the objects while rotating the camera. Other CAD software do not activate the transform control by default. I think we should follow this behavior.

Since we had already the dialog to show and hide the axes helper, we can change this dialog to a viewport config dialog with the following items:

  • Toggle axes helper
  • Toggle object highlight mode: using a bounding box or using highlight color
  • Highlight or bounding box color selector
  • Viewport background color, it would be great if we could support gradient color.

We could reuse the setting system of JupyterLab to persist the viewport config.

@martinRenou
Copy link
Member

Agreed! A simple toggle button like the wireframe may be enough

@arjxn-py
Copy link
Member

arjxn-py commented Nov 7, 2024

Makes Sense! Will be happy to do it :)

@trungleduc trungleduc changed the title Allow toggling the transform control Allow configurating the viewport Nov 9, 2024
@trungleduc
Copy link
Member Author

I updated the issue about the viewport config. The transform control merits its own toggle button on the toolbar

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

3 participants