Cannot export sketch to SVG

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
omri
Posts: 5
Joined: Sun Jan 20, 2019 7:54 pm

Cannot export sketch to SVG

Post by omri »

Hi All,
So I'm trying to export a sketch into SVG so that I can laser cut it. No matter what I do, I keep getting the error "Export of this object type is not supported by the drawing module". As I understand it there are 2 SVG exports, Drawing and Flattened SVG and Flattened SVG is the one I want. So I select my sketch in the tree view, go File->Export and select "Flattened SVG" from the Filter dropdown menu. Regardless of whether Automatically select filename extension (.svg) is checked or not and regardless if I specify the filename with or without an extension (file or file.svg) I get the same problem even if I ensure "Flattened SVG" is selected from the Filter dropdown menu right before I click Save. My suspicion is that something is not working correctly in the save dialog that always try to do a Drawing SVG export since just specifying an SVG extension is ambiguous. I'm on FreeCad 0.17 64-bit running on Kubuntu 18.04. Any help would be appreciated, thanks!!!
Attachments
SaveDialog.png
SaveDialog.png (183.93 KiB) Viewed 538 times
Error.png
Error.png (11.46 KiB) Viewed 538 times
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: Cannot export sketch to SVG

Post by chrisb »

PLease retry with a current 0.18 version. I tested it, and flattened SVG works.

OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15860 (Git)
Build type: Release
Branch: master
Hash: 3b708c7f84b0425076b520e1d95627b20fd75fe0
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Cannot export sketch to SVG

Post by NormandC »

I have no issue either on 0.17.13541 or latest 0.18 development release.

Maybe it's a desktop issue? Mine is GNOME.

OS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/Canada (fr_CA)
omri
Posts: 5
Joined: Sun Jan 20, 2019 7:54 pm

Re: Cannot export sketch to SVG

Post by omri »

Seems to work fine off the 0.18 version of the daily PPA which has a different save dialog. Thanks!!!
Post Reply