STEP......

Can anyone just put a simple source code to read STEP file, cause I red XDEDRAW.cxx and else still don\'t understand....

Rob Bachrach's picture

You are either going to use STEPCAFControl_Reader (if you are using XCAF documents) or its base class STEPControl_Reader (if you are just trying to read a STEP file into one or more TopoDS_Shapes. The exact steps required, in order, are on the help page for STEPControl_Reader.

Valery Ovchinnikov's picture

You can see ImportExport example. Or Common library in samples: ImportExport.cxx (hxx).

PLN's picture

Thank you both.
Sad that there's no real documentation for OCC.
HEY OCC GUYS !!!! MORE REAL DOC PLEASE !

Roman Lygin's picture

Hi,

Did you read Data Exchange & XDE User's Guides, Reference Manuals and others ?
They should already contain what you have been asking.
Search your OCC installation - on Windows, it can be found in Technical Documentation.

Roman