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

Browser is freezing with some specific IFC file #35

Closed
sinsunsan opened this issue May 27, 2021 · 3 comments
Closed

Browser is freezing with some specific IFC file #35

sinsunsan opened this issue May 27, 2021 · 3 comments

Comments

@sinsunsan
Copy link

http://openifcmodel.cs.auckland.ac.nz/Model/Details/331 it freeze the browser to parse the file.

It is possible to set some limit to the resource used in the client computer ? If some operations are really intensive, a time-out maybe ?
Or other strategies that prevent from freezing the browser, I mean make it non-responsive

@tomvandig
Copy link
Collaborator

I can try to abort the boolean calculation if some #vertex-threshold is surpassed, will update this issue when its in.

@tomvandig
Copy link
Collaborator

In 0.0.20 you can try a different bool algo which performs better:

https://tomvandig.github.io/web-ifc/examples/viewer/index.html

@tomvandig
Copy link
Collaborator

From 0.0.23 you can use https://github.com/tomvandig/web-ifc/blob/410612d38a88cb645833dae1291dc1993b6969d5/src/web-ifc-api.ts#L28 to abort a boolean operator exceeding some vertex count, defaults to 10k

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

2 participants