Skip to content

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

License

Notifications You must be signed in to change notification settings

xeokit/xeokit-converter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%