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

yang686526 2009-05-06 09:36 PM

【转帖】panning problem
 
panning problem
panning problem
i've written a program using dwgdirect. it displays dxf/dwg files and can pan and zoom. it has worked fine with many, many files.
now i've got this file: i try to pan down and the image shifts left. i try to pan left and the image shifts up. pan up, shifts right. pan right, shifts down.
as far as i can tell my code is doing what i expect it to and, as i said, the program works correctly on many other files. so, i expect there's something goofy about this file.
can anyone take a look at this file or point me toward a tool to figure out if there's anything odd about this file?
thanks!
phil
model space viewport has non-zero twist angle (rotated about 270 degrees). your program does not take it into consideration.
btw, odamfcapp pans this drawing correctly.
sergey slezkin
quote:
originally posted by sergey slezkin
model space viewport has non-zero twist angle (rotated about 270 degrees). your program does not take it into consideration.
btw, odamfcapp pans this drawing correctly.
great, that's exactly what i was looking for - thanks!


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