Hi! I'm new with opencascade. I want to get triangles and vertices from STEP and IGES files but I don't know what is the best way to get the triangulated surface from those types of files.
Thanks in advance!
Germán
Forum supervisor Thu, 09/15/2016 - 07:43
Hello Germán,
Reading STEP or IGES files can give you topological shapes that do not contain any triangulations. To create such, these shapes need to be meshed with help of a meshing algorithm, for example, the standard BRepMesh_IncrementalMesh or a more advanced Express Mesh. When a shape is meshed, you can explore triangluations (of type Poly_Triangulation) of its faces using some of the available exploration tools, like TopExp_Explorer.
Should you wish to learn deeper our SDK, or require our assistance in answering questions like this one, please, consider our training and support offer.
Best regards,
Forum supervisor
P.S.: We have sent some additional information to your email address.
Thu, 09/15/2016 - 07:43
Hello Germán,
Reading STEP or IGES files can give you topological shapes that do not contain any triangulations. To create such, these shapes need to be meshed with help of a meshing algorithm, for example, the standard BRepMesh_IncrementalMesh or a more advanced Express Mesh. When a shape is meshed, you can explore triangluations (of type Poly_Triangulation) of its faces using some of the available exploration tools, like TopExp_Explorer.
Should you wish to learn deeper our SDK, or require our assistance in answering questions like this one, please, consider our training and support offer.
Best regards,
Forum supervisor
P.S.: We have sent some additional information to your email address.
Tue, 09/20/2016 - 20:49
Thanks for the help! I worked for me.