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

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

Open jespa007 opened this issue 2 years ago • 5 comments

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

jespa007 avatar Jul 02 '24 10:07 jespa007

Since 0.0.55 some models take "ages" to be processed by web-ifc. Usually it is connected to error output.

For example this file (3MB) Vandamme_Voorbewerkingsgebouw_22047H_fase_2.zip get browser almost stuck but it is still going for 13 minutes. The result is this:

obrazek

Aborted() error should be fixed according to #818 in next release, but that loading time is a new in 0.0.55.

But on the other hand file with 12 MB and output like this

obrazek

is processing for 30s (still much longer than before)

Tested on google chrome

hellghostx avatar Jul 09 '24 06:07 hellghostx

I have tested all web-ifc from 0.47 up to 0.55 and I see this issue happens from version 0.0.52. Maybe it has to do with how bad ior good is modeled the 3D object.

jespa007 avatar Jul 09 '24 07:07 jespa007

I solved an issue with IFCELLIPSES and CIRCLES in this model.

Anyway it istill takes a lot of time to process all holes, probably because they are boolean ops. We are wroking on it

image My model is a simplified version of yours

QuimMoya avatar Jul 12 '24 08:07 QuimMoya

Thanks @QuimMoya !!! Glad to know you are mitigating these things!

jespa007 avatar Jul 12 '24 08:07 jespa007

This issue is now solved

QuimMoya avatar Sep 26 '24 09:09 QuimMoya