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

yang686526 2009-05-07 04:03 PM

【转帖】size Of Autocad Data1
 
size of autocad data!
size of autocad data!
hello,
i have a conceptual problem. i am using the odvectorizeex example.
first, i need the autocad data as it is. for example, a line that is drawn 1 meter long in autocad, i want it drawn 1 meter long in my application. how can i get the autocad data as it is.
1) what is the role of different co-ordinate systems (paper space, model space, wcs, eye co-ordinate systems and others?)
2) what is the role of different transformations done in the exsimpleview::update method of the essimpledevice.cpp file.
3) what is the role of the p-device->onsize() method ? different values of rectangle sizes passed to this method results in different co-ordinates of the returned geometry and hence change the basic size of the autocad objects.
secondly, the size of the window in my application is much smaller than autocad. for example, if the x-co-ordinates range from 0 to 100 in autocad then in my application they range from 0 to 20. how can i map the autocad data to this smaller area but still retains the basic sizes of the geometery?
i would be highly grateful to any reply.
with best regards,
faisal.


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