![]() |
【转帖】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... |
所有的时间均为北京时间。 现在的时间是 02:25 AM. |