Skip to content

Creating Files for Offline BIM

xeolabs edited this page Jan 21, 2019 · 31 revisions

Creating a glTF Model

1. Download an IFC file

We'll use IFC models from the Schependomlaan dataset, which is pretty much the BIM equivalent of the "Utah Teapot".

2. Install Pipeline Tools

We'll use these CLI tools to transform IFC into glTF:

We'll assume that these are installed relative to the current working directory.

3. Convert IFC to COLLADA:

./IfcConvert --use-element-guids schependomlaan.ifc  schependomlaan.dae

4. Convert COLLADA to glTF

./COLLADA2GLTF/build/COLLADA2GLTF-bin -i schependomlaan.dae -o schependomlaan.gltf

Creating JSON IFC Metadata

[Work in progress...]

Clone this wiki locally