TechDraw ExportPageSVG/es: Difference between revisions

From FreeCAD Documentation
(Created page with "==Utilización==")
(Created page with "== Guión ==")
Line 31: Line 31:
* Text positions and sizes are not correct in the exported file. Using the "system" default font in the drawing improves the size problem considerably.
* Text positions and sizes are not correct in the exported file. Using the "system" default font in the drawing improves the size problem considerably.


==Scripting==
== Guión ==


{{Emphasis|See also:}} [[TechDrawGui_API|TechDrawGui API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[TechDrawGui_API|TechDrawGui API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

Revision as of 18:44, 22 May 2021

TechDraw ExportPageSVG

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

Descripción

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

Utilización

  1. Press the Export Page as SVG button.
  2. A File Save dialog will open. Select a location and file name.

Notas

  • 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.

Guión

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.