engine_web-ifc: Wall not rendered
Describe the bug ๐
When Im loading my IFC file some of the walls are not being rendered.
It appears when using OBC 2+. In older version (1.5.1) itโs displayed properly.
See the screenshot attached and IFC file that iโve used (zipped, as github doesnt allow attaching pure ifc).
arch.zip
In the place marked with arrow there should be a IFCWALLSTANDARDCASE element with global ID
1uwjPQk3DDwRinyWJDQS9r with window inside. You can see the window rendered, but not the wall.
Reproduction โถ๏ธ
No response
Steps to reproduce ๐ข
Load the IFC attached in the bug description (zipped IFC file) like this:
async function loadIfc(viewer: PkIfcViewer) {
viewer.updateLoadingProgress("viewer_loading");
const fragmentIfcLoader = viewer.components.get(OBC.IfcLoader);
await fragmentIfcLoader.setup();
fragmentIfcLoader.settings.webIfc.COORDINATE_TO_ORIGIN = true;
viewer.updateLoadingProgress("downloading");
const file = await fetch(viewer.url);
viewer.updateLoadingProgress("buffering");
const data = await file.arrayBuffer();
const buffer = new Uint8Array(data);
viewer.updateLoadingProgress("proccessing");
const model = await fragmentIfcLoader.load(buffer);
viewer.updateLoadingProgress("completed");
viewer.world.scene.three.add(model);
viewer.models.push(model);
}
The wall IFCWALLSTANDARDCASE element with global ID 1uwjPQk3DDwRinyWJDQS9r is missing.
Also 0ss0V06rz5vwTm8SnLzNeO at level -1 is not displayed at all, even though the door is.
System Info ๐ป
libs versions:
"@thatopen/components": "^2.0.21",
"@thatopen/components-front": "^2.0.20",
"@thatopen/fragments": "^2.0.5",
Used Package Manager ๐ฆ
npm
Error Trace/Logs ๐
No response
Validations โ
- Read the docs.
- Check that there isnโt already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a repository issue and not a framework-specific issue. For example, if itโs a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
- Check that this is a concrete bug. For Q&A join our Community.
- The provided reproduction is a minimal reproducible example of the bug.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 3
- Comments: 19 (4 by maintainers)
@agviegas ThatOpen/engine_components#514
@agviegas Unfortunately there are too many parties involved in these files to feasibly sign an NDA.
However it would be sufficient for us if you guys provided a tool where we could decimate and isolate these files to the problem area.
Can confirm that raw output in the link you sent doesnโt show the missing object in my example IFC either.
Probably related to https://github.com/ThatOpen/engine_web-ifc/issues/877. I also provided a minimal ifc that produces this error there