Open freddida opened 2 years ago
Just curious, why not converting STEP document into glTF file using STEPCAFControl_Reader
and RWGltf_CafWriter
? It would try to keep assembly structure, and Three.js has glTF reader.
Hey,
Thank you! I was not aware of these functions! Would you be so kind to provide the code you used for this output?
Hello pythonocc-community,
Issue I want to export a step file as a json string to use it in threejs using the following code:
The json file is working fine but the file structure of the step is lost. File: turbine_stp.zip
Expected behavior The json string should contain the threejs structure (e.g. different parts, ect.)
Question Is there a possibility to achieve this?