You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve created a simple React app to visualize IFC files using the Open BIM Components (OBC) library. However, I’m experiencing issues where some IFC elements are not being displayed correctly.
To help illustrate, I’ve included some comparison screenshots below, showing the actual and the expected output:
I reached out to the engine_web-ifc directly through this issue: ThatOpen/engine_web-ifc#1092 . Based on their demo viewer, the models appear correctly, suggesting the problem may be specific to my React implementation or OBC configuration.
I’m unsure if the issue stems from a misconfiguration on my part or a bug in the OBC library. Any guidance or suggestions would be greatly appreciated!
To see the other IFCs:
2.1. Go to src/App.js
2.2. Change the 30th line: const file = await fetch(${process.env.PUBLIC_URL}/ifc1.ifc) chaning the url to if2.ifc and ifc3.ifc
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.
Describe the bug 📝
I’ve created a simple React app to visualize IFC files using the Open BIM Components (OBC) library. However, I’m experiencing issues where some IFC elements are not being displayed correctly.
To help illustrate, I’ve included some comparison screenshots below, showing the actual and the expected output:
I reached out to the engine_web-ifc directly through this issue: ThatOpen/engine_web-ifc#1092 . Based on their demo viewer, the models appear correctly, suggesting the problem may be specific to my React implementation or OBC configuration.
I’m unsure if the issue stems from a misconfiguration on my part or a bug in the OBC library. Any guidance or suggestions would be greatly appreciated!
Thank you for your help!
Reproduction▶️
https://github.com/mikisf/ifc-viewer
Steps to reproduce 🔢
npm start
2.1. Go to src/App.js
2.2. Change the 30th line:
const file = await fetch(
${process.env.PUBLIC_URL}/ifc1.ifc)
chaning the url to if2.ifc and ifc3.ifcSystem Info 💻
Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅
The text was updated successfully, but these errors were encountered: