web-ifc-three icon indicating copy to clipboard operation
web-ifc-three copied to clipboard

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

Open yangjinning opened this issue 2 years ago • 1 comments

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));

yangjinning avatar Aug 01 '23 08:08 yangjinning

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)

Curiosit avatar Aug 24 '23 20:08 Curiosit