View Issue Details

IDProjectCategoryView StatusLast Update
0002736File formatsFeaturepublic2017-01-27 16:12
ReporterCatweazleMagic Assigned Toyorik  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
Platform0.16.6706 (Git)OSWindows 10OS Version64-bit
Summary0002736: Exported DXF shows only sheet format but no object
DescriptionAfter exporting a dxf or svg file. The sheet format of the 2D drawing is visible in programs like USBCNC QCAD, autocad etc, but the actual drawing object can not be made visible by the software. This, while the drawing is visible in FreeCad itself after importing the dxf in to Freecad.

I have the same trouble with exporting to svg. The only difference is the report window gives the message "The export list contains no shape"
Steps To Reproduce- Create a flat 2D drawing from a 3D part in the Drawing workbench.
- Select Page in the Model tree on the left side. Also tried select page and al the items in the page branch, with the same result.
-File -> Export -> Autodesk DXF -> save
- Open the file in on of the above mentioned programs.
TagsNo tags attached.
FreeCAD Information

Activities

CatweazleMagic

2016-10-14 09:28

reporter  

IkeaStoel2C.dxf (49,126 bytes)

normandc

2016-10-15 18:31

manager   ~0007365

Relevant topic: http://forum.freecadweb.org/viewtopic.php?f=3&t=17896#p141044

Some more info: LibreCAD appears to be the only program able to open the DXF correctly. The issue seems to be related to the "Export Drawing Views as blocks" option in the Import-Export / DXF preferences. If the checkbox is unchecked, the views are displayed in the DXF, but they are stacked one over the other and their orientation is wrong.

The problem affects DraftSight as well.

yorik

2016-10-19 17:02

administrator   ~0007397

Is it possible to attach a freecad files that presents the problem?

Also, there are serious problems with exporting DXF files from Drawing pages when the corresponding DXF template version is higher than R12.

CatweazleMagic

2016-10-19 21:56

reporter  

Ikea Stoel2.FCStd (107,236 bytes)

CatweazleMagic

2016-10-19 22:15

reporter   ~0007404

The requested FreeCad file is attched.

yorik

2016-10-19 22:52

administrator   ~0007405

Ok the problem is in the template indeed. Try changing the template property (which links to an svg file) to something not existing (just remove the .svg for ex.). The page will be marked with a red ! sign. When exporting the page to dxf, since a valid template cannot be found, the file will be exported with a default, empty template. This will work.

I said that a hundred times, but the people who did these default templates unfortunately didn't want to hear... I suggest you re-save the templates you will use often as R12.

There is still also a problem with ellipses and splines. Since with the trick above we are exporting a dxf R12 file, which didn't have ellipses nor splines at that time, some apps like DraftSight will open the file but refuse to display any non-R12 entity. LibreCAD and QCAD don't have that problem of conscience :) So the solution is either to open the file and re-save from libreCAD or QCAD, or set preferences->Import/export->DXF->treat as polylines. But your curves will be faceted.

Kunda1

2017-01-27 14:29

administrator   ~0008026

Last edited: 2017-01-27 14:29

@yorik shall we document this somewhere?
Since you've offered a workaround, should this ticket be resolved?

yorik

2017-01-27 16:11

administrator   ~0008029

yes i think this can be closed

Issue History

Date Modified Username Field Change
2016-10-14 09:28 CatweazleMagic New Issue
2016-10-14 09:28 CatweazleMagic File Added: IkeaStoel2C.dxf
2016-10-15 18:31 normandc Note Added: 0007365
2016-10-19 17:02 yorik Note Added: 0007397
2016-10-19 21:56 CatweazleMagic File Added: Ikea Stoel2.FCStd
2016-10-19 22:15 CatweazleMagic Note Added: 0007404
2016-10-19 22:52 yorik Note Added: 0007405
2017-01-27 14:29 Kunda1 Note Added: 0008026
2017-01-27 14:29 Kunda1 Status new => feedback
2017-01-27 14:29 Kunda1 Note Edited: 0008026
2017-01-27 16:11 yorik Note Added: 0008029
2017-01-27 16:12 yorik Status feedback => closed
2017-01-27 16:12 yorik Assigned To => yorik
2017-01-27 16:12 yorik Resolution open => no change required