Draft Workbench: Difference between revisions

From FreeCAD Documentation
(Use the correct icon for the preferences)
(Lowercase and full stops. Added links to the mentioned tools)
Line 56: Line 56:


<!--T:23-->
<!--T:23-->
Additional tools available via right-click context menu, depending on the selected objects.
Additional tools available from the menu {{MenuCommand|Draft → Utilities}}, or via the right-click context menu, depending on the selected object.


<!--T:24-->
<!--T:24-->
* [[Image:Draft_SelectPlane.png|32px]] [[Draft_SelectPlane|Set working plane]]: Sets a working plane from a standard view or a selected face
* [[Image:Draft_SelectPlane.png|32px]] [[Draft_SelectPlane|Set working plane]]: sets a working plane from a standard view or a selected face.
* [[Image:Draft_FinishLine.png|32px]] [[Draft_FinishLine|Finish line]]: Ends the drawing of the current wire or bspline, without closing it
* [[Image:Draft_FinishLine.png|32px]] [[Draft_FinishLine|Finish line]]: ends the drawing of the current [[Draft Wire]] or [[Draft BSpline]], without closing it.
* [[Image:Draft_CloseLine.png|32px]] [[Draft_CloseLine|Close line]]: Ends the drawing of the current wire or bspline, and closes it
* [[Image:Draft_CloseLine.png|32px]] [[Draft_CloseLine|Close line]]: ends the drawing of the current [[Draft Wire]] or [[Draft BSpline]], and closes it.
* [[Image:Draft_UndoLine.png|32px]] [[Draft_UndoLine|Undo line]]: Undoes the last segment of a line
* [[Image:Draft_UndoLine.png|32px]] [[Draft_UndoLine|Undo line]]: undoes the last segment of a [[Draft Wire]].
* [[Image:Draft_ToggleConstructionMode.png|32px]] [[Draft_ToggleConstructionMode|Toggle construction mode]]: Toggles the Draft construction mode on/off
* [[Image:Draft_ToggleConstructionMode.png|32px]] [[Draft_ToggleConstructionMode|Toggle construction mode]]: toggles the Draft construction mode on or off.
* [[Image:Draft_ToggleContinueMode.png|32px]] [[Draft_ToggleContinueMode|Toggle continue mode]]: Toggles the Draft continue mode on/off
* [[Image:Draft_ToggleContinueMode.png|32px]] [[Draft_ToggleContinueMode|Toggle continue mode]]: toggles the Draft continue mode on or off.
* [[Image:Draft_ApplyStyle.png|32px]] [[Draft_Apply|Apply style]]: Applies the current style and color to selected objects
* [[Image:Draft_ApplyStyle.png|32px]] [[Draft_Apply|Apply style]]: applies the current style and color to selected objects.
* [[Image:Draft_ToggleDisplayMode.png|32px]] [[Draft_ToggleDisplayMode|Toggle display mode]]: Switches the display mode of selected objects between "flat lines" and "wireframe"
* [[Image:Draft_ToggleDisplayMode.png|32px]] [[Draft_ToggleDisplayMode|Toggle display mode]]: switches the display mode of selected objects between "Flat Lines" and "Wireframe".
* [[Image:Draft_AddToGroup.png|32px]] [[Draft_AddToGroup|Add to group]]: Quickly adds selected objects to an existing group
* [[Image:Draft_AddToGroup.png|32px]] [[Draft_AddToGroup|Add to group]]: quickly adds selected objects to an existing [[Std Group]] or [[Draft VisGroup]].
* [[Image:Draft_SelectGroup.png|32px]] [[Draft_SelectGroup|Select group contents]]: Selects the contents of a selected group
* [[Image:Draft_SelectGroup.png|32px]] [[Draft_SelectGroup|Select group contents]]: selects the contents of a selected [[Std Group]] or [[Draft VisGroup]].
* [[Image:Draft_ToggleSnap.png|32px]] [[Draft_ToggleSnap|Toggle snap]]: Toggles [[Draft Snap|object snapping]] on/off
* [[Image:Draft_ToggleSnap.png|32px]] [[Draft_ToggleSnap|Toggle snap]]: toggles [[Draft Snap|object snapping]] on or off.
* [[Image:Draft_ToggleGrid.png|32px]] [[Draft_ToggleGrid|Toggle grid]]: Toggles the grid on/off
* [[Image:Draft_ToggleGrid.png|32px]] [[Draft_ToggleGrid|Toggle grid]]: toggles the visibility of the grid on or off.
* [[Image:Draft_ShowSnapBar.png|32px]] [[Draft_ShowSnapBar|Show snap bar]]: Shows/hides the [[Draft Snap|snapping]] toolbar
* [[Image:Draft_ShowSnapBar.png|32px]] [[Draft_ShowSnapBar|Show snap bar]]: shows or hides the [[Draft Snap]] toolbar.
* [[Image:Draft_Heal.png|32px]] [[Draft_Heal|Heal]]: Heals problematic Draft objects found in very old files
* [[Image:Draft_Heal.png|32px]] [[Draft_Heal|Heal]]: heals problematic Draft objects found in very old files.
* [[Image:Draft_FlipDimension.png|32px]] [[Draft_FlipDimension|Flip Dimension]]: Flips the orientation of the text of a [[Draft Dimension|dimension]]
* [[Image:Draft_FlipDimension.png|32px]] [[Draft_FlipDimension|Flip Dimension]]: flips the orientation of the text of a [[Draft Dimension]].
* [[Image:Draft_VisGroup.png|32px]] [[Draft_VisGroup|VisGroup]]: Creates a VisGroup in the current document
* [[Image:Draft_VisGroup.png|32px]] [[Draft_VisGroup|VisGroup]]: creates a VisGroup in the current document.
* [[Image:Draft_Slope.png|32px]] [[Draft Slope|Slope]]: Changes the slope of selected Lines or Wires {{Version|0.17}}
* [[Image:Draft_Slope.png|32px]] [[Draft Slope|Slope]]: changes the elevation slope of the currently selected [[Draft Line]] or [[Draft Wire]]. {{Version|0.17}}
* [[Image:Draft_AutoGroup.png|32px]] [[Draft AutoGroup|AutoGroup]]: Automatically place new objects in a given group {{Version|0.17}}
* [[Image:Draft_AutoGroup.png|32px]] [[Draft AutoGroup|AutoGroup]]: automatically place new objects in a given [[Std Group]] or [[Draft VisGroup]]. {{Version|0.17}}
* [[Image:Draft_SetWorkingPlaneProxy.png|32px]] [[Draft SetWorkingPlaneProxy|Set Working Plane Proxy]]: Add a proxy object in the document to store a [[Draft_SelectPlane|Working Plane]] position {{Version|0.17}}
* [[Image:Draft_SetWorkingPlaneProxy.png|32px]] [[Draft SetWorkingPlaneProxy|Set Working Plane Proxy]]: create a proxy object to store the current [[Draft_SelectPlane|Working Plane]] position. {{Version|0.17}}
* [[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-->

Revision as of 00:02, 22 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 from the menu Draft → Utilities, or via the right-click context menu, depending on the selected object.

Preferences

  • Preferences: general preferences for the working plane and the drawing tools.
  • Import-Export Preferences: preferences available for importing from and exporting to different file formats.

File formats

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