TechDraw Templates/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/ru |Line Groups |Hatching |TechDraw |IconL= |IconC=Workbench_TechDraw.svg |IconR= }}")
(Created page with "{{TechDraw Tools navi/ru}}")
Line 63: Line 63:
}}
}}


{{TechDraw Tools navi}}
{{TechDraw Tools navi/ru}}


{{Userdocnavi}}
{{Userdocnavi}}

Revision as of 23:31, 4 February 2020

Other languages:

Overview

Every TechDraw page is based on a Template object. The Template controls paper size and contains fixed text graphics and text, for example, a page frame or border.

The Template can also contain editable text fields for attributes like Title, Subtitle, Author, Date, Scale, Weight, Drawing number and Sheet.

Templates are SVG files which can be created and modified outside of FreeCAD, with an application such as Inkscape.

Properties

  • ДанныеOrientation: Portrait or Landscape.
  • ДанныеWidth: Paper width in mm.
  • ДанныеHeight: Paper height in mm.
  • ДанныеPage Result: A copy of the original Template file including all changes to editable texts. This allows users who may not have a copy of the Template file to see the Page as intended. Not typically useful for end users.
  • ДанныеTemplate: a) A pointer to the copy of the original Template file which is incorporated into this *.FCSTD file, or b) a filepath to a template accessible on the current machine. Use the file selection ellipsis (...) to change to a different template.

Custom Templates

A limited number of pre-formatted templates in various standard page sizes are included with FreeCAD. These are found in

$INSTALL_DIR/Mod/TechDraw/Templates/

Where $INSTALL_DIR is the directory where FreeCAD was installed, for example

/usr/share/freecad/Mod/TechDraw/Templates/

Custom templates can also be specified as a default in the TechDraw Preferences.

See also How to make a custom TechDraw template.

Notes

  • TechDraw Templates are not entirely interchangeable with Drawing Templates. In general, Drawing templates will work in TechDraw, but there may be problems with editable text.
  • The xml:space="preserve" clause sometimes causes problems with text size and positioning. It is best to avoid/remove this clause from your custom template's SVG code.
  • Templates work best when they contain no extraneous SVG code (called "garbage SVG" by some). There is a good article on removing garbage from SVG here. The article is in Russian.