Drawing templates: Difference between revisions

From FreeCAD Documentation
(added French translation)
No edit summary
Line 3: Line 3:
* 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>
* Several custom attributes can be placed in templates. The list of currently supported attributes is available on the [[Svg Namespace]] page.


== A3 templates ==
== A3 templates ==

Revision as of 15:43, 8 January 2012

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 -->
  • Several custom attributes can be placed in templates. The list of currently supported attributes is available on the Svg Namespace page.

A3 templates

Available translations of this page: Template:Se