namoamitof / heekscad

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

dxf open problem #363

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
Heekscad not open attached dxf.
I exported from corel11 other cad program open correct.
Regards.

Original issue reported on code.google.com by bigla...@startolj.hu on 31 Aug 2011 at 5:29

Attachments:

GoogleCodeExporter commented 9 years ago
I don't know what's going on but have noticed a couple things.  First, I loaded 
the file into librecad and deleted everything except the center of the 'A' in 
Accelerometer.  This leaves just a single 3-point polyline.   Heekscad still 
has a problem importing it.    

The specific error message is: "OpenCascade failures occured during DXF read 
processing"

I created a similar polyline in librecad and it imported fine into heekscad.  
When I used LibreCAD to exploded both the corel created and librecad created 
polylines, the corel version became many small segments and the librecad became 
3 large segments.  Once exploded, both imported fine.

Exploding the entire original file produces over 22K segments so I don't 
recommend it as a solution.

Original comment by shopinth...@gmail.com on 1 Sep 2011 at 2:20

GoogleCodeExporter commented 9 years ago
I got the same error message "OpenCascade failures occured during DXF read 
processing"
 I also tried opening the file with FreeCAD and Inkscape, with no luck. Draftsight opens it fine. It appears that all the geometry is made up of splines. Since the import code for HeeksCAD, FreeCAD, and Inkscape are all missing a way of working with the file, I'm not sure what to do to fix it. 

Original comment by ddfalck2...@yahoo.com on 2 Sep 2011 at 7:04

GoogleCodeExporter commented 9 years ago
fpvectorial visualize correct
http://wiki.freepascal.org/fpvectorial

Original comment by bigla...@startolj.hu on 3 Sep 2011 at 7:59

GoogleCodeExporter commented 9 years ago
It looks like qcad/librecad will open the file too. Hopefully someone can help 
you figure out how to deal with the splines in the dxf.cpp file. Maybe those 
working examples will help them.

Original comment by ddfalck2...@yahoo.com on 3 Sep 2011 at 4:21

GoogleCodeExporter commented 9 years ago
corel3->corel11->HPGL->Inkscape->(normal)svg->heekscad->gcode->emc2
Great work...

Original comment by bigla...@startolj.hu on 3 Sep 2011 at 6:06

GoogleCodeExporter commented 9 years ago
I tried this with Draftsight:
Print to file in svg format. Then Heekscad seems to open the svg file.

Original comment by ddfalck2...@yahoo.com on 3 Sep 2011 at 7:24