Draft Workbench/pt: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
The Draft workbench allows 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 all other FreeCAD 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===
===Drawing objects===

These are tools for creating objects.
These are tools for creating objects.

* [[Image:Draft_Line.png|32px]] [[Draft_Line|Line]]: Draws a line segment between 2 points
* [[Image:Draft_Line.png|32px]] [[Draft_Line|Line]]: Draws a line segment between 2 points
* [[Image:Draft_Wire.png|32px]] [[Draft_Wire|Wire]]: Draws a line made of multiple line segments (polyline)
* [[Image:Draft_Wire.png|32px]] [[Draft_Wire|Wire]]: Draws a line made of multiple line segments (polyline)
Line 8: Line 11:
* [[Image:Draft_Arc.png|32px]] [[Draft_Arc|Arc]]: Draws an arc segment from center, radius, start angle and end angle
* [[Image:Draft_Arc.png|32px]] [[Draft_Arc|Arc]]: Draws an arc segment from center, radius, start angle and end angle
* [[Image:Draft_Ellipse.png|32px]] [[Draft_Ellipse|Ellipse]]: Draws an ellipse from two corner points
* [[Image:Draft_Ellipse.png|32px]] [[Draft_Ellipse|Ellipse]]: Draws an ellipse from two corner points
* [[Image:Draft_Polygon.png|32px]] [[Draft_Polygon|Polygon]]: Draws a regular polygon from a center and a radius
* [[Image:Draft_Polygon.png|32px]] [[Draft_Polygon|Polygon]]: Draws a regular polygon from center, radius, and number of sides
* [[Image:Draft_Rectangle.png|32px]] [[Draft_Rectangle|Rectangle]]: Draws a rectangle from 2 opposite points
* [[Image:Draft_Rectangle.png|32px]] [[Draft_Rectangle|Rectangle]]: Draws a rectangle from 2 opposite points
* [[Image:Draft_Text.png|32px]] [[Draft_Text|Text]]: Draws a multi-line text annotation
* [[Image:Draft_Text.png|32px]] [[Draft_Text|Text]]: Draws a multi-line text annotation
Line 14: Line 17:
* [[Image:Draft_BSpline.png|32px]] [[Draft_BSpline|BSpline]]: Draws a B-Spline from a series of points
* [[Image:Draft_BSpline.png|32px]] [[Draft_BSpline|BSpline]]: Draws a B-Spline from a series of points
* [[Image:Draft_Point.png|32px]] [[Draft_Point|Point]]: Inserts a point object
* [[Image:Draft_Point.png|32px]] [[Draft_Point|Point]]: Inserts a point object
* [[Image:Draft_ShapeString.png|32px]] [[Draft_ShapeString|ShapeString]]: The ShapeString tool inserts a compound shape representing a text string at a given point in the current document
* [[Image:Draft_ShapeString.png|32px]] [[Draft_ShapeString|ShapeString]]: inserts a compound shape representing a text string at a given point
* [[Image:Draft_Facebinder.png|32px]] [[Draft_Facebinder|Facebinder]]: Creates a new object from selected faces on existing objects
* [[Image:Draft_Facebinder.png|32px]] [[Draft_Facebinder|Facebinder]]: Creates a new object from selected faces on existing objects
* [[Image:Draft_BezCurve.png|32px]] [[Draft_BezCurve|Bezier Curve]]: Draws a Bezier curve from a series of points
* [[Image:Draft_BezCurve.png|32px]] [[Draft_BezCurve|Bezier Curve]]: Draws a Bezier curve from a series of points
* [[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===
===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.
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.

* [[Image:Draft_Move.png|32px]] [[Draft_Move|Move]]: Moves object(s) from one location to another
* [[Image:Draft_Rotate.png|32px]] [[Draft_Rotate|Rotate]]: Rotates object(s) from a start angle to an end angle
* [[Image:Draft_Move.png|32px]] [[Draft_Move|Move]]: Moves objects from one location to another
* [[Image:Draft_Offset.png|32px]] [[Draft_Offset|Offset]]: Moves segments of an object about a certain distance
* [[Image:Draft_Rotate.png|32px]] [[Draft_Rotate|Rotate]]: Rotates objects from a start angle to an end angle
* [[Image:Draft_Offset.png|32px]] [[Draft_Offset|Offset]]: offsets segments of an object a certain distance
* [[Image:Draft_Trimex.png|32px]] [[Draft_Trimex|Trim/Extend (Trimex)]]: Trims or extends an object
* [[Image:Draft_Trimex.png|32px]] [[Draft_Trimex|Trim/Extend (Trimex)]]: Trims or extends an object
* [[Image:Draft_Upgrade.png|32px]] [[Draft_Upgrade|Upgrade]]: Joins objects into a higher-level object
* [[Image:Draft_Upgrade.png|32px]] [[Draft_Upgrade|Upgrade]]: Joins objects into a higher-level object
* [[Image:Draft_Downgrade.png|32px]] [[Draft_Downgrade|Downgrade]]: Explodes objects into lower-level objects
* [[Image:Draft_Downgrade.png|32px]] [[Draft_Downgrade|Downgrade]]: Explodes objects into lower-level objects
* [[Image:Draft_Scale.png|32px]] [[Draft_Scale|Scale]]: Scales selected object(s) around a base point
* [[Image:Draft_Scale.png|32px]] [[Draft_Scale|Scale]]: Scales selected objects around a base point
* [[Image:Draft_PutOnSheet.png|32px]] [[Draft_Drawing|Drawing]]: Writes selected objects to a [[Drawing Module|Drawing sheet]]
* [[Image:Draft_Edit.png|32px]] [[Draft_Edit|Edit]]: Edits a selected object
* [[Image:Draft_Edit.png|32px]] [[Draft_Edit|Edit]]: Edits a selected object
* [[Image:Draft_WireToBSpline.png|32px]] [[Draft_WireToBSpline|Wire to BSpline]]: Converts a wire to a BSpline and vice-versa
* [[Image:Draft_WireToBSpline.png|32px]] [[Draft_WireToBSpline|Wire to BSpline]]: Converts a wire to a BSpline and vice-versa
* [[Image:Draft_AddPoint.png|32px]] [[Draft_AddPoint|Add point]]: Adds a point to a wire or BSpline
* [[Image:Draft_AddPoint.png|32px]] [[Draft_AddPoint|Add point]]: Adds a point to a wire or BSpline
* [[Image:Draft_DelPoint.png|32px]] [[Draft_DelPoint|Delete point]]: Deletes a point from a wire or BSpline
* [[Image:Draft_DelPoint.png|32px]] [[Draft_DelPoint|Delete point]]: Deletes a point from a wire or BSpline
* [[Image:Draft_Shape2DView.png|32px]] [[Draft_Shape2DView|Shape 2D View]]: Creates a 2D object which is a flattened 2D view of another 3D object
* [[Image:Draft_Shape2DView.png|32px]] [[Draft_Shape2DView|Shape 2D View]]: Creates a 2D object which is a flattened 2D view of a 3D object
* [[Image:Draft_Draft2Sketch.png|32px]] [[Draft_Draft2Sketch|Draft to Sketch]]: Converts a Draft object to Sketch and vice-versa
* [[Image:Draft_Draft2Sketch.png|32px]] [[Draft_Draft2Sketch|Draft to Sketch]]: Converts a Draft object to a [[Sketcher Workbench]] Sketch and vice-versa
* [[Image:Draft_Array.png|32px]] [[Draft_Array|Array]]: Creates a polar or rectangular array from selected objects
* [[Image:Draft_Array.png|32px]] [[Draft_Array|Array]]: Creates a polar or rectangular array from selected objects
* [[Image:Draft_PathArray.png|32px]] [[Draft_PathArray|Path Array]]: Creates an array of objects by placing the copies along a path
* [[Image:Draft_PathArray.png|32px]] [[Draft_PathArray|Path Array]]: Creates an array of objects by placing the copies along a path
* [[Image:Draft_PointArray.svg|32px]] [[Draft_PointArray|Point Array]]: Creates an array of objects by placing the copies at certain points {{version|0.18}}
* [[Image:Draft_Clone.png|32px]] [[Draft_Clone|Clone]]: Clones the selected objects
* [[Image:Draft_Clone.png|32px]] [[Draft_Clone|Clone]]: Clones the selected objects
* [[Image:Draft_PutOnSheet.png|32px]] [[Draft_Drawing|Drawing]]: Writes selected objects to a [[Drawing Workbench]] page
* [[Image:Draft_Mirror.png|32px]] [[Draft_Mirror|Mirror]]: Mirrors the selected objects
* [[Image:Draft_Mirror.png|32px]] [[Draft_Mirror|Mirror]]: Mirrors the selected objects
* [[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===
===Utility tools===

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

* [[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 wire or bspline, without closing it
Line 61: Line 71:
* [[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]]: Add a proxy object in the document to store a [[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===
===Preferences===

* [[Image:Std_DlgParameter.png|32px]] [[Draft_Preferences|Preferences...]]: Preferences disposable in Draft Tools.
* [[Image:Std_DlgParameter.png|32px]] [[Draft_Preferences|Preferences...]]: Preferences available in the Draft Workbench.


===File formats===
===File formats===
Line 99: Line 111:
</div>
</div>


<div class="mw-translate-fuzzy">
[[Category:User_Documentation/pt]]
[[Category:User_Documentation/pt]]
</div>

Revision as of 21:28, 11 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 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 center, radius, and number of sides
  • 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: 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

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
  • Working plane: Allows you to define a plane in the 3D space, where next operations will take place

Scripting

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

Raytracing Module/pt
Arch Module/pt