高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|