engine_web-ifc icon indicating copy to clipboard operation
engine_web-ifc copied to clipboard

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

Open andy-wrks opened this issue 2 years ago • 2 comments

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 avatar Dec 19 '23 10:12 andy-wrks

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

beachtom avatar Jul 12 '24 16:07 beachtom

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...

andy-wrks avatar Jul 15 '24 07:07 andy-wrks