DiscussionsIssue archiveOther usage issues

Archived discussion

reading stl

Other usage issuesThu, 10/09/2008 - 12:512 replies

Browse this forum
QuestionAuthor

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

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

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();

02Author

I use StlMesh_Mesh (RWStl::ReadFile) and MeshVS since I think its rendered faster that way or is it not?