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
617 stars 190 forks source link

Geometry: Sample that loads very slow, busy console + see through Slab #341

Closed andy-wrks closed 1 year ago

andy-wrks commented 1 year ago

This is a sample taken from a much larger model, It only contains slabs from the ground floor and walls from the 1st floor. However, it's enough to reproduce the two main issues. The issues can be reproduced on https://ifcjs.github.io/web-ifc/demo/ For the records: The file was originally exported from ArchiCAD 25, so the quality of the file should be decent. I removed all the metadata+properties though.

Issue #1 The geometry of the sample file loads very slow and the console is very busy printing messages while interpreting/converting the geometric data. From experience, a model of this size and complexity usually loads in a couple of seconds in web-ifc. This file however takes 4 minutes on my laptop. Needless to say, the original full-size file took almost 1h.

Some samples from the console:

console1 image

console2 image

console3 image

console4 image

Issue#2 Most prominently, the two main IfcSlabs (which have quite a loooong contour and lots of cut outs) are see through.

Current output: image

Expected output: image

Sample file: sample.zip

QuimMoya commented 1 year ago

Las commit also solved this issue image