Fri, 06/06/2014 - 17:57
Forums:
Hi,
I want to read a IGES file and convert it into mesh. I used IGESControl_Reader and got OCCT object using TopoDS_Shape sh = myIgesReader.OneShape();
How to convert it into mesh. I searched in forums an documentation but no success. Thanks in advance.
Fri, 06/06/2014 - 19:10
Hello! Are you need the triangulation of shape or the finite element mesh for simulations?
Thu, 06/12/2014 - 14:35
I need triangulation of shape. I was using a library which uses Mesh as input and output from Open cascade will be feed into that.
Fri, 06/13/2014 - 19:36
Hi saagn,
After use the BRepMesh::Mesh(aShape, theDeflection) you can get the triangulation of the shape by
Handle_Poly_Triangulation theTriangulation = BRep_Tool::Triangulation(aFace, theLocation);
for every face of the shape.
Sat, 06/07/2014 - 08:19
Hi saagn,
If you only use the mesh for visulization, you can use the function:
BRepMesh::Mesh(theShape, theDeflection);