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

yang686526 2009-05-04 06:25 PM

【转帖】crash dwgdirect 1.1402
 
crash dwgdirect 1.1402
crash dwgdirect 1.1402
with attached file by odreadex in
oddbviewport::customscale();
best regards
mano
attached files
it is not crash it's exception. the exception is thrown because viewheight of viewport is 4.5 e-48. and the value to be returned from custom scale is height / viewheight.
viewheight is checked for zero with 1. e-10 tolerance.
probably it would be better to return huge double from customscale instead of throwing exception.
sergey slezkin


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