Draft Workbench: Difference between revisions

From FreeCAD Documentation
(Moved to preferences, instead of file format)
(Second level headings, not third level)
Line 4: Line 4:
The Draft workbench allows you to quickly draw simple 2D objects in the current document, and offers several tools to modify them afterwards. Some of these tools also work on other objects, not only those created with the Draft Workbench. It also provides a complete snapping system, and several utilities to manage objects and settings.
The Draft workbench allows you to quickly draw simple 2D objects in the current document, and offers several tools to modify them afterwards. Some of these tools also work on other objects, not only those created with the Draft Workbench. It also provides a complete snapping system, and several utilities to manage objects and settings.


===Drawing objects=== <!--T:16-->
== Drawing objects == <!--T:16-->


<!--T:17-->
<!--T:17-->
Line 26: Line 26:
* [[Image:Draft_Label.png|32px]] [[Draft_Label|Label]]: places a label with an arrow pointing to a selected element. {{Version|0.17}}
* [[Image:Draft_Label.png|32px]] [[Draft_Label|Label]]: places a label with an arrow pointing to a selected element. {{Version|0.17}}


===Modifying objects=== <!--T:19-->
== Modifying objects == <!--T:19-->


<!--T:20-->
<!--T:20-->
Line 53: Line 53:
* [[Image:Draft_Stretch.png|32px]] [[Draft_Stretch|Stretch]]: stretches the selected objects. {{Version|0.17}}
* [[Image:Draft_Stretch.png|32px]] [[Draft_Stretch|Stretch]]: stretches the selected objects. {{Version|0.17}}


===Utility tools=== <!--T:22-->
== Utility tools == <!--T:22-->


<!--T:23-->
<!--T:23-->
Line 80: Line 80:
* [[Image:Draft_ToggleConstructionMode.png|32px]] [[Draft_AddConstruction|Add to Construction group]]: Add selected objects to the Construction group {{Version|0.17}}
* [[Image:Draft_ToggleConstructionMode.png|32px]] [[Draft_AddConstruction|Add to Construction group]]: Add selected objects to the Construction group {{Version|0.17}}


===Preferences=== <!--T:25-->
== Preferences == <!--T:25-->


<!--T:28-->
<!--T:28-->
Line 86: Line 86:
* [[Image:Preferences-import-export.svg|32px]] [[Import_Export_Preference|Import-Export Preferences]]: preferences available for the import and export of different file formats.
* [[Image:Preferences-import-export.svg|32px]] [[Import_Export_Preference|Import-Export Preferences]]: preferences available for the import and export of different file formats.


===File formats=== <!--T:3-->
== File formats == <!--T:3-->


<!--T:15-->
<!--T:15-->
Line 103: Line 103:
* [[FreeCAD_and_DXF_Import|FreeCAD and DXF Import]]: Import and exports DXF files
* [[FreeCAD_and_DXF_Import|FreeCAD and DXF Import]]: Import and exports DXF files


===Additional features=== <!--T:6-->
== Additional features == <!--T:6-->


<!--T:7-->
<!--T:7-->
Line 110: Line 110:
* [[Draft_Coordinates|Working with manual coordinates]]: Allows to enter manual coordinates instead of clicking on screen
* [[Draft_Coordinates|Working with manual coordinates]]: Allows to enter manual coordinates instead of clicking on screen


===Scripting=== <!--T:10-->
== Scripting == <!--T:10-->


<!--T:11-->
<!--T:11-->
The Draft module features a complete [[Draft API|Draft API]] so you can use its functions in scripts and macros
The Draft module features a complete [[Draft API|Draft API]] so you can use its functions in scripts and macros


===Tutorials=== <!--T:14-->
== Tutorials == <!--T:14-->
* [[Draft_tutorial|Draft tutorial]]
* [[Draft_tutorial|Draft tutorial]]
* [[Draft_tutorial_Outdated|Draft tutorial Outdated]]
* [[Draft_tutorial_Outdated|Draft tutorial Outdated]]

Revision as of 23:19, 21 November 2018

The Draft workbench allows you to quickly draw simple 2D objects in the current document, and offers several tools to modify them afterwards. Some of these tools also work on other objects, not only those created with the Draft Workbench. It also provides a complete snapping system, and several utilities to manage objects and settings.

Drawing objects

These are tools for creating objects.

  • Line: draws a line segment between two 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 center, radius, and number of sides.
  • Rectangle: draws a rectangle from two corner 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: inserts a compound shape representing a text string at a given point.
  • 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.

Utility tools

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

Preferences

  • Preferences: preferences available for the drawing tools of the Draft Workbench.
  • Import-Export Preferences: preferences available for the import and export of different file formats.

File formats

Import-Export Preferences

The Draft module provides FreeCAD with importers and exporters for the following file formats:

Additional features

  • Snapping: Allows to place new points on special places on existing objects
  • Constraining: Allows to place new points horizontally or vertically in relation to previous points
  • Working with manual coordinates: Allows to enter manual coordinates instead of clicking on screen

Scripting

The Draft module features a complete Draft API so you can use its functions in scripts and macros

Tutorials

Image Module
Arch Module