A structure that specifies parameters used to write the model file to STL format. More...
Detailed Description
A structure that specifies parameters used to write the model file to STL format.
- Version
- 10.2
Field Documentation
◆ m_bBinaryFile
A3DBool A3DRWParamsExportStlData::m_bBinaryFile |
With a value of TRUE
, compresses the STL file to reduce file size.
◆ m_eTessellationLevelOfDetail
A3DETessellationLevelOfDetail A3DRWParamsExportStlData::m_eTessellationLevelOfDetail |
Enum to specify predefined values for some following members.
◆ m_dChordHeightRatio
A3DDouble A3DRWParamsExportStlData::m_dChordHeightRatio |
Specifies the ratio of the diagonal length of the bounding box to the chord height. A value of 50 means that the diagonal of the bounding box is 50 times greater than the chord height. Values can range from 50 to 10,000. Higher values will generate more accurate tessellation.
◆ m_dAngleToleranceDeg
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.
◆ m_dMinimalTriangleAngleDeg
A3DDouble A3DRWParamsExportStlData::m_dMinimalTriangleAngleDeg |
Specifies the angle between two contiguous segments of wire edges for every face. Allowable values range from 10 through 30.
◆ m_dMaxChordHeight
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 ifm_bUseHeightInsteadOfRatio
isn't set to true.
◆ m_bAccurateTessellation
A3DBool A3DRWParamsExportStlData::m_bAccurateTessellation |
Accurate tessellation. Uses standard parameters. 'false' indicates the tessellation is set for visualization. Setting this value to 'true' will generate tessellation more suited for analysis. Can be used with all TessellationLevelOfDetails.
◆ m_bAccurateTessellationWithGrid
A3DBool A3DRWParamsExportStlData::m_bAccurateTessellationWithGrid |
Accurate tessellation with faces inner points on a grid.
◆ m_dAccurateTessellationWithGridMaximumStitchLength
A3DDouble A3DRWParamsExportStlData::m_dAccurateTessellationWithGridMaximumStitchLength |
Maximal grid stitch length. Disabled if value is 0. Be careful, a too small value can generate a huge tessellation.
◆ m_bAccurateSurfaceCurvatures
A3DBool A3DRWParamsExportStlData::m_bAccurateSurfaceCurvatures |
Take into account surfaces curvature in accurate tessellation to controle triangles elongation directions. Ignored if m_bAccurateTessellation
isn't set to true.
◆ m_bKeepCurrentTessellation
A3DBool A3DRWParamsExportStlData::m_bKeepCurrentTessellation |
With a value of TRUE
, keeps the current tessellation.
◆ m_bUseHeightInsteadOfRatio
A3DBool A3DRWParamsExportStlData::m_bUseHeightInsteadOfRatio |
Use m_dMaxChordHeight instead of m_dChordHeightRatio if m_eTessellationLevelOfDetail = kA3DTessLODUserDefined.
◆ m_dMaximalTriangleEdgeLength
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.
◆ m_eExportUnit
A3DEUnits A3DRWParamsExportStlData::m_eExportUnit |
Unit of the exported model. STL files have no unit however this value allow you to define it. This scales the model to match the target unit. Default value is set to kA3DUnitMillimeter. Setting to kA3DUnitUnknown keeps the original unit.