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

yang686526 2009-05-07 03:10 PM

【转帖】reversed Insert Ocs
 
reversed insert ocs
reversed insert ocs
with the new dwgdirect it looks like if we have an insert with a negative x scale we are setting the ocs x-axis to (-1,0,0). this is incorrectly mirroring my insert point across the x-axis since the insert point is in the ocs, was this change intentional (want to know if i have to change my old toolkit code, or just wait for the next version of dwgdirect)?

in odt block insertion position was specified in ocs. in dwgdirect it is specified in wcs like in objectarx. so you need to alter your old code.
btw, setblocktransform() can set transformation matrix in a single step (position, rotation, normal, scale).
sergey slezkin


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