Reads STEP and native format.
More...
#include <cadex/ModelData/ModelReader.hxx>
|
| ModelReader () |
| Constructor.
|
|
const ModelReaderParameters & | Parameters () |
| Returns reader parameters.
|
|
void | SetParameters (const ModelReaderParameters &theParameters) |
| Sets reader parameters.
|
|
bool | Read (const UTF16String &theFilePath, ModelData::Model &theModel) |
| Reads the file at the specified path into the specified model.
|
|
void | SetProgressStatus (ProgressStatus &theStatus) |
|
const cadex::ProgressStatus & | ProgressStatus () |
|
size_t | Id () const |
| Return unique identifier of public object.
|
|
internal::BaseObjectImpl * | Impl () const |
|
bool | IsNull () const |
|
| operator bool () const |
|
template<typename T > |
bool | IsOfType () const |
|
template<typename T > |
T * | Impl () const |
| Reserved for internal use.
|
|
|
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
|
| BaseObject (const ImplType &theImpl) |
|
Reads STEP and native format.
- Examples
- MTKConverter/Program.cs, MTKConverter/main.cxx, exploring/bom/Program.cs, exploring/bom/main.cxx, exploring/brep_geometry/Program.cs, exploring/brep_geometry/main.cxx, exploring/brep_topology/Program.cs, exploring/brep_topology/main.cxx, exploring/pmi/Program.cs, exploring/pmi/main.cxx, machining/dfm_analyzer/Program.cs, machining/dfm_analyzer/main.cxx, machining/feature_recognizer/Program.cs, machining/feature_recognizer/main.cxx, meshing/mesh_generation/Program.cs, meshing/mesh_generation/main.cxx, molding/dfm_analyzer/Program.cs, molding/dfm_analyzer/main.cxx, molding/feature_recognizer/Program.cs, molding/feature_recognizer/main.cxx, projector/poly_projector/Program.cs, projector/poly_projector/main.cxx, sheet_metal/dfm_analyzer/Program.cs, sheet_metal/dfm_analyzer/main.cxx, sheet_metal/feature_recognizer/Program.cs, sheet_metal/feature_recognizer/main.cxx, sheet_metal/unfolder/Program.cs, sheet_metal/unfolder/main.cxx, utilities/progress_bar/main.cxx, utilities/thumbnail_generation/Program.cs, utilities/thumbnail_generation/main.cxx, wall_thickness/analyzer/Program.cs, and wall_thickness/analyzer/main.cxx.
◆ Read()
Reads the file at the specified path into the specified model.
Returns true if the reading process succeeded, false otherwise.
- Note
- Aside from the exceptions listed below, this function call may be interrupted by exceptions.
- Exceptions
-
BaseError_MissingFile | if the file can't be found at the specified path. |
BaseError_MissingModule | if no reader for the specified file could be found (either because the format is not supported by Manufacturing Toolkit, or because a related module couldn't be loaded). |
LicenseManager_LicenseError | if the corresponding reader was found but there was no active license for it. |
- Examples
- MTKConverter/Program.cs, MTKConverter/main.cxx, exploring/bom/main.cxx, exploring/pmi/main.cxx, machining/dfm_analyzer/main.cxx, machining/feature_recognizer/main.cxx, meshing/mesh_generation/Program.cs, meshing/mesh_generation/main.cxx, molding/dfm_analyzer/main.cxx, molding/feature_recognizer/main.cxx, projector/poly_projector/main.cxx, sheet_metal/dfm_analyzer/main.cxx, sheet_metal/feature_recognizer/main.cxx, sheet_metal/unfolder/main.cxx, utilities/progress_bar/main.cxx, and wall_thickness/analyzer/main.cxx.