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

Load a local ifc file, but nothing shows on the website #178

Open
yangjinning opened this issue Aug 1, 2023 · 1 comment
Open

Load a local ifc file, but nothing shows on the website #178

yangjinning opened this issue Aug 1, 2023 · 1 comment

Comments

@yangjinning
Copy link

The website can show the gird lines. I click the input file button and choose my ifc file. But no model shows on the website. It is still the grid lines. The program doesn't show any error. So, what's the wrong?

Code:
import { IFCLoader } from "web-ifc-three/IFCLoader";
//wasm file is placed correctly
ifcLoader.load("models/Example_model.ifc", (ifcModel) => scene.add(ifcModel));

@Curiosit
Copy link

I would try to console.log everything that is possible first to make sure if fx. ifcModel is actually loaded, so maybe try
console.log(ifcModel)

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