A structure that specifies parameters used to write the model file to STL format.
Enum to specify predefined values for some following members.
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.
Specifies the maximum angle between two contiguous segments of wire edges for every face. The value must be from 10 through 40.
Specifies the angle between two contiguous segments of wire edges for every face. Allowable values range from 10 through 30.
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_dChordHeightRatiomember to scale this value relative to the object that’s being tessellated.
m_dMaxChordHeightis ignored if
m_bUseHeightInsteadOfRatioisn’t set to true.
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.
Maximal grid stitch length. Disabled if value is 0. Be careful, a too small value can generate a huge tessellation.
Take into account surfaces curvature in accurate tessellation to controle triangles elongation directions. Enable
m_bAccurateTessellationWithGridto use this option.
Maximal length of the edges of triangles. Disabled if value is 0. Be careful, a too small value can generate a huge tessellation.