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

yang686526 2009-05-05 10:53 AM

【转帖】file reading problem
 
file reading problem
file reading problem
hi all
i am new to opendesign. i am involved in a project where i have to extract the contents of a dwg file. here i am using the vectorize approach.
here i created a file testdraw.dwg where i draw a circle and a line. later i used the odvectorizeex and odamfcapp to display go through the values of the objects(circle, line).
but in the odmfcapp threeview i got the points of the line and the circle i the path oddbdatabasedoc->acdbblocktable-><*modelspace>->acdbline, acdbcircle, and some 3d points as i input it in the file.
but in the vectorization example i got some different values other than the actual values in the file i specified.
why the difference is. i attached the file along with this message
attached files

in odamfcapp treeview you're seeing the model coordinates of acdblines and acdbarcs (or world coordinates for entities that are directly in model space).
vectorization framework returns coordinates that you ordered by odgibasevectorizer::seteyetooutputtransform() xform. by default, vectorization framework returns eye coordinates.
sincerely yours,
george udov


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