Reads an external CAD file and translates its contents into a 3D model in memory.
The Import Example shows how to import models from files of different formats and manipulate its data using the ModelData_Model class.
In this example we create a Reader which allows us to read specific file format. Next, we use the Reader to transfer model data to a ModelData_Model object.
At the moment CAD Exchanger SDK supports a big variety of model types. Here we will import a model from a STEP file as one of the most popular format. Our main function will have the following structure:
CAD Exchanger SDK provides a lot of packages for model data conversion. It's possible to read, write and transfer almost every existing model data format simply using algorithm described above.
To learn more about conversion possibilities please visit the Converters section.