Writing modelfiles defined through this API. More...
Data Structures | |
struct | A3DRWParamsExportPrcData |
A structure that specifies parameters used to write the model file to PRC format. More... | |
struct | A3DRWParamsExportStepData |
A structure that specifies parameters used to write the model file to a STEP format. More... | |
struct | A3DRWParamsExportIgesData |
A structure that specifies parameters used to write the model file to IGES format. More... | |
struct | A3DRWParamsExportParasolidData |
A structure that specifies parameters used to write the model file to Parasolid format. More... | |
struct | A3DChainedBuffer |
A structure that contains chained buffers. It is used to by: A3DAsmModelFileExportToParasolidBuffer A3DRepresentationItemExportToParasolidBuffer A3DAsmModelFileExportToAcisBuffer A3DRepresentationItemExportToAcisBuffer A3DChainedBufferFree This structure can be used directly when loading a file from a buffer in Parasolid. More... | |
struct | A3DRWParamsTranslateToPkPartsData |
A structure that specifies parameters used to translate the model file or a representation item into an open Parasolid session. More... | |
struct | A3DRWParamsExportStlData |
A structure that specifies parameters used to write the model file to STL format. More... | |
struct | A3DRWParamsExportU3DData |
A structure that specifies parameters used to write the model file to U3D format. More... | |
struct | A3DRWParamsExportJTData |
A structure that specifies parameters used to write the model file to JT format. More... | |
struct | A3DRWParamsExportAcisData |
A structure that specifies parameters used to write the model file to ACIS format. More... | |
struct | A3DRWParamsExportXMLData |
A structure that specifies parameters used to write the model file to XML format. More... | |
Typedefs | |
typedef struct A3DChainedBuffer | A3DChainedBuffer |
A structure that contains chained buffers. It is used to by: A3DAsmModelFileExportToParasolidBuffer A3DRepresentationItemExportToParasolidBuffer A3DAsmModelFileExportToAcisBuffer A3DRepresentationItemExportToAcisBuffer A3DChainedBufferFree This structure can be used directly when loading a file from a buffer in Parasolid. More... | |
Functions | |
A3DStatus | A3DAsmModelFileExportToPrcFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportPrcData *pParamsExportData, const A3DUTF8Char *pcCADFileName, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper) |
Writes a model file to a physical file in a PRC format. More... | |
A3DStatus | A3DAsmGetFilesPathFromModelFile (const A3DAsmModelFile *pA3DAsmModelFile, A3DUns32 *uNbPartFiles, A3DUTF8Char ***ppPartFilesPaths, A3DUns32 *uNbAssemblyFiles, A3DUTF8Char ***ppAssemblyFilesPaths, A3DUns32 *uNbMissingFiles, A3DUTF8Char ***ppMissingFilesPaths) |
Extract file paths from a model file. More... | |
A3DStatus | A3DAsmGetFilesContextsFromModelFile (const A3DAsmModelFile *pA3DAsmModelFile, A3DUns32 *uNbFilesContexts, A3DFileContextData ***ppFilesContexts) |
Extract all the files contexts (RefSet, Configs...) from a model file. More... | |
A3DStatus | A3DAsmModelFileLoadFromPRCFiles (const A3DUTF8Char *pcRootPrcFilePath, const A3DUns32 uNbFile, const A3DUTF8Char **ppPRCFilePath, const A3DUTF8Char **ppCADFilePath, const A3DRWParamsLoadData *pParamsLoadData, A3DAsmModelFile **pA3DAsmModelFile) |
Creates a model file from multiple PRC files + an PRC assembly file + a map for file names. This function replugs all the parts And Product from a list from a PRC file loaded with an "assembly NO Dependency" mode. More... | |
A3DStatus | A3DAsmModelFileLoadFromMultiplePrcFile (const A3DUTF8Char *pcFileName, const A3DUns32 uNbPart, const A3DUTF8Char **ppCADFilePath, const A3DUTF8Char **ppPRCFilePath, const A3DRWParamsLoadData *pParamsLoadData, A3DAsmModelFile **pA3DAsmModelFile) |
Creates a model file from multiple PRC files + an PRC assembly file + a map for file names. More... | |
A3DStatus | A3DAsmModelFileExportToPrcStream (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportPrcData *pParamsExportData, A3DUTF8Char *&pcStream, unsigned int &uLength, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper) |
Writes a model file to a physical file in a PRC format. More... | |
A3DVoid | A3DRWParamsPrcWriteHelperFree (A3DRWParamsPrcWriteHelper *pA3DRWParamsPrcWriteHelper) |
Free PRC write helper. More... | |
A3DStatus | A3DAsmModelFileExportToStepFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportStepData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in STEP format. More... | |
A3DStatus | A3DAsmModelFileExportToIgesFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportIgesData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in IGES format. More... | |
A3DStatus | A3DAsmModelFileExportToParasolidFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportParasolidData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in Parasolid format. More... | |
A3DStatus | A3DChainedBufferFree (A3DChainedBuffer *pBuffer) |
This function is used to free memory allocated by following functions: A3DAsmModelFileExportToParasolidBuffer A3DRepresentationItemExportToParasolidBuffer A3DAsmModelFileExportToAcisBuffer A3DRepresentationItemExportToAcisBuffer A3DChainedBufferFree . More... | |
A3DStatus | A3DAsmModelFileExportToParasolidBuffer (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportParasolidData *pParamsExportData, A3DChainedBuffer **pBuffer) |
Writes a model file to a buffer in Parasolid format. More... | |
A3DStatus | A3DRepresentationItemExportToParasolidFile (const A3DRiRepresentationItem *pRepItem, const A3DUTF8Char *pcTempFileName, A3DDouble dUnit) |
Writes a representation item to a file in Parasolid format. More... | |
A3DStatus | A3DRepresentationItemExportToParasolidBuffer (const A3DRiRepresentationItem *pRepItem, A3DChainedBuffer **pBuffer, double dUnit) |
Writes a representation item to a buffer in Parasolid format. More... | |
A3DStatus | A3DAsmModelFileTranslateToPkParts (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportParasolidData *pParamsExportData, const A3DRWParamsTranslateToPkPartsData *pParamsTranslateToPkPartsData, int *pNbPkParts, int **pPkParts) |
Writes a model file to parts in the current parasolid session. More... | |
A3DStatus | A3DRepresentationItemTranslateToPkParts (const A3DRiRepresentationItem *pRepItem, const A3DRWParamsTranslateToPkPartsData *pParamsTranslateToPkPartsData, double dUnit, int *pNbPkParts, int **pPkParts) |
Writes a representation item to parts in the current parasolid session. More... | |
A3DStatus | A3DMiscPKMapperGetPKEntitiesFromA3DEntity (const A3DMiscPKMapper *pMapper, const A3DEntity *pA3DEntity, int *piNbPKEntities, int **ppPKEntities) |
Get Parasolid entities from HOOPS Exchange entity. More... | |
A3DStatus | A3DMiscPKMapperGetA3DEntitiesFromPKEntity (const A3DMiscPKMapper *pMapper, int pPKEntity, int *piNbA3DEntities, A3DEntity **ppA3DEntities) |
Get HOOPS Exchange entities from Parasolid entity. More... | |
A3DStatus | A3DAsmModelFileExportToStlFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportStlData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in STL format. More... | |
A3DStatus | A3DAsmModelFileExportToU3DFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportU3DData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in Universal 3D format. More... | |
A3DStatus | A3DAsmModelFileExportToJTFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportJTData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in JT format. More... | |
A3DStatus | A3DAsmModelFileExportToAcisFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportAcisData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in ACIS format. More... | |
A3DStatus | A3DAsmModelFileExportToAcisBuffer (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportAcisData *pParamsExportData, A3DChainedBuffer **pBuffer) |
Writes a model file to a buffer in binary ACIS format. More... | |
A3DStatus | A3DRepresentationItemExportToAcisBuffer (const A3DRiRepresentationItem *pRepItem, A3DChainedBuffer **pBuffer, double dScale) |
Writes a representation item to a buffer in binary ACIS format. More... | |
A3DStatus | A3DAsmModelFileExportToVrmlFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in VRML format. More... | |
A3DStatus | A3DAsmModelFileExportToXMLFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportXMLData *pParamsExportData, const A3DUTF8Char *pcXMLFileName, unsigned int *uMapSize, unsigned int **puMapXmlIds, A3DEntity ***ppMapProductOccurrences) |
Writes a model file to a physical file in XML format. More... | |
Writing modelfiles defined through this API.
Available formats are: PRC, ACIS, IGES, JT, STEP, Parasolid, STL and VRML.
typedef struct A3DChainedBuffer A3DChainedBuffer |
A structure that contains chained buffers. It is used to by: A3DAsmModelFileExportToParasolidBuffer
A3DRepresentationItemExportToParasolidBuffer
A3DAsmModelFileExportToAcisBuffer
A3DRepresentationItemExportToAcisBuffer
A3DChainedBufferFree
This structure can be used directly when loading a file from a buffer in Parasolid.
enum A3DECompressBrepType |
Level of compression used to write the model file to PRC format.
This sets the amount, in millimeters, of lossy compression that is applied to geometry. For best results when exporting geometry, use kA3DCompressionLow.
enum A3DEStepFormat |
Control mode of the healing in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData.
Enumerator | |
---|---|
kA3DE_HEALING_NO |
Disable healing. |
kA3DE_HEALING_YES |
Enable healing. |
kA3DE_HEALING_ONLY_IF_NOT_PARASOLID |
Enable healing only for data coming from neither Parasolid nor from any format that embeds Parasolid data (NX, SolidWorks, Solid Edge and JT) but only if the A3DRWParamsParasolidData::m_bKeepParsedEntities reading option is enabled. |
Control mode of the accurate edge computation in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData.
Enumerator | |
---|---|
kA3DE_ACCURATE_NO |
Disable accurate edge computation. |
kA3DE_ACCURATE_YES |
Enable accurate edge computation. |
kA3DE_ACCURATE_ONLY_IF_NOT_PARASOLID |
Enable accurate edge computation only for data coming from neither Parasolid nor from any format that embeds Parasolid data (NX, SolidWorks, Solid Edge and JT) but only if the A3DRWParamsParasolidData::m_bKeepParsedEntities reading option is enabled. |
kA3DE_ACCURATE_SLOW_YES |
Enable slow accurate edge computation. |
kA3DE_ACCURATE_SLOW_ONLY_IF_NOT_PARASOLID |
Enable slow accurate edge computation only for data coming from neither Parasolid nor from any format that embeds Parasolid data (NX, SolidWorks, Solid Edge and JT) but only if the A3DRWParamsParasolidData::m_bKeepParsedEntities reading option is enabled. |
Control mode of the healing in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData.
Enumerator | |
---|---|
kA3DE_SIMPLIFY_NO |
Disable healing. |
kA3DE_SIMPLIFY_YES |
Enable healing. |
kA3DE_SIMPLIFY_ONLY_IF_NOT_PARASOLID |
Enable healing only for data coming from neither Parasolid nor from any format that embeds Parasolid data (NX, SolidWorks, Solid Edge and JT) but only if the A3DRWParamsParasolidData::m_bKeepParsedEntities reading option is enabled. |
Control mode of the accurate edge computation in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData.
Enumerator | |
---|---|
kA3DE_MERGE_NO |
Disable accurate edge computation. |
kA3DE_MERGE_YES |
Enable accurate edge computation. |
kA3DE_MERGE_ONLY_IF_NOT_PARASOLID |
Enable accurate edge computation only for data coming from neither Parasolid nor from any format that embeds Parasolid data (NX, SolidWorks, Solid Edge and JT) but only if the A3DRWParamsParasolidData::m_bKeepParsedEntities reading option is enabled. |
enum A3DEU3DVersion |
A3DStatus A3DAsmModelFileExportToPrcFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportPrcData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName, | ||
A3DRWParamsPrcWriteHelper ** | ppPrcWriteHelper | ||
) |
Writes a model file to a physical file in a PRC format.
This function writes the A3DAsmModelFile entity to a physical file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pcCADFileName | References the path of the file into which the function stores the model file. |
[in,out] | ppPrcWriteHelper | Reserved for future use; must be set to NULL. |
A3DStatus A3DAsmGetFilesPathFromModelFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
A3DUns32 * | uNbPartFiles, | ||
A3DUTF8Char *** | ppPartFilesPaths, | ||
A3DUns32 * | uNbAssemblyFiles, | ||
A3DUTF8Char *** | ppAssemblyFilesPaths, | ||
A3DUns32 * | uNbMissingFiles, | ||
A3DUTF8Char *** | ppMissingFilesPaths | ||
) |
Extract file paths from a model file.
This function reads the A3DAsmModelFile extracts the file path of all the sub-assemblies, part and missing files of the A3DAsmModelFile.
Sub-assemblies are files referencing other files (part files or other sub-assemblies files).
Part files are final files with no reference to an other depending file.
If a file has reference on both types of file, the file will be considered as a sub-assembly file and will not be referenced in the part file path array.
Missing files path are sub-files that cannot be loaded for some reasons: bad paths, file not found...
If pA3DAsmModelFile is NULL, the two A3DUTF8Char arrays will be freed if the corresponding unsigned int parameters are non-null: A3DAsmGetFilesPathFromModelFile(NULL, [...]) to delete the two arrays.
[in] | pA3DAsmModelFile | The input model file. Can be "tree only" A3DAsmModelFile. |
[out] | uNbPartFiles | The number of parts detected. (must not be NULL) |
[out] | ppPartFilesPaths | The file names of detected parts. (must not be NULL) |
[out] | uNbAssemblyFiles | The number of sub-assemblies detected. (can be NULL) |
[out] | ppAssemblyFilesPaths | The file names of detected sub-assemblies. (can be NULL) |
[out] | uNbMissingFiles | The number of missing files. (can be NULL) |
[out] | ppMissingFilesPaths | The file names of detected missing files. (can be NULL) |
A3DStatus A3DAsmGetFilesContextsFromModelFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
A3DUns32 * | uNbFilesContexts, | ||
A3DFileContextData *** | ppFilesContexts | ||
) |
Extract all the files contexts (RefSet, Configs...) from a model file.
[in] | pA3DAsmModelFile | The input model file. Can be "tree only" A3DAsmModelFile. |
[out] | uNbFilesContexts | The number of files contexts detected. (must not be NULL) |
[out] | ppFilesContexts | The file contexts. (must not be NULL) |
A3DStatus A3DAsmModelFileLoadFromPRCFiles | ( | const A3DUTF8Char * | pcRootPrcFilePath, |
const A3DUns32 | uNbFile, | ||
const A3DUTF8Char ** | ppPRCFilePath, | ||
const A3DUTF8Char ** | ppCADFilePath, | ||
const A3DRWParamsLoadData * | pParamsLoadData, | ||
A3DAsmModelFile ** | pA3DAsmModelFile | ||
) |
Creates a model file from multiple PRC files + an PRC assembly file + a map for file names. This function replugs all the parts And Product from a list from a PRC file loaded with an "assembly NO Dependency" mode.
[in] | pcRootPrcFilePath | The file name of the top assembly file. Conceived for model file loaded as assembly tree only and saved as a PRC file. |
[in] | uNbFile | The number of file names to plug. |
[in] | ppPRCFilePath | The native part file paths. Length must equal uNbPart. |
[in] | ppCADFilePath | The equivalent PRC file paths for parts. Length must equal uNbPart. |
[in] | pParamsLoadData | The read parameters use the model file. Configurations must be set (default or numEntries = 1). |
[out] | pA3DAsmModelFile | The final reassembled model file. |
A3DStatus A3DAsmModelFileLoadFromMultiplePrcFile | ( | const A3DUTF8Char * | pcFileName, |
const A3DUns32 | uNbPart, | ||
const A3DUTF8Char ** | ppCADFilePath, | ||
const A3DUTF8Char ** | ppPRCFilePath, | ||
const A3DRWParamsLoadData * | pParamsLoadData, | ||
A3DAsmModelFile ** | pA3DAsmModelFile | ||
) |
Creates a model file from multiple PRC files + an PRC assembly file + a map for file names.
This function replugs all the parts from a list from a PRC file loaded with an "assembly tree only" mode.
[in] | pcFileName | The file name of the top assembly file. Conceived for model file loaded as assembly tree only and saved as a PRC file. |
[in] | uNbPart | The number of file names to plug. |
[in] | ppCADFilePath | The native part file paths. Length must equal uNbPart. |
[in] | ppPRCFilePath | The equivalent PRC file paths for parts. Length must equal uNbPart. |
[in] | pParamsLoadData | The read/write parameters use the model file. Configurations must be set (default or numEntries = 1). |
[out] | pA3DAsmModelFile | The final reassembled model file. |
A3DStatus A3DAsmModelFileExportToPrcStream | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportPrcData * | pParamsExportData, | ||
A3DUTF8Char *& | pcStream, | ||
unsigned int & | uLength, | ||
A3DRWParamsPrcWriteHelper ** | ppPrcWriteHelper | ||
) |
Writes a model file to a physical file in a PRC format.
This function writes the A3DAsmModelFile entity to a physical file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[out] | pcStream | Buffer containing the PRC content. |
[out] | uLength | Length of the pcStreambuffer. |
[in,out] | ppPrcWriteHelper | Reserved for future use; must be set to NULL. |
A3DVoid A3DRWParamsPrcWriteHelperFree | ( | A3DRWParamsPrcWriteHelper * | pA3DRWParamsPrcWriteHelper | ) |
Free PRC write helper.
[in,out] | pA3DRWParamsPrcWriteHelper | The helper to free. |
A3DStatus A3DAsmModelFileExportToStepFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportStepData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in STEP format.
This function writes the A3DAsmModelFile entity to a physical file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pcCADFileName | References the path of the file into which the function stores the model file. |
A3DStatus A3DAsmModelFileExportToIgesFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportIgesData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in IGES format.
This function writes the A3DAsmModelFile entity to a physical file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pcCADFileName | References the path of the file into which the function stores the model file. |
A3DStatus A3DAsmModelFileExportToParasolidFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportParasolidData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in Parasolid format.
This function writes the A3DAsmModelFile entity to a physical file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pcCADFileName | References the path of the file into which the function stores the model file. |
A3DStatus A3DChainedBufferFree | ( | A3DChainedBuffer * | pBuffer | ) |
This function is used to free memory allocated by following functions: A3DAsmModelFileExportToParasolidBuffer
A3DRepresentationItemExportToParasolidBuffer
A3DAsmModelFileExportToAcisBuffer
A3DRepresentationItemExportToAcisBuffer
A3DChainedBufferFree
.
A3DStatus A3DAsmModelFileExportToParasolidBuffer | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportParasolidData * | pParamsExportData, | ||
A3DChainedBuffer ** | pBuffer | ||
) |
Writes a model file to a buffer in Parasolid format.
This function writes the A3DAsmModelFile entity to a buffer.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[out] | pBuffer | References the chained buffer to be filled. |
A3DStatus A3DRepresentationItemExportToParasolidFile | ( | const A3DRiRepresentationItem * | pRepItem, |
const A3DUTF8Char * | pcTempFileName, | ||
A3DDouble | dUnit | ||
) |
Writes a representation item to a file in Parasolid format.
This function writes the A3DAsmModelFile entity to a file.
[in] | pRepItem | References the A3DRiRepresentationItem to be written out. |
[in,out] | pcTempFileName | References the output file to be written. |
[in] | dUnit | References the wanted unit for the RI. |
A3DStatus A3DRepresentationItemExportToParasolidBuffer | ( | const A3DRiRepresentationItem * | pRepItem, |
A3DChainedBuffer ** | pBuffer, | ||
double | dUnit | ||
) |
Writes a representation item to a buffer in Parasolid format.
This function writes the A3DRiRepresentationItem entity to a buffer.
[in] | pRepItem | References the A3DRiRepresentationItem to be written out. |
[in] | pBuffer | References the chained buffer to be filled. |
[in] | dUnit | References the wanted unit for the RI. |
A3DStatus A3DAsmModelFileTranslateToPkParts | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportParasolidData * | pParamsExportData, | ||
const A3DRWParamsTranslateToPkPartsData * | pParamsTranslateToPkPartsData, | ||
int * | pNbPkParts, | ||
int ** | pPkParts | ||
) |
Writes a model file to parts in the current parasolid session.
This function writes the A3DAsmModelFile entity to parts in the current parasolid session.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pParamsTranslateToPkPartsData | References the parameters to export in the Parasolid session. |
[out] | pNbPkParts | References the number of resulting parts. |
[out] | pPkParts | References the array of resulting parts. |
A3DStatus A3DRepresentationItemTranslateToPkParts | ( | const A3DRiRepresentationItem * | pRepItem, |
const A3DRWParamsTranslateToPkPartsData * | pParamsTranslateToPkPartsData, | ||
double | dUnit, | ||
int * | pNbPkParts, | ||
int ** | pPkParts | ||
) |
Writes a representation item to parts in the current parasolid session.
This function writes the A3DRiRepresentationItem entity to parts in the current parasolid session.
[in] | pRepItem | References the A3DRiRepresentationItem to be written out. |
[in] | pParamsTranslateToPkPartsData | References the parameters to export in the Parasolid session. |
[in] | dUnit | References the wanted unit for the RI. |
[out] | pNbPkParts | References the number of resulting parts. |
[out] | pPkParts | References the array of resulting parts. |
A3DStatus A3DMiscPKMapperGetPKEntitiesFromA3DEntity | ( | const A3DMiscPKMapper * | pMapper, |
const A3DEntity * | pA3DEntity, | ||
int * | piNbPKEntities, | ||
int ** | ppPKEntities | ||
) |
Get Parasolid entities from HOOPS Exchange entity.
[in] | pMapper | The mapper |
[in] | pA3DEntity | The HOOPS Exchange entity |
[out] | piNbPKEntities | Number of Parasolid entities in the following array |
[out] | ppPKEntities | Array of Parasolid entities |
A3DStatus A3DMiscPKMapperGetA3DEntitiesFromPKEntity | ( | const A3DMiscPKMapper * | pMapper, |
int | pPKEntity, | ||
int * | piNbA3DEntities, | ||
A3DEntity ** | ppA3DEntities | ||
) |
Get HOOPS Exchange entities from Parasolid entity.
[in] | pMapper | The mapper |
[in] | pPKEntity | The Parasolid entity |
[out] | piNbA3DEntities | Number of HOOPS Exchange entities in the following array |
[out] | ppA3DEntities | Array of HOOPS Exchange entities |
A3DStatus A3DAsmModelFileExportToStlFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportStlData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in STL format.
This function writes the A3DAsmModelFile entity to a physical file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pcCADFileName | References the path of the file into which the function stores the model file. |
A3DStatus A3DAsmModelFileExportToU3DFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportU3DData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in Universal 3D format.
This function writes the A3DAsmModelFile entity to a physical file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pcCADFileName | References the path of the file into which the function stores the model file. |
A3DStatus A3DAsmModelFileExportToJTFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportJTData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in JT format.
This function writes the A3DAsmModelFile entity to a physical file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pcCADFileName | References the path of the file into which the function stores the model file. |
A3DStatus A3DAsmModelFileExportToAcisFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportAcisData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in ACIS format.
This function writes the A3DAsmModelFile entity to a physical file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pcCADFileName | References the path of the file into which the function stores the model file. |
A3DStatus A3DAsmModelFileExportToAcisBuffer | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportAcisData * | pParamsExportData, | ||
A3DChainedBuffer ** | pBuffer | ||
) |
Writes a model file to a buffer in binary ACIS format.
This function writes the A3DAsmModelFile entity to a buffer.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pBuffer | Buffer. |
A3DStatus A3DRepresentationItemExportToAcisBuffer | ( | const A3DRiRepresentationItem * | pRepItem, |
A3DChainedBuffer ** | pBuffer, | ||
double | dScale | ||
) |
Writes a representation item to a buffer in binary ACIS format.
This function writes the A3DRiRepresentationItem entity to a buffer.
[in] | pRepItem | References the A3DRiRepresentationItem to be written out. |
[in] | pBuffer | Buffer. |
[in] | dScale | Scale applied to the representation item. |
A3DStatus A3DAsmModelFileExportToVrmlFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in VRML format.
This function writes the A3DAsmModelFile entity to a physical file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pcCADFileName | References the path of the file into which the function stores the model file. |
A3DStatus A3DAsmModelFileExportToXMLFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportXMLData * | pParamsExportData, | ||
const A3DUTF8Char * | pcXMLFileName, | ||
unsigned int * | uMapSize, | ||
unsigned int ** | puMapXmlIds, | ||
A3DEntity *** | ppMapProductOccurrences | ||
) |
Writes a model file to a physical file in XML format.
This function writes the A3DAsmModelFile entity to a physical file, and fills two arrays of size uMapSize (puMapXmlId and ppMapProductOccurrences) that will act as a map of the product occurrences and their respective IDs in the XML file.
[in] | pA3DAsmModelFile | References the A3DAsmModelFile to be written out. |
[in] | pParamsExportData | References the parameters for export. |
[in] | pcXMLFileName | References the path of the file into which the function stores the model file. |
[out] | uMapSize | Size of the two following arrays. If set to NULL, the map construction is bypassed. |
[out] | puMapXmlIds | Array of the product occurrence IDs in the XML file. If set to NULL, the map construction is bypassed. It has to be freed with the custom free memory callback. |
[out] | ppMapProductOccurrences | Array of the product occurrences in the XML file. If set to NULL, the map construction is bypassed. It has to be freed with the custom free memory callback. |