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

uploading ifc files is not supported #121

Open
kanbang opened this issue Dec 26, 2023 · 1 comment
Open

uploading ifc files is not supported #121

kanbang opened this issue Dec 26, 2023 · 1 comment

Comments

@kanbang
Copy link

kanbang commented Dec 26, 2023

uploading ifc files is not supported

url:
https://pattern-x.github.io/gemini-viewer-examples/#/Upload_your_local_model

console out:
[LoadingHelper] IFC is not supported directly since three.js r150!
(anonymous) @ gemini-viewer.esm.min.js:1
gemini-viewer.esm.min.js:1 Uncaught (in promise) Not supported!

Is it just me using it the wrong way?

@yanzexuan1
Copy link
Collaborator

You are right, ifc is not supported in this version. Three.JS removed IFCLoader from its internal package, so we need to handle ifc by ourselves.

To do this, we can write a plugin (based on both IFC.js and gemini-viewer) that loads ifc and add the loaded object to viewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants