几何尺寸与公差论坛

 找回密码
 注册
查看: 2754|回复: 3

What is the range of tolerance value for Modeler::SetToleranceValue?

[复制链接]
发表于 2007-5-20 09:12:17 | 显示全部楼层 |阅读模式
Q(Question):
Robin
I got it.

What is the range of tolerance value for Modeler::SetToleranceValue? And what is the default or optimized value of tolerance in SW modeler?

What is the value range for ModelDoc2.SetTessationQuality? And what is the default or optimized value for tessellation of OPENGL?
yogy
 楼主| 发表于 2007-5-20 09:12:41 | 显示全部楼层

回复: What is the range of tolerance value for Modeler::SetToleranceValue?

R:
Yogy,
For SetTolerance below is information about the default values. I don’t think there is a range. For SetTessationQuality the range is 0-100, the default is 46.

The default tolerance setting for 3D geometry output is 0.01 meters, while 2D geometry uses a 1e-4 dimensionless tolerance value. If your 3D trim curves are coming out too far from the surfaces they are trimming or are not close to the 2D trim curves, then you might want to tighten the tolerance. Set the tolerances before any extraction of geometry.

The tolerance values can be reset by other AddIns such as IGES. Make sure that they are set to your values when you need them. The tolerance settings only affect other AddIn applications. However, you should be careful to reset the tolerances so that other AddIn applications are not affected by your choice of tolerance.

The swUVCurveOutputTol tolerance is used during the extraction of UV (SP) trim curves. The [url=http://mkMSITStore:C<img src=]Face2::GetTrimCurves2[/url] method is affected by this setting. This tolerance value represents a fraction of the characteristic small dimension of a face (the tolerance is dimensionless). For example, if you set the swUVCurveOutputTol tolerance value to 3e-6 and the smallest dimension of the face is 0.4 meters, then the largest deviation of the trim curve will be:

(0.4 x 3e-6) meters

For reference, the SolidWorks IGES processor lets you control the swUVCurveOutputTol tolerance setting in the user preferences area. The normal setting under IGES uses a tolerance of 1e-4, while the high setting changes this tolerance to 3e-6. The IGES setting does not affect your application. Higher tolerance settings can increase processing time and the size of any output results.





Robin Richter
 楼主| 发表于 2007-5-20 09:14:31 | 显示全部楼层

回复: What is the range of tolerance value for Modeler::SetToleranceValue?

Q:
Subject: What is the largest deviation and unit relative to the default (46) for FACE?


Dear,

Happy New Year!

You mentioned that for SetTessationQuality the range is 0-100, the default is 46.

Thanks. What is the largest deviation and unit relative to the default (46) for FACE? I want to know the mapping relation between range and largest deviation.
Yogy
 楼主| 发表于 2007-5-20 09:15:01 | 显示全部楼层

回复: What is the range of tolerance value for Modeler::SetToleranceValue?

R:
Yogy,

Happ New Year to you also.  

The numeric deviation value changes based on the current part. This deviation is calculated as follows:

qualityIndex = TessMin + qualityNum*((TessMax-TessMin)/100)

Deviation = 0.025 * (BodyDiameter) / qualityIndex





Robin Richter
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 18:55 , Processed in 0.038265 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表