- Status Closed
- Percent Complete
- Task Type Bug Report
- Category dxflib
-
Assigned To
Andrew - Operating System Windows (All)
- Severity Low
- Priority Very Low
- Reported Version 3.15.3
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by Stefan Aberfeld - 23.09.2016
Last edited by Andrew - 23.09.2016
Opened by Stefan Aberfeld - 23.09.2016
Last edited by Andrew - 23.09.2016
FS#1485 - dxflib: Lines are on the wrong layer when processing dxf files with external tools
I create a drawing using QCAD which is stored using dxflib. For some reasons dxflib must be used. This drawing contains arcs and lines on a separate layer. If the dxf file is processed by an other tool only the arcs are referenced to the specific layer. The lines are referenced to the standard layer 0. It doesn’t matter if I’m using the community edition or the pro edition.
After a some investigations I found that the created dxf file is not correct. I manually corrected the dxf file and it works as it should.
For details please refer to the appended files. Take a look to the ENTITY section and the LINE entities, e.g. line 2370. It is just to swap two entities.
Thanks for support.
Thanks. You can download a fix from:
https://github.com/qcad/qcad/blob/a738bc5f806ab073e36b338aab09a5b91dd9bbb6/src/3rdparty/dxflib/src/dl_dxf.cpp
Relevant diff:
https://github.com/qcad/qcad/commit/a738bc5f806ab073e36b338aab09a5b91dd9bbb6