The image contains all tools needed for the conversion of IFC files
to the xkt
format for the xeokit viewer.
- IfcConvert (IfcOpenShell)
- COLLADA2GLTF
- xeokit-gltf-to-xkt
- xeokit-metadata
$ docker pull bimspot/xeokit-converter
See all available tags on docker hub.
Using bimspot/xeokit-converter
as a base image, all converter tools are
available in the PATH
.
echo "Converting IFC to DAE"
IfcConvert -v -y --use-element-guids scene.ifc scene.dae
echo "Converting DAE to glTF"
COLLADA2GLTF -v -i scene.dae -o scene.gltf
echo "Converting gltf to xkt"
gltf2xkt -s scene.gltf -o scene.xkt
echo "Creating metadata json"
xeokit-metadata scene.ifc scene.json
The IfcConvert
library is available through bimspot/ifcopenshell
.
The xeokit-converter image is based on the bionic dotnet runtime.
The image is build locally and pushed to Docker hub with your own credentials. Semver applies.
~ docker build -t bimspot/xeokit-converter:1.3.x .
~ docker push bimspot/xeokit-converter:1.3.x