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

yang686526 2009-05-04 04:15 PM

【转帖】assert thrown in odvectorizeex sample
 
assert thrown in odvectorizeex sample.
assert thrown in odvectorizeex sample.
hi,
using dwgdirect 1.12.04, i compiled the samples, including odvectorizeex, odmfcapp, singledoc, as well as creating my own rendering application.
i have noticed that when i try to render the attached dxf file in my application, i get an assert error, and then the application terminates. when i open the .dxf file in singledoc, i don't get the error, and when i open it in odmfcapp, the error occurs rarely.
i then opened the .dxf file in odvectorizeex, and the assert is generated everytime with the following error:
assertion failed: invalid execution.
file: source\ge\gehatch.cpp
line: 1830
can you please tell me why this assert is occuring, and how i can overcome it in odvectorizeex. the drawing opens fine in volo view express.
regards,
sijmen.
attached files

dear sijmen,
this assert was added to gehatch.cpp to signalize potential internal problems. this is an internal assert, it usually fails in case incorrect hatch boundary data. release version of dd doesn't have assertion checks, so you won't notice it in release build.
1.13 code doesn't have any problems with this file. 1.13 is going to be released in next few days.
sincerely yours,
george udov
it now works with version 1.13.
thanks,
sijmen.


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