IGES processing

I imported IGES entities successfully. Now I want to access and modify them. How do I get a Geom_BSplineSurface from a TopoDS_Shell for example? thanks for help florian

stephan hoefer's picture

Hi

for accessing the geometry object of an topology element you have to use the BRep_Tool::Surface-method (for surfaces). before you have to explore the shell with Topexp_Explorer to find all the faces of the shell. with TopoDS::Face you cast the shape object got from Topexp_Explorer to an TopoDS_Face.