TechDraw Workbench: Difference between revisions

From FreeCAD Documentation
(Making sure ==Introduction== is in a new translation unit; deleting translation unit <!--17--> as the new text is completely different; Redraw was removed in v0.18.)
(Reverting wasteful and useless edits, the change from "File" to "Image" syntax. Look at the official MediaWiki Help buddy, using File is the *correct* way, Image is legacy!!! https://www.mediawiki.org/wiki/Help:Images)
Line 1: Line 1:
<languages/>
<languages/>
[[Image:Workbench_TechDraw.svg|64px]]
[[File:Workbench_TechDraw.svg|64px]]
<translate>
<translate>


Line 38: Line 38:


<!--T:23-->
<!--T:23-->
* [[Image:techdraw-view.png|32px]] [[TechDraw_NewView|New View]]: adds a 2D projection view of an object.
* [[File:techdraw-view.png|32px]] [[TechDraw_NewView|New View]]: adds a 2D projection view of an object.


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


<!--T:25-->
<!--T:25-->
* [[Image:techdraw-viewsection.png|32px]] [[TechDraw_NewSection|New Section]]: adds a cross-section view of an existing view.
* [[File:techdraw-viewsection.png|32px]] [[TechDraw_NewSection|New Section]]: adds a cross-section view of an existing view.


<!--T:26-->
<!--T:26-->
* [[Image:techdraw-viewdetail.png|32px]] [[TechDraw_NewDetail|New Detail]]: adds a detail view of a portion of an existing view.
* [[File:techdraw-viewdetail.png|32px]] [[TechDraw_NewDetail|New Detail]]: adds a detail view of a portion of an existing view.


<!--T:27-->
<!--T:27-->
* [[Image:techdraw-annotation.png|32px]] [[TechDraw_NewAnnotation|New Annotation]]: adds a text block to serve as an annotation.
* [[File:techdraw-annotation.png|32px]] [[TechDraw_NewAnnotation|New Annotation]]: adds a text block to serve as an annotation.


<!--T:28-->
<!--T:28-->
* [[Image:techdraw-draft-view.png|32px]] [[TechDraw_NewDraft|New Draft]]: adds a view of a [[Draft Workbench]] object.
* [[File:techdraw-draft-view.png|32px]] [[TechDraw_NewDraft|New Draft]]: adds a view of a [[Draft Workbench]] object.


<!--T:29-->
<!--T:29-->
* [[Image:techdraw-arch-view.png|32px]] [[TechDraw_NewArch|New Arch]]: adds a view of a [[Arch Workbench]] [[Arch SectionPlane|SectionPlane]] object.
* [[File:techdraw-arch-view.png|32px]] [[TechDraw_NewArch|New Arch]]: adds a view of a [[Arch Workbench]] [[Arch SectionPlane|SectionPlane]] object.


<!--T:30-->
<!--T:30-->
* [[Image:techdraw-spreadsheet.svg|32px]] [[TechDraw_Spreadsheet|Spreadsheet]]: inserts a view of a [[Spreadsheet Workbench]] sheet.
* [[File:techdraw-spreadsheet.svg|32px]] [[TechDraw_Spreadsheet|Spreadsheet]]: inserts a view of a [[Spreadsheet Workbench]] sheet.


== Clips == <!--T:31-->
== Clips == <!--T:31-->
Line 67: Line 67:


<!--T:33-->
<!--T:33-->
* [[Image:techdraw-clip.svg|32px]] [[TechDraw_Clip|Clip]]: inserts a clip group into a page.
* [[File:techdraw-clip.svg|32px]] [[TechDraw_Clip|Clip]]: inserts a clip group into a page.


<!--T:34-->
<!--T:34-->
* [[Image:techdraw-clipplus.svg|32px]] [[TechDraw_ClipPlus|ClipPlus]]: adds an existing view to a clip group.
* [[File:techdraw-clipplus.svg|32px]] [[TechDraw_ClipPlus|ClipPlus]]: adds an existing view to a clip group.


<!--T:35-->
<!--T:35-->
* [[Image:techdraw-clipminus.svg|32px]] [[TechDraw_ClipMinus|ClipMinus]]: removes a view from a clip group.
* [[File:techdraw-clipminus.svg|32px]] [[TechDraw_ClipMinus|ClipMinus]]: removes a view from a clip group.


== Dimensions == <!--T:36-->
== Dimensions == <!--T:36-->
Line 112: Line 112:


<!--T:47-->
<!--T:47-->
* [[Image:techdraw-saveSVG.svg|32px]] [[TechDraw_SaveSVG|Save SVG]]: saves a page as an [[SVG]] file.
* [[File:techdraw-saveSVG.svg|32px]] [[TechDraw_SaveSVG|Save SVG]]: saves a page as an [[SVG]] file.
* [[Image:techdraw-saveDXF.svg|32px]] [[TechDraw_SaveDXF|Save DXF]]: saves a page as a [[DXF]] file.
* [[File:techdraw-saveDXF.svg|32px]] [[TechDraw_SaveDXF|Save DXF]]: saves a page as a [[DXF]] file.


== Decoration == <!--T:48-->
== Decoration == <!--T:48-->
Line 121: Line 121:


<!--T:50-->
<!--T:50-->
* [[Image:techdraw-hatch.png|32px]] [[TechDraw_Hatch|Hatch Area]]: applies a hatch pattern from a file to a face.
* [[File:techdraw-hatch.png|32px]] [[TechDraw_Hatch|Hatch Area]]: applies a hatch pattern from a file to a face.


<!--T:51-->
<!--T:51-->
* [[Image:techdraw-geomhatch.png|32px]] [[TechDraw_GeomHatch|Geometric Hatch]]: applies a hatch pattern to a face using an Autodesk PAT specification.
* [[File:techdraw-geomhatch.png|32px]] [[TechDraw_GeomHatch|Geometric Hatch]]: applies a hatch pattern to a face using an Autodesk PAT specification.


<!--T:52-->
<!--T:52-->
* [[Image:techdraw-symbol.png|32px]] [[TechDraw_Symbol|New Symbol]]: inserts an [[SVG]] symbol into a page.
* [[File:techdraw-symbol.png|32px]] [[TechDraw_Symbol|New Symbol]]: inserts an [[SVG]] symbol into a page.


<!--T:53-->
<!--T:53-->
* [[Image:Techdraw-image.png|32px]] [[TechDraw_Image|New Image]]: inserts a PNG or JPG [[bitmap]] image into a page.
* [[File:Techdraw-image.png|32px]] [[TechDraw_Image|New Image]]: inserts a PNG or JPG [[bitmap]] image into a page.


<!--T:54-->
<!--T:54-->
* [[Image:techdraw-toggleframe.png|32px]] [[TechDraw_Toggle|Toggle Frames]]: turns on and off the frames and labels surrounding a view.
* [[File:techdraw-toggleframe.png|32px]] [[TechDraw_Toggle|Toggle Frames]]: turns on and off the frames and labels surrounding a view.


<!--T:55-->
<!--T:55-->
* [[Image:TechDraw_Tree_Page_Sync.png|24px]] [[TechDraw_Redraw|Redraw]]: The Redraw tool attempts to redraw a page without recalculating the 3D model. (This tool was removed in v0.18)
* [[File:TechDraw_Tree_Page_Sync.png|24px]] [[TechDraw_Redraw|Redraw]]: The Redraw tool attempts to redraw a page without recalculating the 3D model. (This tool was removed in v0.18)


== Additional features == <!--T:13-->
== Additional features == <!--T:13-->
Line 146: Line 146:


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


== Scripting == <!--T:5-->
== Scripting == <!--T:5-->

Revision as of 22:18, 5 January 2019

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.

Views

These are tools for creating View objects.

Clips

These are tools to create and manage Clip objects (clipped 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.

Import/Export

These are tools for exporting pages to other applications.

Decoration

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

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

  • 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.

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.

Tutorials

Start Workbench
Test Framework Workbench