查看单个帖子
旧 2009-05-06, 10:50 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】problem inserting a dwg containing 3d solids

problem inserting a dwg containing 3d solids
problem inserting a dwg containing 3d solids
i.e.
after inserting an existing dwg into a new one:
oddbdatabaseptr ndb;
ndb = svcs->readfile(fname);
odgematrix3d xform;
xform.settranslation(myvector);
pdb->insert(xform, ndb);
the transformation (translation or scaling) does not apply to all 3d solids.
but, it applies to all other entities.
3d solids remain at their original positions and their original size (if xform->settoscaling is used)
thanks for the replies..
3dsolids can be transformed only by uni-scaled and ortho matrix.
sergey slezkin
quote:
originally posted by sergey slezkin
3dsolids can be transformed only by uni-scaled and ortho matrix.
thank you,
i was only trying to do a translation, i.e. (10,0,0).
the problem was that i had to use modelergeometry...
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)