Skip to content

[Bug]:IFC Loader Stucks at A model with TOLERANCE_PLANE_INTERSECTION #1753

@fethigurcan

Description

@fethigurcan

IFC Loader Stucks at A model with TOLERANCE_PLANE_INTERSECTION

Hello, I just upgraded my convertor to the version 0.74. Thanks for especially for z-figthing parameters.
TOLERANCE_PLANE_INTERSECTION=0.01 solved almost all z-fightings.

I tested over 50 IFC models. And everything is fine except 1 model when I use with TOLERANCE_PLANE_INTERSECTION (any number except 0, my default value 0.01)

At that model the converter stucks (possibly in a infinite loop) after the message No open edges found. Using raw geometry.. (I saw these messages in several models sometimes but never hanged before)

But when I use TOLERANCE_PLANE_INTERSECTION=0 or null;

It works with an report of problem at specific geometry. (but not hangs, and frag works)

% 11.11
fragments.js:134
(46) No open edges found. Using raw geometry.
index.cjs:2
Fragments: Problematic geometry: 1113448
index.cjs:2
(36) No open edges found. Using raw geometry.
index.cjs:2
% 16.67

for a clue, i digged into IFC for 1113448 and the source is;

...
#1113448=IFCBOOLEANCLIPPINGRESULT(.DIFFERENCE.,#1113431,#1113432);
#1113449=IFCCURVESTYLE($,#103,IFCPOSITIVELENGTHMEASURE(0.025),#104);
#1113450=IFCPRESENTATIONSTYLEASSIGNMENT((#579941,#1113449));
#1113451=IFCSTYLEDITEM(#1113448,(#1113450),$);
#1113452=IFCSHAPEREPRESENTATION(#85,'Body','Clipping',(#1113448));
...

Error is ok possibly but we need to prevent stucking if possible. :)

Thanks :)

Version

0.74

What browsers are you seeing the problem on?

No response

Relevant log output

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions