Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing elements Visualizing IFC #551

Open
5 tasks done
MiquelRecloud opened this issue Jan 2, 2025 · 0 comments
Open
5 tasks done

Missing elements Visualizing IFC #551

MiquelRecloud opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@MiquelRecloud
Copy link

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:

Captura1
Captura12

Captura2
Captura22

Captura3
Captura32

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 🔢

  1. Run npm start
  2. 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

System Info 💻

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
    Memory: 4.41 GB / 15.35 GB
  Binaries:
    Node: 20.17.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (128.0.2739.42)
    Internet Explorer: 11.0.19041.4355

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.
@MiquelRecloud MiquelRecloud added the bug Something isn't working label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant