IFC @giro3d/piero
Add support for IFC (Industry Foundation Classes) files.
Usage with createPieroApp
js
import { loaders } from '@giro3d/piero/modules';
createPieroApp({
...
modules: [
loaders.IFC
...
]
})Usage
This module provides the ifc dataset type for loading Building Information Modeling (BIM) data, configured as such:
json
{
"type": "ifc",
"url": "https://example.com/model.ifc",
"name": "My IFC Model",
"position": [0, 0, 0]
}NOTE
This module requires the web-ifc.wasm file to be available.