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 Wed, 06/22/2005 - 13:49
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.
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.
Wed, 06/22/2005 - 13:49
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.
Wed, 06/22/2005 - 15:12
You can see ImportExport example. Or Common library in samples: ImportExport.cxx (hxx).
Wed, 06/22/2005 - 16:18
Thank you both.
Sad that there's no real documentation for OCC.
HEY OCC GUYS !!!! MORE REAL DOC PLEASE !
Wed, 06/22/2005 - 16:29
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