how to extract geomatrical data?


as the titel of this thread implies I want to extract as much data (especially geomatrical data but if possible other specifications and documentations as included in some STEP models too) from an OCC model as possible. Is there any way to do this? I'm becoming desperate reading through the OCC documentation for so long now searching for a hint...

Thanks for your help!


waitinginwind's picture

If you mean you want to extract the curve or surface data which attached to the topological data, you can try this: BRep_Tool::Curve(const TopoDS_Edge &E) and BRep_Tool::Surface(const TopoDS_Face &F)