A3DRWParamsExportStlData Struct Reference

A structure that specifies parameters used to write the model file to STL format. More...

Data Fields

A3DBool m_bAccurateTessellation
 
A3DBool m_bBinaryFile
 
A3DBool m_bKeepCurrentTessellation
 
A3DBool m_bUseHeightInsteadOfRatio
 
A3DDouble m_dAngleToleranceDeg
 
A3DDouble m_dChordHeightRatio
 
A3DDouble m_dMaxChordHeight
 
A3DDouble m_dMaximalTriangleEdgeLength
 
A3DDouble m_dMinimalTriangleAngleDeg
 
A3DETessellationLevelOfDetail m_eTessellationLevelOfDetail
 
A3DUns16 m_usStructSize
 

Detailed Description

A structure that specifies parameters used to write the model file to STL format.

Version
3.0

Field Documentation

A3DBool A3DRWParamsExportStlData::m_bAccurateTessellation

With a value of TRUE, tessellates the STL file with equilateral triangles.

A3DBool A3DRWParamsExportStlData::m_bBinaryFile

With a value of TRUE, compresses the STL file to reduce file size.

A3DBool A3DRWParamsExportStlData::m_bKeepCurrentTessellation

With a value of TRUE, keeps the current tessellation.

A3DBool A3DRWParamsExportStlData::m_bUseHeightInsteadOfRatio
A3DDouble A3DRWParamsExportStlData::m_dAngleToleranceDeg

Specifies the maximum angle between two contiguous segments of wire edges for every face. The value must be from 10 through 40.

A3DDouble A3DRWParamsExportStlData::m_dChordHeightRatio

Specifies the percentage of bounding box used to compute chord height. Set a value from 50 through 10,000.

A3DDouble A3DRWParamsExportStlData::m_dMaxChordHeight

Specifies the maximum distance between the original geometric surface specified in the CAD file and the resulting tessellation. Be careful, very small values can generate very large tessellation files.

Conversely, very large values can generate inaccurate tessellation. In such cases, it may be better to use the m_dChordHeightRatio member to scale this value relative to the object that's being tessellated.

Note
m_dMaxChordHeight is ignored if m_bUseHeightInsteadOfRatio isn't set to to true.
A3DDouble A3DRWParamsExportStlData::m_dMaximalTriangleEdgeLength

Maximal length of the edges of triangles. Disabled if value is 0. Be careful, a too small value can generate a huge tessellation.

A3DDouble A3DRWParamsExportStlData::m_dMinimalTriangleAngleDeg

Specifies the angle between two contiguous segments of wire edges for every face. Allowable values range from 10 through 30.

A3DETessellationLevelOfDetail A3DRWParamsExportStlData::m_eTessellationLevelOfDetail

Enum to specify predefined values for some following members.

A3DUns16 A3DRWParamsExportStlData::m_usStructSize

Reserved; must be initialized by A3D_INITIALIZE_DATA.