Difference between revisions of "TechDraw Module/zh"

From FreeCAD Documentation
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 103: Line 103:
The TechDraw Workbench features a [[Python]] API that can be used in scripts and [[macros]].
The TechDraw Workbench features a [[Python]] API that can be used in scripts and [[macros]].
* [[TechDraw_API]]
* [[TechDraw API]]
* [[TechDrawGui_API]]
* [[TechDrawGui API]]

Revision as of 21:06, 27 October 2018

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎hrvatski • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎svenska • ‎čeština • ‎български • ‎русский • ‎українська • ‎中文 • ‎中文(中国大陆)‎ • ‎中文(台灣)‎ • ‎中文(繁體)‎ • ‎日本語


FreeCAD is primarily a 3D modelling tool. There are times, however, when we must produce 2D drawings for documentation, contracts, permits, etc. The Technical Drawing workbench (TechDraw) is used to produce basic technical drawings based on the 3D model. Each drawing is a Page, and a Page contains many Views of Drawable Objects. The list of Drawable Objects includes Part::Features, PartDesign::Bodies, App::Part groups and Document Object groups.

Dimensions and hatched areas can be added to Views.

Note: if your primary goal is the production of complex 2D drawings, and you don't need 3D modelling, you may wish to consider a dedicated software program such as LibreCad, QCad, TurboCad, and others.

introduced in version 0.17

TechDraw Workbench Example.png


These are tools for creating Pages.


These are tools for creating Views.

  • Techdraw-view.png New View: Adds a 2D View of a one or more Drawable Objects.
  • Techdraw-projgroup.png New Projection Group: Invokes a dialog for creating Views of one or more Drawable Objects from multiple directions.
  • Techdraw-viewsection.png New Section: Adds a cross-section View of one or more Drawable Objects.
  • Techdraw-viewdetail.png New Detail: Adds a detail View of a portion of an existing View.
  • Techdraw-draft-view.png New Draft: Adds a View of a Draft module object.
  • Techdraw-arch-view.png New Arch: Adds a View of a Arch module Section Plane object.


These are tools to create and manage clipped views.

  • TechDraw Clip.svg Clip: Inserts a clip group into a Page.
  • TechDraw ClipMinus.svg ClipMinus: Removes a View from a clip group.


These are tools for working with Dimensions. Linear dimensions can be based on two points, one line or two lines.

  • Techdraw Dimension Radius.png New Radius: Adds a Radius dimension to a circle or circular arc.
  • Techdraw Dimension Diameter.png New Diameter: Adds a Diameter dimension to a circle or a circular arc.
  • Techdraw 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.
  • Techdraw Dimension Link.png New Links: Links 1 or more Dimensions to 3D geometry.


These are tools for exporting Pages to other applications.


These are tools for changing the appearance of Pages and Views.

  • Techdraw-hatch.png Hatch Area: Applies a hatch pattern from a file to a Face.
  • Techdraw-image.png New Image: Inserts a png/jpg image into a Page.
  • Techdraw-toggleframe.png Toggle Frames: Turns View frames and labels on or off in a Page.

Additional features

  • Hatching: TechDraw supports a number of hatching techniques.
  • Line Groups: default weights can be assigned to various line types.

Preference settings

The TechDraw module has a preferences screen to adjust default values.


The TechDraw Workbench features a Python API that can be used in scripts and macros.


  • TechDraw drawings and Python API are not interchangeable with the Drawing module. It is possible to convert Drawing Pages to TechDraw Pages using Python (moveViews.py). It is possible to have both TechDraw and Drawing Pages in the same FreeCAD document.
  • There are minor differences in specifying Editable Texts in Templates compared to the Drawing module. See forum discussion here.
  • TechDraw is available starting with FreeCAD 0.17.
  • Do not Cut/Copy/Paste TechDraw objects. This does not generally work out well.


  • None required at the moment.

Keep up with TechDraw plans and developments. Visit the TechDraw Roadmap.