TechDraw SaveSVG

From FreeCAD Documentation
Jump to: navigation, search
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎română • ‎русский
Arrow-left.svg Previous: TechDraw Balloon.svg New Ballon
Next: Save DXF Techdraw-saveDXF.svg Arrow-right.svg

TechDraw ExportPage.png TechDraw ExportPage

Menu location
TechDraw → Export page
Workbenches
TechDraw
Default shortcut
None
Introduced in version
-
See also
TechDraw Templates, Draft SVG


Description

The Export page tool saves the current drawing page as an SVG file.

How to use

  1. Press the TechDraw SaveSVG.png Export page button.
  2. A File Save dialog will open. Select a location and file name.

Notes

  • TechDraw Hatch patterns are not exported to SVG due to a limitation in Qt4's SVG support.
  • Text positions and sizes are not correct in the exported file. Using the "system" default font in the drawing improves the size problem considerably.
  • Creating a DXF file from the saved SVG drawing in Inkscape 0.48: choose "Desktop Cutting Plotter (AutoCAD DXF R14) (*.dxf)" as export format and choose "px" as base unit in the next dialog. The drawing is not on scale yet but has a scale of 10:1. To get the correct scale on LibreCAD, choose Edit → Current Drawing Preferences → General Factor of 0.1. Check with a known distance.
  • Since FreeCAD 0.18 it is possible to export DXF directly with TechDraw SaveDXF.

Scripting

See also: TechDrawGui API and FreeCAD Scripting Basics.

The SaveSVG tool can be used in macros and from the Python console by using the following functions:

TechDrawGui.exportPageAsSvg(DrawPageObject,FilePath)

Note that the FreeCADGui module must be active to use this function.


Arrow-left.svg Previous: TechDraw Balloon.svg New Ballon
Next: Save DXF Techdraw-saveDXF.svg Arrow-right.svg