I create a TopoDS_Shape through reading a stl file, then I want to use BRepMesh_IncrementalMesh to this TopoDS_Shape , I set different linear deflection and angular deflection , but It do not work. What should I do?
Thanks!
Discussion
2 archived replies
Posts are displayed in their archived order.
01Commenter-1
Your code creates a TopoDS_Face for each triangle in STL file.
Such geometry cannot be re-triangulated as you can triangulate each triangle only in one way.
To move ahead, a geometry from STL file should be approximated via B-Spline surface(s), which is feasible, but rather non-trivial surface reconstruction process.