几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】odgicommondrawdeviation (http://www.dimcax.com/hust/showthread.php?t=17689)

yang686526 2009-05-06 08:41 PM

【转帖】odgicommondrawdeviation
 
od*gi*common*draw::*deviation
odgicommondraw::deviation not called
hi
i am writing a program which creates vrml files from dwg files. i wrote it modifying the sample readex. i got vrml files out and it's perfect. but the problem is there are too many polygons. odgigeometry::shell function gives about 300 faces just for a cone. i would like to reduce the number of the faces.
i thought changing the return value of odgicommondraw::deviation changes the tessellation levels. but the deviation function never gets called.
how can i get odgicommondraw::deviation gets called? or is there any other way to change the number of faces that odgigeometry::shell receives?
i would appreciate any help.
last edited by hkajima; 5th june 2006 at 12:01 amfff">.


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