几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】circle and arc rendering issue (http://www.dimcax.com/hust/showthread.php?t=15403)

yang686526 2009-05-04 05:46 PM

【转帖】circle and arc rendering issue
 
circle and arc rendering issue
circle and arc rendering issue
hello,
in the attached file, i am getting entites that calls circleproc(center, radius, normal, extrusion). as dd returns all the co-ordinates in wcs, i render all of them as circles(also, as they are full circles negative normal or positive normal does not affect the direction of the arc as i render the full circle).
if i do not handle the circleproc and just call the geometry simplifier they are rendered correct. i have attached a snapshot of the circles (within the blue boxes) that i get when i render all the circleproc entities. does extrusion have to be taken into consideration or are they already applied?
also, i did not have this issue with the version 1.12.04 but happens with 1.13 on this attached file. do you know what could cause this behaviour?
thanks.
attached images

it seems like you are assuming that normal always is parallel to z-axis. circleproc is not necessary lies in plane parallel to screen plane. isn't it key to your issue?
circleproc, like all functions that have parameter pextrusion, must take pextrusion into consideration.
sincerely yours,
george udov


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