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

Object is not centered properly when tools are disabled. #136

Open
njourdane opened this issue Dec 17, 2024 · 0 comments
Open

Object is not centered properly when tools are disabled. #136

njourdane opened this issue Dec 17, 2024 · 0 comments

Comments

@njourdane
Copy link

With the glass mode enabled (default), the object is shifted on the right for a better visualization of the tree.
But when tools option is set to false, there is no tree, and so the object appears not centered.

This bug is not present when glass mode is disabled.

Example:

import build123d as _
import ocp_vscode as ov

box = _.Box(3, 3, 1)
ov.show_object(box, tools=False, clear=True)

Displays:

image

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

No branches or pull requests

1 participant