几何尺寸与公差论坛------致力于产品几何量公差标准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 coordinates different in odt and dd (http://www.dimcax.com/hust/showthread.php?t=15404)

yang686526 2009-05-04 05:46 PM

【转帖】circle coordinates different in odt and dd
 
circle coordinates different in odt and dd
circle coordinates different in odt and dd
in extrusiondirection.dwg, we have a circle.
list gives :
circle layer: "0"
space: model space
color: 1 (red) linetype: "bylayer"
handle = 6d
center point, x= 210.6433 y= 408.6462 z= 0.0000
radius 28.4794
extrusion direction relative to ucs:
x= 0.0000 y= 0.0000 z= -1.0000
circumference 178.9416
area 2548.0789
in odt, the center x comes out as -210.6433 and in dd it comes out as 210.6433.
so, does this mean that dd applies the extrusion vector on the entity?
if yes, then which extrusions does dd support? also, is it applicable to all geometrical entities?
attached files
forgot to add that, in both cases the extrusion vector is 0,0,-1
odt always fills structures with values stored in file (circle's center is stored in ocs).
dwgdirect accessors return coordinates as corresponding objectarx functions (circle's center in wcs)
most accessors return coordinates in wcs. it is described in headers and help.
sergey slezkin


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