kovacsv / occt-import-js

The emscripten interface for OpenCascade import functionalities.
GNU Lesser General Public License v2.1
141 stars 23 forks source link

load STEP : The model doesn't contain any meshes #37

Open FeiyuYan95 opened 3 months ago

FeiyuYan95 commented 3 months ago

HI I can open this relatively complex STEP model in CAD Assistant, but I get an error message when trying to open it in 3D Viewer. In my own web application, I can import it using occt-import-js, but all the positions in the geometry of the Mesh are 0. Is there any way to solve this problem? I will provide a link to the test model. Snipaste_2024-05-07_09-00-48 Snipaste_2024-05-07_09-08-32 微信截图_20240507102729

STEP model : https://oss-yanfeiyu.oss-cn-hangzhou.aliyuncs.com/test_model/STEP-TEST.zip

felix-albrecht commented 2 months ago

The .stl file is imported as a mesh, which you need to create an object from: https://forum.freecad.org/viewtopic.php?t=37107

kzhsw commented 3 weeks ago

Is this simply too large to import in web? See #30