ThatOpen / engine_components

MIT License
350 stars 134 forks source link

IFC Model Alignment Issue #382

Closed Issa369 closed 4 months ago

Issa369 commented 6 months ago

Describe the bug πŸ“

I'm currently encountering an issue while streaming some IFC files. I was testing a 1.2 GB file and noticed that some walls were not being rendered due to their vertex arrays being empty, which results in a null bounding box. Interestingly, a very similar wall works perfectly. I found a related issue here with someone else's file, tested their fix by updating web-ifc along with the wasm files, and it resolved the issue for that file. However, when I applied the same update to my file, it unfortunately didn't work.

Additionally, I thought that updating openbim-components and web-ifc along with their respective modules might help, but while this update did resolve the issue, it caused the elements in my model to misalign, even though other models work perfectly with these updates.

Any insights or suggestions would be greatly appreciated!

Reproduction ▢️

No response

Steps to reproduce πŸ”’

Capture

System Info πŸ’»

windows 10 64x, google chrome

Used Package Manager πŸ“¦

npm

Error Trace/Logs πŸ“ƒ

No response

Validations βœ…

agviegas commented 4 months ago

This was happening due to the deduplication of extrusions, which we removed from the latest version of the libraries. So this is now solved. You can check out the tutorial here. Let us know otherwise!