高级会员
注册日期: 06-11
帖子: 1527
精华: 15
现金: 6353 标准币
资产: 6353 标准币
|
回复: How to get such parameters as qualityIndex, TessMin, qualityNum, TessMax, BodyDiamet
R:
BodyDiameter is the diagonal distance across the bounds of the part box. See PartDoc::GetPartBox for details.
Use ModelDocExtension::GetUserPreferenceDoubleValueRange with swImageQualityShadedDeviation to get the TessMax and TessMin.
qualityNum is the number set in ModelDoc2::SetTessellationQuality.
qualityIndex can be calculated using the first equation.
Robin Richter
|