几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】how to controle face resolution in 3dsolid objects (http://www.dimcax.com/hust/showthread.php?t=16624)

yang686526 2009-05-06 02:22 PM

【转帖】how to controle face resolution in 3dsolid objects
 
how to controle face resolution in 3dsolid objects?
how to controle face resolution in 3dsolid objects?
i've got a dwg file with 3dsolids that produce about 1 million faces. this resolution is way beyond the needs for a resonable visualization of the 3dsolids.
is there a way i can controle the minimum size of any surfaces that are generated from a 3dsolid?
-rune jorgensen
look at the attached example. i would like the surfaces inside the object to be rendered with fewer facets.
attached files (176.6 kb, 7 views)

-rune jorgensen

hi,
file contains 3dsolid with spline-defined surfaces. toolkit uses u,v knot vector values for triangulation of spline surfaces. it generates grid with isolines started in knot vector values. for example, one of surface from your file has 39 knots in u direction and 11 knots in v direction, i.e. mesh will be 39x11.
triangulation options (mfcapp tools\options menu) have nurbsparam. nurbsparam is set to 2 by default. it means that between each two knot isolines will be added two additional isolines. mesh resolution will be greatly increased.
try to set nurbsparam to 0, it should decrease number of triangles.


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