TechDraw Workbench

Introduction
The TechDraw Workbench is used to produce basic technical drawings from 3D models created with another workbench such as Part, PartDesign, or Arch, or imported from other applications. Each drawing is a Page, which can contain various Views of drawable objects such as Part::Features, PartDesign::Bodies, App::Part groups, and Document Object groups. The resulting drawings can be used for things like documentation, manufacturing instructions, contracts, permits, etc.

Dimensions, sections, hatched areas, annotations, and SVG symbols can be added to the page, which can be further exported to different formats like DXF, SVG, and PDF.

TechDraw was officially included in FreeCAD starting with version 0.17; it is intended to replace the unsupported Drawing Workbench. Both workbenches are still provided in v0.17, but the Drawing Workbench may be removed in future releases. To keep up with TechDraw plans and developments, visit the TechDraw Roadmap.

FreeCAD is primarily a 3D modelling application, and thus doesn't have many 2D drawing tools, which are mostly included in the Draft and Sketcher Workbenches. If your primary goal is the production of complex 2D drawings and DXF files, and you don't need 3D modelling, you may wish to consider a dedicated software program for technical drafting such as LibreCAD, QCad, TurboCad, and others.



Pages
These are tools for creating Page objects.


 * TechDraw_New_Default.png New Default: adds a new page using the default template.


 * TechDraw_New_Pick.png New Pick: adds a new page using a selected template.

Views
These are tools for creating View objects.


 * [[Image:techdraw-view.png|32px]] New View: adds a 2D projection view of an object.


 * [[Image:techdraw-projgroup.png|32px]] New Projection Group: invokes a dialog to create many views of an object from multiple directions.


 * [[Image:techdraw-viewsection.png|32px]] New Section: adds a cross-section view of an existing view.


 * [[Image:techdraw-viewdetail.png|32px]] New Detail: adds a detail view of a portion of an existing view.


 * [[Image:techdraw-annotation.png|32px]] New Annotation: adds a text block to serve as an annotation.


 * [[Image:techdraw-draft-view.png|32px]] New Draft: adds a view of a Draft Workbench object.


 * [[Image:techdraw-arch-view.png|32px]] New Arch: adds a view of a Arch Workbench SectionPlane object.


 * [[Image:techdraw-spreadsheet.svg|32px]] Spreadsheet: inserts a view of a Spreadsheet Workbench sheet.

Clips
These are tools to create and manage Clip objects (clipped views).


 * [[Image:techdraw-clip.svg|32px]] Clip: inserts a clip group into a page.


 * [[Image:techdraw-clipplus.svg|32px]] ClipPlus: adds an existing view to a clip group.


 * [[Image:techdraw-clipminus.svg|32px]] ClipMinus: removes a view from a clip group.

Dimensions
These are tools for creating and working with Dimension objects.

Linear dimensions can be based on two points, on one line, or on two lines.


 * Dimension_Length.png New Length: adds a length dimension.


 * Dimension_Horizontal.png New Horizontal: adds a horizontal length dimension.


 * Dimension_Vertical.png New Vertical: adds a vertical length dimension.


 * Dimension_Radius.png New Radius: adds a radius dimension to a circle or circular arc.


 * Dimension_Diameter.png New Diameter: adds a diameter dimension to a circle or a circular arc.


 * Dimension_Angle.png New Angle: adds an angle dimension between two straight edges.


 * TechDraw_Dimension_Angle3Pt.png New Angle3Pt: adds an angle dimension using three vertices.


 * Dimension_Link.png New Links: links an existing dimension to the 3D geometry.

Import/Export
These are tools for exporting pages to other applications.


 * [[Image:techdraw-saveSVG.svg|32px]] Save SVG: saves a page as an SVG file.
 * [[Image:techdraw-saveDXF.svg|32px]] Save DXF: saves a page as a DXF file.

Decoration
These are tools for changing the appearance of pages and views.


 * [[Image:techdraw-hatch.png|32px]] Hatch Area: applies a hatch pattern from a file to a face.


 * [[Image:techdraw-geomhatch.png|32px]] Geometric Hatch: applies a hatch pattern to a face using an Autodesk PAT specification.


 * [[Image:techdraw-symbol.png|32px]] New Symbol: inserts an SVG symbol into a page.


 * [[Image:Techdraw-image.png|32px]] New Image: inserts a PNG or JPG bitmap image into a page.


 * [[Image:techdraw-toggleframe.png|32px]] Toggle Frames: turns on and off the frames and labels surrounding a view.


 * [[Image:TechDraw_Tree_Page_Sync.png|24px]] Redraw: The Redraw tool attempts to redraw a page without recalculating the 3D model.

Additional features

 * Hatching: explanation of the different hatching techniques.
 * Line Groups: default weights can be assigned to various line types.
 * Templates: the default templates defined for the drawing pages.

Preferences

 * [[Image:Preferences-techdraw.svg|32px]] Preferences: preferences for the default values of the drawing page such as projection angle, colors, text sizes, and line styles.

Scripting
The TechDraw tools can be used in macros and from the Python console by using two APIs.
 * TechDraw API
 * TechDrawGui API

Limitations

 * TechDraw drawings and its API are not interchangeable with the Drawing Workbench and its API. It is possible to convert Drawing Pages to TechDraw Pages using a Python script.
 * It is possible to have both TechDraw and Drawing Pages in the same FreeCAD document, as each page is completely independent from each other.
 * There are minor differences in specifying editable texts in SVG templates compared to the Drawing module. In TechDraw the scaling of the SVG document affects the position of the editable text fields. See the forum discussion TechDraw templates scale for more details.
 * Do not cut, copy and paste TechDraw objects in the tree view as this generally does not work out well.

Tutorials

 * Basic TechDraw Tutorial: introduction to creating drawings with the TechDraw Workbench.
 * Creating a new template: instructions to create a new page template in Inkscape for using with the TechDraw Workbench.