Hi,
I'm not sure what you mean since STL files consists of triangles?
Do you have an import problem or how to convert STL to "Poly_Triangulation"?
Best regards,
Commenter-1 Müller
Archived discussion
I want to have my Triangle mesh class,
the first problem is how to construst Poly_Triangulation object from STL file?
Thanks for your response.
Discussion
Posts are displayed in their archived order.
Hi,
I'm not sure what you mean since STL files consists of triangles?
Do you have an import problem or how to convert STL to "Poly_Triangulation"?
Best regards,
Commenter-1 Müller
How to convert STL to "Poly_Triangulation"?
thanks.
Hi,
I haven't work with Poly_Triangulation - but in the CDL are the definitions.
One is:
Create(Nodes: Array1OfPnt from TColgp;
Triangles: Array1OfTriangle from Poly)
So read the STL file - build the two arrays and create the Triangulation.
Patirk Müller