几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   How to set the tolerance parameters of Tessellate face? (http://www.dimcax.com/hust/showthread.php?t=725)

yogy 2007-05-20 09:05 AM

How to set the tolerance parameters of Tessellate face?
 
Q:
How to set the parameters of Tessellate face?


I need control tessellated or associated tolerance.
yogy

yogy 2007-05-20 09:06 AM

回复: How to set the tolerance parameters of Tessellate face?
 
R:
Dear,


Use Modeler::SetToleranceValue to adjust tolerances.



Regards,

Robin Richter

SolidWorks Technical Support

yogy 2007-05-20 09:07 AM

回复: How to set the tolerance parameters of Tessellate face?
 
Q:
Dear Robin,

Can tolerances be adjusted via Call ModelDoc.SetTessationQuality?

Need I call ModelDoc.Rebuild after call SetTessationQuality?

Code as follows:

swModelDoc.SetTessellationQuality (tessellationQualityNum); swModelDoc.Rebuild (rebuildOptions);
yogy

yogy 2007-05-20 09:08 AM

回复: How to set the tolerance parameters of Tessellate face?
 
R:
Dear,



You should be able to get finer tessellation using SetTessellationQuality. Use ModelDoc2::GraphicsRedraw2 after using this method to update part.



Regards,

Robin Richter

SolidWorks Technical Support

yogy 2007-05-20 09:09 AM

回复: How to set the tolerance parameters of Tessellate face?
 
Q:

Subject: What difference do the two functions (ModelDoc.SetTessationQuality and Modeler::SetToleranceValue) have?



Dear,

What difference do the two functions (ModelDoc.SetTessationQuality and Modeler::SetToleranceValue) have?

How do the two above functions affect the display quality of OpenGL?

Yogy

yogy 2007-05-20 09:10 AM

回复: How to set the tolerance parameters of Tessellate face?
 
R:
Yogy,
ModelDoc2.SetTessationQuality only affects the OpenGL display, it doesn’t affect geometry. Sorry if I gave you incorrect information before.



Modeler::SetToleranceValue actually affects the geometry.



Robin Richter


所有的时间均为北京时间。 现在的时间是 12:16 PM.