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

From FreeCAD Documentation
Revision as of 22:22, 22 November 2021 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
Other languages:

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

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

Описание

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

Применение

  1. Press the Export Page as SVG button.
  2. A File Save dialog will open. 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.