TechDraw Templates: Difference between revisions

From FreeCAD Documentation
({{TechDraw Tools navi}} and {{Userdocnavi}})
(Inkscape mentioned for editing SVG files)
Line 5: Line 5:


<!--T:11-->
<!--T:11-->
Every TechDraw Page is based on a Template. The Template controls paper size and contains all the "pre-printed" text and graphics of the page. The Template can also contain editable text fields for attributes like "Title", "Author", "Scale".
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".


<!--T:12-->
<!--T:12-->
Templates are [[SVG]] files and are created and modified outside of FreeCAD.
Templates are [[SVG]] files which can be created and modified outside of FreeCAD, with an application such as [https://en.wikipedia.org/wiki/Inkscape Inkscape].


== Properties == <!--T:13-->
== Properties == <!--T:13-->

Revision as of 20:06, 24 November 2018

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

  • DataOrientation: Portrait or Landscape.
  • DataWidth: Paper width in mm.
  • DataHeight: Paper height in mm.
  • DataPage 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.
  • DataTemplate: 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 page sizes are included with FreeCAD. Custom Templates can also be created and specified as a default in Preferences.

How to make a custom TechDraw template

Back to TechDraw.

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.
  • Stackoverflow discussion on removing transform clauses in Svg source files.