ThatOpen / engine_web-ifc

Reading and writing IFC files with Javascript, at native speeds.
https://thatopen.github.io/engine_web-ifc/demo
Mozilla Public License 2.0
573 stars 170 forks source link

[Bug]: Long time to process and incorrect computed mesh of an IFC Element IfcFlowTerminal type #898

Open jespa007 opened 4 days ago

jespa007 commented 4 days ago

What happened?

I've attached the Element3D 1.zip file which it contents a single element as type FLOWTERMINAL. I found 2 issues:

  1. The first issue is about of compute the mesh. In the last github code of web-ifc it takes 7 minutes and 27 seconds to process the mesh. I have checked that the last version that computes the mesh quite fast was the version 0.0.51 and it takes 2 seconds. So the changes from versions 0.0.52 and upper this issue happen.

  2. As a second issue, the result of the mesh is not correct. Again, the last version that computes the mesh well was the 0.0.51.

RENDER RESULT MESH FLOWTERMINAL FROM WEB-IFC 0.0.51

image

RENDER RESULT MESH FLOWTERMINAL FROM WEB-IFC LAST CODE

image

Note : The issue has been tested from code downloaded at date 2024-06-28 (4 days ago).

Version

Latest

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Anything else?

No response