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

set_autoscale_structures sets incorrect scale #281

Open
patsytau opened this issue Jun 14, 2024 · 1 comment
Open

set_autoscale_structures sets incorrect scale #281

patsytau opened this issue Jun 14, 2024 · 1 comment

Comments

@patsytau
Copy link

cube.off.txt
test_polyscope.py.txt

This script, if installed with polyscope 1.3.1, correctly displays a cube on a grey grid.
However, with 2.2.1, the window is blank, though it notes that the structure has been loaded.

Removing the polyscope.set_autoscale_structures(True) line results in displaying a cube on a grey grid, with the following output:

bbox diag = 10.392304845413264
gls = 10.392304420471191
gls = 10.392304420471191

With this line included, the window is blank, and the following output is given:

bbox diag = 10.392304845413264
gls = 10.392304420471191
gls = 0.009259259328246117

set_autoscale_structures(True) works in polyscope 1.3.1 as installed via pip.

@patsytau
Copy link
Author

The same issue occurs with polyscope 2.3.0.

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