Load Module

Loads the model file with information from the input CAD file.

Parameters

pcFileName: The system path to the input file. Must be a valid UTF-8 string.

pLoadParametersData: A set of options used to customize the behaviour of the loading.

ppModelFile: A pointer to the handle of the new model file, in case of success.

Returns

A3D_SUCCESS or an error code in case of failure.

Index

Variables

  • param

Structures

Enumerations

Functions

Variables

A3DStatus A3DGet3DPDFStreams param

Loads an A3DAsmModelFile from a physical file, returning a handle to the new model file.

Writes a model file to a physical file in GLTF/GLB format.

Writes a model file to a physical file in FBX format.

Writes a model file to a physical file in OBJ format (with MTL for the materials).

Writes a model file to a physical file in XML format.

Writes a model file to a physical file in 3MF format.

Writes a model file to a physical file in STL format.

Writes a model file to a physical file in IGES format.

Writes a model file to a physical file in VRML format.

Writes a model file to a physical file in JT format.

Writes a model file to a physical file in STEP format.

Writes a model file to a physical file in Universal 3D format.

Free PRC write helper.

Writes a model file to a physical file in a PRC format.

Function to retrieve all 3D streams embedded in a PDF document.

Loads an A3DAsmModelFile from a PRC physical file.

Free PRC read helper.

Loads an A3DAsmModelFile from a PRC Buffer.

Successfully calling this function will always create a new model file, even if the call is made several times with the same input path. Once loaded, a handle to the new model file is stored in ppModelFile and you can query its content with A3DAsmModelFileGet.

A3DRWParamsLoadDataparameters;
A3D_INITIALIZE_DATA(A3DRWParamsLoadData,parameters);
A3DAsmModelFile*model_file=0;

A3DStatusresult=A3DAsmModelFileLoadFromFile("/path/to/file.stl",&parameters,&model_file);

assert(result==A3D_SUCCESS);
assert(model_file!=0);

Parameters

pcFileName: The system path to the input file. Must be a valid UTF-8 string.

pLoadParametersData: A set of options used to customize the behaviour of the loading.

ppModelFile: A pointer to the handle of the new model file, in case of success.

Returns

A3D_SUCCESS or an error code in case of failure.