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

yang686526 2009-05-04 03:08 PM

【转帖】a oblique dimesion
 
a oblique dimesion
a oblique dimesion
i tried to write a oblique dimension.
i use dd 1.12.04.
oddbrotateddimensionptr pent = oddbrotateddimension::createobject();
pent->setxline1point( odgepoint3d(0, 0, 0) );
pent->setxline2point( odgepoint3d(50, 0, 0) );
pent->setdimlinepoint( odgepoint3d(73.094, 40, 0) );
pent->settextposition( odgepoint3d(48.094, 42, 0) );
pent->setoblique( odatoradian(60) );
text of dimblock is set to "43" by recomputedimblock().
i think the right value is "50".
here a drawing.
attached images
this is dd bug. we'll try to fix it for next release/update
sergey slezkin
ok, thanks for the reply.


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