TechDraw ExportPageSVG/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "==Opis==")
(Created page with "{{GuiCommand/pl |Name=TechDraw ExportPageSVG |Name/pl=Rysunek Techniczny: Wyeksportuj stronę do formatu SVG |MenuLocation=Rysunek Techniczny → Strona → Wyeksportuj stronę do formatu SVG |Workbenches=Rysunek Techniczny |SeeAlso=Szablony, SVG }}")
Line 10: Line 10:
}}
}}


{{GuiCommand
{{GuiCommand/pl
|Name=TechDraw ExportPageSVG
|Name=TechDraw ExportPageSVG
|Name/pl=Rysunek Techniczny: Wyeksportuj stronę do formatu SVG
|MenuLocation=TechDraw → Page → Export Page as SVG
|MenuLocation=Rysunek Techniczny → Strona → Wyeksportuj stronę do formatu SVG
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Workbenches=[[TechDraw_Workbench/pl|Rysunek Techniczny]]
|SeeAlso=[[TechDraw_Templates|TechDraw Templates]], [[Draft_SVG|Draft SVG]]
|SeeAlso=[[TechDraw_Templates/pl|Szablony]], [[Draft_SVG/pl|SVG]]
}}
}}



Revision as of 06:31, 25 July 2023

Rysunek Techniczny: Wyeksportuj stronę do formatu SVG

Lokalizacja w menu
Rysunek Techniczny → Strona → Wyeksportuj stronę do formatu SVG
Środowisko pracy
Rysunek Techniczny
Domyślny skrót
brak
Wprowadzono w wersji
-
Zobacz także
Szablony, SVG

Opis

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

Usage

  1. If there are multiple drawing pages in the document: optionally activate the desired page by selecting it in the Tree view.
  2. There are several ways to invoke the tool:
    • Press the Export Page as SVG button.
    • Select the TechDraw → Page → Export Page as SVG option from the menu.
    • If a page is displayed in the Main view area: right-click the page's window and select the Export SVG option from the context menu.
  3. If there are multiple drawing pages in the document and you have not yet activated a page, the Page Chooser dialog box opens: introduced in version 0.20
    1. Select the desired page.
    2. Press the OK button.
  4. The Export page as SVG dialog box opens.
  5. 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.

Scripting

See also: Autogenerated API documentation 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.