Ticket #4454 - DXF files open with wrong line thickness. Resaving lost thickness information

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!
efa
Posts: 2
Joined: Fri Oct 09, 2020 9:19 pm

Ticket #4454 - DXF files open with wrong line thickness. Resaving lost thickness information

Postby efa » Fri Oct 09, 2020 9:28 pm

hi,
the line thickness when importing DXF is wrong.
The exported files become corrupt lost thickness information.

Open a DXF file with line thinckness set, use the attached as test.
The line property "polyline width" is not rendered
Export as DXF
Open the exported DXF with QCAD pro, the line thinkness is wrong

the problem is present in LibreCAD and QCAD Community edition too, see:
https://sourceforge.net/p/librecad/bugs/520/

QCAD Pro and Autodesk TrueView open DXF correctly
Attachments
PCBtracks_demo_FreeCAD.png
PCBtracks_demo_FreeCAD.png (151.1 KiB) Viewed 56 times
PCBtracks_demo.png
PCBtracks_demo.png (116.86 KiB) Viewed 140 times
PCBtracks_demo.7z
(14.48 KiB) Downloaded 6 times
Last edited by efa on Sat Oct 10, 2020 8:08 pm, edited 1 time in total.
efa
Posts: 2
Joined: Fri Oct 09, 2020 9:19 pm

Re: DXF files open with wrong line thickness. Resaving lost thickness information

Postby efa » Sat Oct 10, 2020 6:26 am

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22665 (Git)
Build type: Release
Branch: master
Hash: b0d7850406e046f3b7a8cd5da261e7d54df6bd99
Python version: 3.8.6
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Italian/Italy (it_IT)

happen also on Linux with last stable:

OS: LMDE 4 (debbie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.
Build type: Release
Python version: 2.7.16rc1
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)

Here the link to the isse:
https://tracker.freecadweb.org/view.php?id=4454