Drawing Modèles

From FreeCAD Documentation
Revision as of 10:53, 17 January 2014 by Mario52 (talk | contribs) (Created page with "Pour définir les limites, la ligne suivante doit apparaître avant la balise '''<metadata''' de dans le fichier svg.")

Créer des modèles de feuille pour l'atelier de Mise en plan (Drawing) est très facile. Il s'agit de fichiers SVG qui peuvent être créés avec n'importe quelle application capable d'exporter au format de fichier SVG, tel que Inkscape. Seul deux directives doivent être respectées :

  • Un pixel = un millimètre
  • Vous devez insérer, quelque part dans votre code SVG, et où vous désirez que le contenu de votre dessin apparaisse (par exemple à la fin du fichier, juste avant la dernière balise </svg>), la ligne suivante :
 <!-- DrawingContent -->

En plus de ces deux règles, à partir de FreeCAD 0,14, révision 2995, les informations sur le bloc de la bordure et le cartouche peuvent être ajoutés pour le modèle à utiliser par l'outil de projection orthographique. Ces informations définissent les emplacements où FreeCAD peut et ne peut pas placer les projections.

Pour définir les limites, la ligne suivante doit apparaître avant la balise <metadata de dans le fichier svg.

<!-- Working space X1 Y1 X2 Y2 -->

Where X1, Y1, X2, Y2 are defined as:

  • X1 is the X axis distance from the left edge of the page to the left side of the Border.
  • Y1 is the Y axis distance from the top edge of the page the the top of the Border.
  • X2 is the X axis distance from the left edge of the page to the right side of the Border.
  • Y2 is the Y axis distance from the top edge of the page the the bottom of the Border.

To define the Title block the following line must be inserted before the <metadata tag and after the Working space tag.

<!-- Title block X1a Y1a X2a Y2a -->

Where X1a, Y1a, X2a, Y2a are defined as:

  • X1a is the X axis distance from the left edge of the page to the left side of the Title block
  • Y1a is the Y axis distance from the top edge of the page the the top of the Title block
  • X2a is the X Axis distance from the left edge of the page to the right side of the Title block
  • Y2a is the Y axis distance from the top edge of the page the the bottom of the Title block
  • X1a <= X1 or X2a >= X2
  • Y1a <= Y1 or Y2a >= Y2

The following is an example of the code that defines the Working space and Title block areas that are to be inserted before the <metadata tag. You needn't specify a title block, but if you do it must be defined on the next line immediately following the Working space:

<!-- Working space X1 Y1 X2 Y2 -->
<!-- Title block X1a Y1a X2a Y2a -->


  • Plusieurs attributs personnalisés peuvent être placés dans les modèles. La liste des attributs pris en charge actuellement est disponible sur la page Svg Namespace.


A3 templates

A3 Classic:

A3 Clean:

A3 Modern:

A3 Showcase:

A3 Landscape english:

A4 Templates

A4 Landscape english:

A4 Portrait 1 english:

US Letter Templates

US Letter landscape:


US Letter portrait:

US Letter ds Landscape:

US Legal ds Landscape:

US Ledger ds Landscape:

Autres standards disponibles