Atelier Draft

From FreeCAD Documentation
Revision as of 11:13, 27 May 2018 by Mario52 (talk | contribs) (Created page with "Les outils de création d'objets.")

La Planche à dessin (ou atelier Draft) est un module expérimental en cours de développement conçu pour ajouter des fonctionnalités basiques de dessin en deux dimensions à FreeCAD. Il est entièrement programmé en python, et a également pour but de démontrer comment accroître les possibilités de FreeCAD entièrement en python, sans même toucher au code source.

Dessin d'objets

Les outils de création d'objets.

  • Line: Draws a line segment between 2 points
  • Wire: Draws a line made of multiple line segments (polyline)
  • Circle: Draws a circle from center and radius
  • Arc: Draws an arc segment from center, radius, start angle and end angle
  • Ellipse: Draws an ellipse from two corner points
  • Polygon: Draws a regular polygon from a center and a radius
  • Rectangle: Draws a rectangle from 2 opposite points
  • Text: Draws a multi-line text annotation
  • Dimension: Draws a dimension annotation
  • BSpline: Draws a B-Spline from a series of points
  • Point: Inserts a point object
  • ShapeString: The ShapeString tool inserts a compound shape representing a text string at a given point in the current document
  • Facebinder: Creates a new object from selected faces on existing objects
  • Bezier Curve: Draws a Bezier curve from a series of points
  • Label: Places a label with an arrow pointing to a selected element introduced in version 0.17

Modifying objects

These are tools for modifying existing objects. They work on selected objects, but if no object is selected, you will be invited to select one.

  • Move: Moves object(s) from one location to another
  • Rotate: Rotates object(s) from a start angle to an end angle
  • Offset: Moves segments of an object about a certain distance
  • Trim/Extend (Trimex): Trims or extends an object
  • Upgrade: Joins objects into a higher-level object
  • Downgrade: Explodes objects into lower-level objects
  • Scale: Scales selected object(s) around a base point
  • Drawing: Writes selected objects to a Drawing sheet
  • Edit: Edits a selected object
  • Wire to BSpline: Converts a wire to a BSpline and vice-versa
  • Add point: Adds a point to a wire or BSpline
  • Delete point: Deletes a point from a wire or BSpline
  • Shape 2D View: Creates a 2D object which is a flattened 2D view of another 3D object
  • Draft to Sketch: Converts a Draft object to Sketch and vice-versa
  • Array: Creates a polar or rectangular array from selected objects
  • Path Array: Creates an array of objects by placing the copies along a path
  • Clone: Clones the selected objects
  • Mirror: Mirrors the selected objects
  • Stretch: Stretches the selected objects introduced in version 0.17

Utility tools

Additional tools available via right-click context menu, depending on the selected objects.

Preferences

Formats de fichiers

Les formats de fichiers reconnus à l'heure actuelle sont :


Fonctions additionnelles

  • Accrochage: Permet de place de nouveau points en des endroits spécifiques sur des objets existants
  • Contraindre: Permet de placer des points horizontalement ou verticalement en relation aux points précédents
  • Saisir des coordonnées manuelles: Permet de saisir des coordonnées manuellement plutôt que de cliquer à l'écran
  • Plan de travail: permet de définir un plan dans l'espace tridimensionnel, où les prochaines opérations auront lieu.

Script

Consultez la page Draft API pour obtenir une description complète des fonctions que vous pouvez utiliser dans les scripts et les macros.

Tutorials