Skip to content

vxmdesign/stp2gltf

Repository files navigation

This is a program to convert step files to gltf files.

This program is a quick and dirty tool I wrote to convert step to gltf. I created it for my own needs and I will update it as the need for new features crop up. I do not pretend that it captures every stp file correctly. I'm not sure it uses the opencascade libraries correctly. Their documentation is...challenging. I will not add a feature for you, but if you would like to contribute I'm down.

This requires the liboce dev libraries for opencascade. This also requires microjson which requires flex and bison. Microjson is automatically cloned and built as part of the build process

Outside of that it should have basically no other library requires and compiles under c++98 ( sudo apt-get install liboce-ocaf-dev flex bison I think will do it)

To build: make

To run stp2gltf stpfile gltffile binfile

stpfile is the step file input gltffile is the gltf json file output binfile is the binary file output

About

Tool for converting step files to gltf files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published