How to load .STEP / .STP file in web application for visualization purpose?

不想你离开。 提交于 2020-01-25 07:50:07

问题


I am trying 3D visualization in web application,currently using three.js. I am able to load .stl file for next phase i want to load .STEP / .STP file but unable to load it, is there is any way ? i have done some research and found that it can be done using pythonOCC but i have no idea about it so please suggest. Thank you in advance


回答1:


This cannot be done on the front end easily. You probably need a library as big as three.js to process the step files and turn them into a mesh. OCC probably stands for Open Cascade. Which probably does orders of magnitude more than three.js which is a rendering library.

This seems to have some information on the topic, looks like there might be something javascript related if you decide to pursue this.

https://github.com/mrdoob/three.js/issues/7125



来源:https://stackoverflow.com/questions/49993597/how-to-load-step-stp-file-in-web-application-for-visualization-purpose

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!