namoamitof / heekscad

Automatically exported from code.google.com/p/heekscad
Other
0 stars 0 forks source link

DXF import crashes app #265

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open HeeksCad
2. Import attached dxf
3. application crashes

What is the expected output? What do you see instead?
Imported file; crashed application dialog

What version of the product are you using? On what operating system?
win32 0.12.0 with cnc plugin

Please provide any additional information below.
after removing a couple of lines in the dxf the file loads OK, see second
attached file

Thanks
Will

Original issue reported on code.google.com by williamr...@googlemail.com on 27 Apr 2010 at 5:25

Attachments:

GoogleCodeExporter commented 9 years ago
The bathroom_crash.dxf file had a zero-length line segment in it.  The 
OpenCascade
routines that used this to create a gp_Dir object threw an exception due to the
fault.  I added an 'option' to the 'file options->DXF' settings that allowed 
this
OpenCascade exception to be ignored.

If the import fails with one of these OpenCascade exceptions, the program will 
prompt
you asking if you want to re-try the import with the 'ignore errors' flag set 
to 'true'.

With this option the bathroom_crash.dxf file imports fine.

Original comment by David.Ni...@gmail.com on 27 Apr 2010 at 8:40