DiscussionsIssue archiveOther usage issues

Archived discussion

Poly_Triangulation

Other usage issuesFri, 06/07/2002 - 07:343 replies

Browse this forum
QuestionAuthor

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

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

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

02Author

How to convert STL to "Poly_Triangulation"?
thanks.

03Commenter-1

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