Bug #2663 DXF export wrong when sketch is rotated

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Bug #2663 DXF export wrong when sketch is rotated

Post by Kunda1 »

issue #2663:
Description
The DXF/SVG export of a sketch is broken when the sketch is oriented any other way than on the XY-plane. Lines are affected differently than arcs.
If the sketch is copied and reoriented to XY, export works fine.

Steps To Reproduce
- Create a line and an arc or circle in a sketch on XZ-plane
- Export to DXF or flattened SVG
- Look at output
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
ehb
Posts: 17
Joined: Sat May 16, 2015 8:54 pm

Re: Bug #2663 DXF export wrong when sketch is rotated

Post by ehb »

Hey Kunda1,

sorry for the late reply. As posted on the bug tracker, the behavior is still present with this version:

OS: Ubuntu Zesty Zapus (development branch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10035 (Git)
Build type: None
Branch: master
Hash: 0598af8a081f762039fa43efaf90ece4ca0b5e6f
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

Left side: Sketch in XZ-plane in FreeCAD
Right side: Exported as Autodesk DXF, resulting file opened in LibreCAD
FreeCAD_Bug2663.png
FreeCAD_Bug2663.png (24.82 KiB) Viewed 1603 times
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Bug #2663 DXF export wrong when sketch is rotated

Post by Kunda1 »

bumping thread for community input
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Bug #2663 DXF export wrong when sketch is rotated

Post by Kunda1 »

yorik wrote:ping
care to weigh in on this?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply