web-ifc-three icon indicating copy to clipboard operation
web-ifc-three copied to clipboard

Browser freezes completely when loading specific IFC

Open MrPandawanTech opened this issue 3 years ago • 0 comments

Hello,

I have an issue with multiple IFC files. The problem is that the browser tab freezes. The performance monitor shows 100% of the CPU is used. The tab stops responding ,and it takes about 10 sec to close it.

I can share only one of these files in public: The file is only 8Mo : https://we.tl/t-VKhSIq527a

I have already done some tests to make it work on ifcjs. The method I found for the moment is to remove some IFCPOLYLOOP by editing the file by hand, but the model looks like nothing anymore.

I am using "web-ifc-three": "^0.0.117" and "three": "^0.135.0". I reproduce the problem on your "hello world" application on this page : https://ifcjs.github.io/hello-world/examples/web-ifc-three/helloworld/

In the console, I can see : "web-ifc: 0.0.34 threading: 0" "No basis found for brep!" "unexpected style type"

I am using Google Chrome.

Don't hesitate to ask if I can help you in any way.

MrPandawanTech avatar Jul 08 '22 13:07 MrPandawanTech