|
楼主 |
发表于 2007-5-20 09:23:14
|
显示全部楼层
回复: How to get the current tolerance parameters of Tessellate curve?
R:
Dear,
The main controlling factor to determine the number of tessellated points is chordTolerance. So here is my suggestions on how to use function GetTessPts():
(1) Set lengthTolerance to be the same as chordTolerance.
(2) The SW default value for chordTolerance is 0.0001m.
(3) If the curve is long (say 100m etc.), 0.0001m may be too small as too many tessellated points will be generated. In this case, users have to come up with their own value of chordTolerance. On example is that they can set up a rough upper limit of the number of tessellated points needed: nPoints. Then get the full length of the curve: lLength. Given these two parameters, they can calculate a chordTolerance = (lLength/ nPoints) and pass this value into GetTessPts().
Regards,
Robin Richter
SolidWorks Technical Support |
|