Drawing templates: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 1: Line 1:
Creating templates for the Drawing module is very easy. The are svg files, created with any application capable of exporting svg files, such as [http://www.inkscape.org inkscape]]. Only two rules must be followed:
Creating templates for the Drawing module is very easy. They are svg files, created with any application capable of exporting svg files, such as [http://www.inkscape.org inkscape]]. Only two rules must be followed:
* One pixel = one milimeter
* One pixel = one millimeter
* You must insert, somewhere inside your svg code, where you want the contents of the drawing to appear (for example at the end of the file, just before the last </svg> tag), the following line:
* You must insert, somewhere inside your svg code, where you want the contents of the drawing to appear (for example at the end of the file, just before the last </svg> tag), the following line:
<nowiki><!-- DrawingContent --></nowiki>
<nowiki><!-- DrawingContent --></nowiki>

Revision as of 09:21, 18 July 2011

Creating templates for the Drawing module is very easy. They are svg files, created with any application capable of exporting svg files, such as inkscape]. Only two rules must be followed:

  • One pixel = one millimeter
  • You must insert, somewhere inside your svg code, where you want the contents of the drawing to appear (for example at the end of the file, just before the last </svg> tag), the following line:
<!-- DrawingContent -->

A3 templates