TechDraw ExportPageSVG/ru: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>


<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[TechDraw_ExtensionThreadBoltBottom/ru|Обозначить наружную резьбу стержня с сечением вдоль оси]]
|[[TechDraw_ExtensionThreadBoltBottom/ru|Обозначить наружную резьбу стержня с сечением вдоль оси]]
Line 9: Line 10:
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name/ru=Экспорт листа в SVG
|Name/ru=Экспорт листа в SVG
Line 17: Line 20:
|SeeAlso=[[TechDraw_Templates/ru|Шаблоны]], [[Draft_SVG/ru|Draft SVG]]
|SeeAlso=[[TechDraw_Templates/ru|Шаблоны]], [[Draft_SVG/ru|Draft SVG]]
}}
}}
</div>


<span id="Description"></span>
==Описание==
==Описание==


The ExportPageSVG tool saves the current drawing page as an [[SVG|SVG]] file.
The '''TechDraw ExportPageSVG''' tool saves the current drawing page as an [[SVG|SVG]] file.


<span id="Usage"></span>
==Применение==
==Применение==


# If there are multiple drawing pages in the document: optionally activate the desired page by selecting it in the [[Tree_view|Tree view]].
# Press the {{Button|[[Image:TechDraw_ExportPageSVG.svg|16px]] [[TechDraw_ExportPageSVG|Export Page as SVG]]}} button.
# There are several ways to invoke the tool:
# A File Save dialog will open. Select a location and file name.
#* Press the {{Button|[[Image:TechDraw_ExportPageSVG.svg|16px]] [[TechDraw_ExportPageSVG|Export Page as SVG]]}} button.
#* Select the {{MenuCommand|TechDraw → Page → [[Image:TechDraw_ExportPageSVG.svg|16px]] Export Page as SVG}} option from the menu.
#* If a page is displayed in the [[Main_view_area|Main view area]]: right-click the page's window and select the {{MenuCommand|Export SVG}} option from the context menu.
# If there are multiple drawing pages in the document and you have not yet activated a page, the {{MenuCommand|Page Chooser}} dialog box opens: {{Version|0.20}}
## Select the desired page.
## Press the {{Button|OK}} button.
# The {{MenuCommand|Export page as SVG}} dialog box opens.
# Select a location and file name.


<span id="Notes"></span>
==Примечания==
==Примечания==


Line 32: Line 47:
* 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.


<span id="Scripting"></span>
==Программирование==
==Программирование==


Line 46: Line 62:
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[TechDraw_ExtensionThreadBoltBottom/ru|Обозначить наружную резьбу стержня с сечением вдоль оси]]
|[[TechDraw_LandmarkDimension/ru|Вставить размер знака]]
|[[TechDraw_ExportPageDXF/ru|Экспорт листа в DXF]]
|[[TechDraw_ExportPageDXF/ru|Экспорт листа в DXF]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|IconL=TechDraw_LandmarkDimension.svg
|IconL=TechDraw_ExtensionThreadBoltBottom.svg
|IconR=TechDraw_ExportPageDXF.svg
|IconR=TechDraw_ExportPageDXF.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg

Latest revision as of 21:45, 24 July 2023

Other languages:

Экспорт листа в SVG

Системное название
TechDraw_ExportPageSVG
Расположение в меню
TechDraw → Экспорт листа в SVG
Верстаки
TechDraw
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Шаблоны, Draft SVG

Описание

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

Применение

  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.

Примечания

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

Программирование

См. так же: TechDrawGui API и Основы составления скриптов FreeCAD.

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.