import .step file with three.js

2019-04-28 05:58发布

问题:

I would like to import a file ".step" to use it with Three.js but I don't know how to do it

I didn't found any topic, only "first step, second step "

Any one could help me please ?

回答1:

Take a look at the example at http://www.pythonocc.org/news/experimental-webgl-renderer-towards-cad-in-a-browser/ to go from step file to viewing using three.js.



回答2:

node-occ is not a viable option as it is missing OCE-0.13. You have to download OCE-0.14 and build it really not a good option. OpenCascade is good but requires you build an .NET Library in C++ this is not well documented as they want to try and sell you theirs. I have not tried PythonOCC as it is python and can be a bit hard to set up using .NET I am looking for more resources but have not found any your best bet is to build your own using the STEP reading technology.



标签: three.js step