Bug report - problems in dxf export

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
jcf
Posts: 53
Joined: Tue Nov 15, 2016 10:34 am

Re: Bug report - problems in dxf export

Post by jcf »

Hi,
I just experienced another bug in the DXF export that occurs in both versions 0.16 and 0.17, with a slightly different behaviour.

My (test) drawing is a very simple 2D drawing found here:
staff.ltam.lu/feljc/software/cnc/testdrawing.fcstd
consisting of 2 rectangles, 5 circles, 1 polygon and 1 line.

I tried to export it and import it to HeeksCAD, and it was wrong.
The fault was not on Heeks, as, when I tried to re-import the DXF to FreeCAd, it showed the same behaviour as in HeeksCAD.

The strange thing is that for example from the 5 circles, 2 are missing (however the keyword CIRCLE is to be found 5 times in the DXF file).

Any idea to this?

Or is there a better file format to use for this exchange ( FreeCAD to Heeks) ?
jcf
Posts: 53
Joined: Tue Nov 15, 2016 10:34 am

Re: Bug report - problems in dxf export

Post by jcf »

I tried to import the DXF file to Inkscape, and this was not succesful either:

"4 ENTITIES of type POLYLINE encountered and ignored. Please try to convert to Release 13 format using QCad."

There seems to be a file format error.
jcf
Posts: 53
Joined: Tue Nov 15, 2016 10:34 am

Re: Bug report - problems in dxf export

Post by jcf »

I found out something

(in freecad daily 0.17, OS: Linux Mint 17.3 Rosa
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10950 (Git)
Build type: None
Branch: master
Hash: 6368b2f822cf838ee6c50ebf62480ff86c214317
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0

:

it has to do with export preferences.
If I check "Project exported objects along current view direction" in the DXF export options, my test file is imported correctly into FreeCAd, and also into HeeksCAD. Good to know!
Post Reply