j-lin Fri, 06/07/2002 - 07:34 Forums: Other usage issuesI want to have my Triangle mesh class, the first problem is how to construst Poly_Triangulation object from STL file? Thanks for your response. Patrik Mueller Fri, 06/07/2002 - 09:15 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, Patrik Müller Log in to post comments j-lin Fri, 06/07/2002 - 09:28 How to convert STL to "Poly_Triangulation"? thanks. Log in to post comments Patrik Mueller Fri, 06/07/2002 - 10:53 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 Log in to post comments
Fri, 06/07/2002 - 09:15
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,
Patrik Müller
Fri, 06/07/2002 - 09:28
How to convert STL to "Poly_Triangulation"?
thanks.
Fri, 06/07/2002 - 10:53
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