几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】esselation Of 3d Faces Into Polylines (http://www.dimcax.com/hust/showthread.php?t=18709)

yang686526 2009-05-07 04:38 PM

【转帖】esselation Of 3d Faces Into Polylines
 
tesselation of 3d faces into polylines
tesselation of 3d faces into polylines
hi all!
i've got two questions/remarks about tessellation of 3dface entities.
1. the facet is interpreted as a mesh when world draw is called on a facet entity. tessellating this mesh results in 4 calls to polylineout: facetout is never called. is it normal? i was hoping that it will result in one facet or one single polyline (not 4!). any idea what's going on here?
2. when the facet consists of three 3d points (that is 4th 3dface point is set to the 3rd point in the dxf file), this still results in 4 calls to polylineout (with the last segment of length 0!). is it a bug?
thanks for the help!
gregoire
hi all,
here is my understanding:
1. the facet is processed as a mesh, therefore either triangleout or polylineout will be called by odgigeometrysimplifier depending on the method fillmode. (unfortunately this method is not virtual.)
2. when calling worlddraw on a facet, the facet will be considered as a mesh. when tesselating this mesh, it will result in either 2 triangles or 4 polylines (ie the facet is "cut" into two (?). for 3 points facets this result in one null polyline or one null triangle.
cheers,
gregoire
hi gregoire,
i would not call these issues the bugs.
what's you problem with them?
facetout() is obsolete and will be removed.


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