Hi!
How do you read STL files? Do you use MeshVS?
When you have a TopoDS_Shape you can use this code for sewing:
BRepBuilderAPI_Sewing sew;
sew.Add(shape);
sew.Perform();
shape = sew.SewedShape();
Archived discussion
hi, when I read stl, I get multiple same point (not unique). Is there a way to make the mesh unique (like sewing etc.) or should I write it myself?
Discussion
Posts are displayed in their archived order.
Hi!
How do you read STL files? Do you use MeshVS?
When you have a TopoDS_Shape you can use this code for sewing:
BRepBuilderAPI_Sewing sew;
sew.Add(shape);
sew.Perform();
shape = sew.SewedShape();
I use StlMesh_Mesh (RWStl::ReadFile) and MeshVS since I think its rendered faster that way or is it not?