View Issue Details

IDProjectCategoryView StatusLast Update
0004133FreeCADBugpublic2021-02-06 06:50
Reporterbug_reporter_00342 Assigned To 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version18.04.3 LTS
Target Version0.20 
Summary0004133: Sometimes face / sketch exports to flattened svg or dxf incorrectly
DescriptionI've been seeing this bug very occasionally I believe since 0.16, seemingly at random. Trying to export a particular sketch as a flattened svg or dxf truly flattens the constituent paths such that they lie on top of each other when they should not. It may be that the paths are being projected along the wrong (90deg) axis to produce the exported vector image.
Trying to export a clone or facebinder of the relevant sketch then exporting produces the same results.
Steps To ReproduceOpen attached FCStd file, try to export Sketch002 as Flattened SVG or DXF. View exported file in Inkscape or similar, visually compare to original sketch.

For reference, Sketch001 exports fine. Rotating the body of Sketch002 by 90deg to lie parallel to the plane of Sketch001 does not solve the issue.

Tried in 0.17, 0.18, and 0.19 Daily with the same results.
Additional InformationOS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Tags#pending-forum, DXF, export, SVG
FreeCAD Information



2019-09-17 04:08



2019-09-17 17:21

reporter   ~0013615

Workaround is to pad the sketch, export the pad as a STEP file, open the STEP file in a new FreeCAD document, recreate the original sketch by tracing out the face using external geometry, then export the new sketch as SVG or DXF.

This workaround does not support sketches that cannot currently be padded, such as those which would produce multiple solids.


2019-09-17 20:13

administrator   ~0013616

Thanks for posting. Do you mind (per the guidelines in the yellow banner at the top of the page) to post this issue to the forum to get the attention of the community. Thank you.


2019-09-19 00:14

reporter   ~0013636

Last edited: 2019-09-19 00:14

Yep, no worries, I'll make a forum post. I did see the yellow banner, but the text by the Description text field currently reads:
Read this before reporting and make a forum thread asking for help first if you aren't sure it's a bug!
I was pretty confident that this is a bug, so I posted without the forum thread. Perhaps the text could be changed if a forum post is always desired.


2019-09-19 02:53

administrator   ~0013640

Thanks for posting to the forum, in the future please x-post the url back to the ticket so we can track the thread from the ticket. thanks

Forum thread:


2019-09-27 10:48

administrator   ~0013690

Apparently, similiar discussion at


2022-03-03 13:55

administrator   ~0016824

This ticket has been migrated to GitHub as issue 5990.

Issue History

Date Modified Username Field Change
2019-09-17 04:08 bug_reporter_00342 New Issue
2019-09-17 04:08 bug_reporter_00342 Tag Attached: DXF
2019-09-17 04:08 bug_reporter_00342 Tag Attached: export
2019-09-17 04:08 bug_reporter_00342 Tag Attached: SVG
2019-09-17 04:08 bug_reporter_00342 File Added: cant_export_Sketch002.FCStd
2019-09-17 17:21 bug_reporter_00342 Note Added: 0013615
2019-09-17 20:09 Kunda1 Tag Attached: #post-to-forum
2019-09-17 20:13 Kunda1 Status new => feedback
2019-09-17 20:13 Kunda1 Note Added: 0013616
2019-09-19 00:14 bug_reporter_00342 Note Added: 0013636
2019-09-19 00:14 bug_reporter_00342 Status feedback => new
2019-09-19 00:14 bug_reporter_00342 Note Edited: 0013636
2019-09-19 02:53 Kunda1 Note Added: 0013640
2019-09-19 02:54 Kunda1 Tag Detached: #post-to-forum
2019-09-19 02:54 Kunda1 Tag Attached: #pending-forum
2019-09-27 10:48 Kunda1 Note Added: 0013690
2021-02-06 06:50 abdullah Target Version => 0.20