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

Effective way to update the display? #73

Open
nsmela opened this issue Nov 7, 2023 · 0 comments
Open

Effective way to update the display? #73

nsmela opened this issue Nov 7, 2023 · 0 comments

Comments

@nsmela
Copy link

nsmela commented Nov 7, 2023

We're looking to improve our 3D viewer's response and I had a few questions regarding it:

  • pythonocc seems to use Erase to remove shapes from the display, but OpenCascade's documention shows that it only hides the shape, doesn't delete it. Wouldn't it be better to RemoveAll() instead?
  • is there a demo on how to update an existing shape in the viewer?
  • importing a small (2kB) mesh takes a very long time to add via display.DisplayShape(shape), is there a way to reduce the loading time? Like convert the mesh's shape into another object and then load it?
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