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

yang686526 2009-05-05 07:53 AM

【转帖】dwf roundtip export and impor
 
dwf roundtip export and import
dwf roundtip export and import
hi
some of our users have noticed a displacement in features of a dwg file in a round trip export and then import using the oda dwfimport and dwfexport libraries.
i've attached three files which demonstrate this:
1: export_to_dwf.dwg - the original file.
2: test_file.dwf - the intermediate dwf file.
3: imported_from_dwf.dwg - the dwf file imported to a dwg file.
i would have thought that files 1 and 3 should have identical geometries and overlay
each other perfectly. can someone from oda comment on this please?
many thanks,
peter.
attached files
first of all, you should use more recent format than dwf v00.42, to preserve initial view.
model coordinates in dwf file are not preserved - that is - only scale is preserved.
coordinates in dwf file are integers, so even shifted, they will not correspond to the original coordinates exactly.
vladimir
thanks very much for your very prompt reply. i understand what's happening now.
thanks
peter


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