View Issue Details

IDProjectCategoryView StatusLast Update
0001296FreeCADBugpublic2013-11-10 18:52
Reportershoogen Assigned Toyorik  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.13 
Target VersionFixed in Version0.14 
Summary0001296: invalid DXF export
Descriptionexporting singular draft elements using importDXF.export(objlist) causes an invalid DXF files.
Elements get assigned to a non-existant layer '0' (by GC 8)
The file has the layers '1' and 'PYDXF'
TagsNo tags attached.
FreeCAD Information

Activities

shoogen

2013-11-05 08:19

developer   ~0003854

default parameter layer='0' in Entity contradicts name='pydxf' in Layer

https://github.com/yorikvanhavre/Draft-dxf-importer/blob/master/dxfLibrary.py#L122
https://github.com/yorikvanhavre/Draft-dxf-importer/blob/master/dxfLibrary.py#L570

yorik

2013-11-05 15:37

administrator   ~0003858

I guess we could set everything to layer 0? This seems the most "dxf-like" behaviour to me...

yorik

2013-11-10 18:52

administrator   ~0003879

Ok I set the default layer to 0 in the latest dxflib.

Issue History

Date Modified Username Field Change
2013-11-05 08:15 shoogen New Issue
2013-11-05 08:19 shoogen Note Added: 0003854
2013-11-05 15:37 yorik Note Added: 0003858
2013-11-05 15:37 yorik Assigned To => yorik
2013-11-05 15:37 yorik Status new => assigned
2013-11-10 18:52 yorik Note Added: 0003879
2013-11-10 18:52 yorik Status assigned => closed
2013-11-10 18:52 yorik Resolution open => fixed
2013-11-10 18:52 yorik Fixed in Version => 0.14