TechDraw Workbench

From FreeCAD Documentation
Revision as of 17:36, 4 January 2023 by Wandererfan (talk | contribs)
TechDraw workbench icon

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. The Drawing Workbench is still provided in v0.20, but will not be available in future releases (version 1.0 and above). To keep up with TechDraw plans and developments, visit the TechDraw Roadmap.

If your primary goal is the production of complex 2D drawings and DXF files, and you don't need 3D modelling, FreeCAD may not be the right choice for you. You may wish to consider a dedicated software program for technical drafting instead, such as LibreCAD or QCad.

Pages

These are tools for creating Page objects.

Views

These are tools for creating View objects.

  • Insert Section Views:

Stacking

These are tools for changing the stacking order which controls the apparent depth of views on a page.

  • Adjust Stacking Order:

Clips

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

Decorations

These are tools to decorate pages or views:

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.

  • Insert Extent Dimensions:

Annotations

The annotation tools are for "marking up" a drawing with additional information.

  • Add Cosmetic Vertices:
  • Add Centerlines:

Extensions

These are tools to improve your TechDraw drawings.

Attributes and modifications

  • Change Length of Cosmetic Lines or Centerlines:
  • Align Dimensions:
  • Evenly Space Dimensions:

Centerlines and threading

  • Add Centerlines:
  • Add Cosmetic Threads:
  • Add Cosmetic Circles or Arcs:
  • Add Cosmetic Parallel or Perpendicular Lines:

Dimensions

  • Create Chain Dimensions:
  • Create Coordinate Dimensions:
  • Create Chamfer Dimensions:
  • Insert Prefix:
  • Change Decimal Places:

Export

These are tools for exporting pages to other applications.

Additional features

Preferences

  • 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. For more information see:

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 (moveViews.py).
  • 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.
  • Do not drag TechDraw objects in the Tree view with the mouse.

Tutorials

A "few" added lines of code result in a tool like the Macro TemplateHelper.

Video tutorials by sliptonic