[Bug]: web-ifc gets stuck in endless loop when extracting geometry for this IfcRoof
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:
Solibri:
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?
So this does now open without crashing - but it does not look good :(
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...