You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing an opencacaed cad project now, and I want to import the model files it supports through assimp, what do I need to do. In the previous example, this function has been implemented. It parses the mMeshes of the t_scene node, traverses the mFaces in the mMeshes, and then obtains the points of each face, and forms a polygon of these points, and each face corresponds to a polygon. Finally, in Opencascaed uses BRepBuilderAPI_MakeFace to generate the face objects it needs, and then constructs a TopoDS_Shape through these faces, and finally renders it.
Referenced this github library: https://github.com/Jelatine/JellyCAD
I would like to add that this library has a performance problem. When the imported model faces and points are too many, it will be very slow. It takes more than ten minutes to load a model. I am a 3D novice, thank you for your help
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm developing an opencacaed cad project now, and I want to import the model files it supports through assimp, what do I need to do. In the previous example, this function has been implemented. It parses the mMeshes of the t_scene node, traverses the mFaces in the mMeshes, and then obtains the points of each face, and forms a polygon of these points, and each face corresponds to a polygon. Finally, in Opencascaed uses BRepBuilderAPI_MakeFace to generate the face objects it needs, and then constructs a TopoDS_Shape through these faces, and finally renders it.
Referenced this github library: https://github.com/Jelatine/JellyCAD
I would like to add that this library has a performance problem. When the imported model faces and points are too many, it will be very slow. It takes more than ten minutes to load a model. I am a 3D novice, thank you for your help
Beta Was this translation helpful? Give feedback.
All reactions