Load a local ifc file, but nothing shows on the website
yangjinning opened this issue · 1 comments
yangjinning commented
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 commented
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)