Sign inSign up

bimspot/xeokit-converter

By bimspot

•Updated about 4 years ago

A Docker image for converting IFC files to be displayed in the xeokit viewer.

Image
1

3.8K

bimspot/xeokit-converter repository overview

⁠xeokit-converter

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

⁠Usage

$ 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

⁠Environment

The IfcConvert library is available through bimspot/ifcopenshell⁠. The xeokit-converter image is based on the bionic dotnet runtime⁠.

Tag summary

Content type

Image

Digest

Size

232.3 MB

Last updated

about 4 years ago

docker pull bimspot/xeokit-converter