Draft tutorial/cs

Introduction
This tutorial is meant to introduce the reader to the basic workflow of the Draft Workbench, which includes the creation of profiles, the use of working planes, and the creation of dimensions, text and annotations. This tutorial uses the notation (X, Y, Z) to denote the coordinates required to define points in an object.



Requirements

 * FreeCAD version 0.16 or above
 * It's assumed the reader has familiarity with the FreeCAD interface Property editor in the Combo view, specifically the Data and View tabs to change an element's properties if desired.

Procedure
It is compulsory to make sure the Draft Snap toolbar is activated in the FreeCAD interface to use in this tutorial. To make the toolbar appear follow the following steps:


 * 1) Start FreeCAD
 * 2) If you haven't opened a new FreeCAD document (most of the FreeCAD window looks greyed-out), from the pull-down menu click  or click the [[Image:Std_New.svg|24px]] Create A New Document tool.
 * 3) Activate the [[Image:Workbench_Draft.svg|24px]] Draft Workbench
 * 4) Select the
 * 5) Verify that the Show Draft Snap toolbar is active

Note: that you can change the visibility of the Grid in this same menu, in case you wish to disable it.

Using Planes
Planes are used to restrict the behaviour of the Draft tools to a specific plane, avoiding problems with the location of points and curves in complex workpieces. Planes can reference the axes of the coordinate system (XY, YZ, ...) or they can use a planar surface in the document as its reference.


 * 1) Select  [[Image:Draft_SelectPlane.svg|24px]] Set working plane. It can be located within the Draft workbench toolbar or inside the
 * 2) Select the XY plane

Creating Profiles
The creation of profiles can be done in several ways. Though it is possible to use simple arcs and lines to do most of the work, FreeCAD includes several tools to speed up the process.

Lines and Arcs

 * 1) Select [[Image:Draft_Arc.svg|24px]] Arc.
 * 2) Set the center at (0, 0, 0)
 * 3) Set the radius to 30 mm
 * 4) The starting angle is 60.0°
 * 5) The aperture is 60.0°

Repeat the same procedure for a second arc with a radius of 25 mm, the other properties remain unchanged.

We will now close the profile with a couple of lines.


 * 1) Select [[Image:Draft_Line.svg|24px]] Line.
 * 2) Approach the Endpoint of either arc. A white point should appear, alongside this [[Image:Snap_Endpoint.svg|24px]] icon when your cursor approaches the endpoint.
 * 3) Select the endpoint of the other arc.
 * 4) Repeat for the other side of the arcs.

Result: We now have several curves that detail a profile, however it is still not recognized as a single entity. It is possible to continue working with the elements intact, though in this case we will fuse them into a single object.

Note: The following actions will alter the way the objects behave, making it hard to edit their properties, so it is best to do any necessary modifications before proceeding.


 * 1) Select an arc and while pressing the  key select the two line segments and the other arc.
 * 2) With these four objects selected, click on the [[Image:Draft_Upgrade.svg|24px]] Upgrade button.

Result: This will upgrade the four objects into a single Wire.

Planes, Rectangles and Circles

 * 1) Click the [[Image:Draft_Rectangle.svg|24px]] Rectangle button
 * 2) Set the first point on (-100, -60, 0). (If Relative appears checked after setting this point deselect it before setting the second point).
 * 3) Set the second point on (140, 90, 0)

Result: is a Plane. Its properties can be modified to remove the filling, by changing its to Wireframe.


 * 1) Select the [[Image:Draft_Circle.svg|24px]] button.
 * 2) Set the center to (0, 0, 0)
 * 3) Set the radius to 15 mm

Polygons

 * 1) Select the [[Image:Draft_Polygon.svg|24px]] Polygon button.
 * 2) The center point is located at (0, 0, 0)
 * 3) Set the number of sides to 6
 * 4) Set the radius to 50 mm

Arrays
Arrays are used to replicate an object several times in a direction, a revolution axis or along a path.
 * 1) Select the Wire that was previously created
 * 2) Click  [[Image:Draft_Array.svg|24px]] Array
 * 3) In the Data tab of the object, change the  from ortho to polar
 * 4) Change  from 1 to 4

Adding Dimensions
Dimensions require a constant use of Snapping Constraints to properly select the points that one wishes to dimension. The Snapping toolbar is used to change the possible points that can be selected.


 * 1) Select [[Image:Draft_Dimension.svg|32px]] Dimension
 * 2) Select the first point. This can be either an existing element or specified by coordinates. For this tutorial, the first point will always be (0, 0, 0)
 * 3) Select the second point. Approach the midpoint of the top line of the polygon. A white point should appear alongside this icon [[Image:Snap_Midpoint.svg|32px]]
 * 4) Move the cursor to the desired location of the dimension and click on it.
 * 5) Change the font size on the View tab to 6 mm

Repeat the process for the arcs and circles.

Annotations and Text
There is a slight difference between the two: it is only possible to use the second one as a profile to perform 3D operations.

Annotations

 * 1) Select the [[Image:Draft_Text.svg|24px]] Text button.
 * 2) Select the reference point in the 3D View. In this case, the midpoint of the top arc.
 * 3) Enter your text and press
 * 4) Repeat for as many lines of text as you wish to input.
 * 5) Press

Text

 * 1) Select the [[Image:Draft_ShapeString.svg|24px]] ShapeString button.
 * 2) Select the reference point in the 3D View. This can be an existing point or the current cursor location.
 * 3) Enter your text and press
 * 4) Set the desired font size
 * 5) Leave tracking at 0 mm
 * 6) Select the path to the font file that you wish to use

Creating Blueprints
To create blueprints, it is necessary to create a Technical Drawing with the elements that you wish to use. Please read the Drawing tutorial for a detailed description.

Important Note: Drawing WB was deprecated in FreeCAD v0.16 and replaced by the TechDraw Workbench. Although the author of this tutorial also created the Drawing Tutorial, it would be better for the reader to familiarize themselves with Basic tutorials of TechDraw, such as Basic_TechDraw_Tutorial.

End
We are now finished with the basic workflow for the Draft Workbench.

Recommended Lectures

 * For a detailed description of the workbench, please see Draft Workbench
 * To know more about the Snapping controls, see Draft Snap