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

[Bug]: web-ifc gets stuck in endless loop when extracting geometry for this IfcRoof #535

Open
andy-wrks opened this issue Dec 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@andy-wrks
Copy link

What happened?

This is an isolated IfcRoof element from a larger file, modeled with ArchiCAD 26.
web-ifc gets stuck while producing the geometry, with one CPU core on full usage.
It seems like one of the boolean operations causes the problem.

Since booleans are tricky, I think the main goal should be that web-ifc doesn't crash and the file can be opened. I looks like even Solibri produces some artifacts on this element. But files need to be opened and the show must go on ;-)

web-ifc 0.0.46:
no output

BIMcollab:
image

Solibri:
image

Sample file:
sample.zip

Version

0.0.46

What browsers are you seeing the problem on?

Chrome

Relevant log output

Mostly the usual warnings that happen during geometry extraction:
trizero, unexpected point on plane, bad points, making pos outside, etc.

Anything else?

sample.zip

@andy-wrks andy-wrks added the bug Something isn't working label Dec 19, 2023
@beachtom
Copy link
Collaborator

So this does now open without crashing - but it does not look good :(

@andy-wrks
Copy link
Author

Great, not crashing is an important first step!
This piece sure looks like it's a pain to do operations on, so many singularities. Ifc should just move on to using gltf rather than parametric geometry. In 10 years, I haven't seen a real life workflow that relies on parametric import...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants