TechDraw Workbench: Difference between revisions

From FreeCAD Documentation
(Added video tutorials)
m ((Vertical Docnav))
(44 intermediate revisions by 4 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:65-->
<!--T:65-->
{{docnav
{{docnav|[[Surface Module|Surface Module]]|[[Web_Workbench|Web Workbench]]|IconL=Workbench_Surface.svg|IconR=Workbench_Web.svg}}
|[[Surface Module|Surface Module]]
|[[Web_Workbench|Web Workbench]]
|IconL=Workbench_Surface.svg
|IconR=Workbench_Web.svg
}}


</translate>
</translate>
Line 33: Line 38:


<!--T:19-->
<!--T:19-->
* [[File:TechDraw_New_Default.png|32px]] [[TechDraw_New_Default|New Default]]: adds a new page using the default [[TechDraw_Templates|template]].
* [[File:techdraw-new-default.svg|32px]] [[TechDraw_New_Default|New Default]]: adds a new page using the default [[TechDraw_Templates|template]].


<!--T:20-->
<!--T:20-->
* [[File:TechDraw_New_Pick.png|32px]] [[TechDraw_New_Pick|New Pick]]: adds a new page using a selected [[TechDraw_Templates|template]].
* [[File:techdraw-new-pick.svg|32px]] [[TechDraw_New_Pick|New Pick]]: adds a new page using a selected [[TechDraw_Templates|template]].


== Views == <!--T:21-->
== Views == <!--T:21-->
Line 44: Line 49:


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


<!--T:24-->
<!--T:24-->
* [[File: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.svg|32px]] [[TechDraw_NewProjGroup|New Projection Group]]: invokes a dialog to create many views of an object from multiple directions.


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


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

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


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


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


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

<!--T:301-->
* [[File:techdraw-activeview.svg|32px]] [[TechDraw_ActiveView|ActiveView]]: inserts a view of the active 3D view. {{Version|0.19}}


== Clips == <!--T:31-->
== Clips == <!--T:31-->
Line 90: Line 95:


<!--T:38-->
<!--T:38-->
* [[File:Techdraw_Dimension_Length.png|32px]] [[TechDraw_Dimension_Length|New Length]]: adds a length dimension.
* [[File:TechDraw_Dimension_Length.svg|32px]] [[TechDraw_Dimension_Length|New Length]]: adds a length dimension.


<!--T:39-->
<!--T:39-->
* [[File:Techdraw_Dimension_Horizontal.png|32px]] [[TechDraw_Dimension_Horizontal|New Horizontal]]: adds a horizontal length dimension.
* [[File:TechDraw_Dimension_Horizontal.svg|32px]] [[TechDraw_Dimension_Horizontal|New Horizontal]]: adds a horizontal length dimension.


<!--T:40-->
<!--T:40-->
* [[File:Techdraw_Dimension_Vertical.png|32px]] [[TechDraw_Dimension_Vertical|New Vertical]]: adds a vertical length dimension.
* [[File:TechDraw_Dimension_Vertical.svg|32px]] [[TechDraw_Dimension_Vertical|New Vertical]]: adds a vertical length dimension.


<!--T:41-->
<!--T:41-->
* [[File:Techdraw_Dimension_Radius.png|32px]] [[TechDraw_Dimension_Radius|New Radius]]: adds a radius dimension to a circle or circular arc.
* [[File:TechDraw_Dimension_Radius.svg|32px]] [[TechDraw_Dimension_Radius|New Radius]]: adds a radius dimension to a circle or circular arc.


<!--T:42-->
<!--T:42-->
* [[File:Techdraw_Dimension_Diameter.png|32px]] [[TechDraw_Dimension_Diameter|New Diameter]]: adds a diameter dimension to a circle or a circular arc.
* [[File:TechDraw_Dimension_Diameter.svg|32px]] [[TechDraw_Dimension_Diameter|New Diameter]]: adds a diameter dimension to a circle or a circular arc.


<!--T:43-->
<!--T:43-->
* [[File:Techdraw_Dimension_Angle.png|32px]] [[TechDraw_Dimension_Angle|New Angle]]: adds an angle dimension between two straight edges.
* [[File:TechDraw_Dimension_Angle.svg|32px]] [[TechDraw_Dimension_Angle|New Angle]]: adds an angle dimension between two straight edges.


<!--T:56-->
<!--T:56-->
* [[File:TechDraw_Dimension_Angle3Pt.png|32px]] [[TechDraw_Dimension_Angle3Pt|New Angle3Pt]]: adds an angle dimension using three vertices.
* [[File:TechDraw_Dimension_Angle3Pt.svg|32px]] [[TechDraw_Dimension_Angle3Pt|New Angle3Pt]]: adds an angle dimension using three vertices.


<!--T:44-->
<!--T:44-->
* [[File:Dimension_Link.png|32px]] [[TechDraw_Dimension_Link|New Links]]: links an existing dimension to the 3D geometry.
* [[File:TechDraw_Dimension_Link.svg|32px]] [[TechDraw_Dimension_Link|New Links]]: links an existing dimension to the 3D geometry.

<!--T:67-->
* [[File:TechDraw_Balloon.svg|32px]] [[TechDraw_Balloon|New Balloon]]: adds a "balloon" annotation to a page. {{Version|0.19}}

<!--T:302-->
* [[File:TechDraw_Dimension_HExtent.svg|32px]] [[TechDraw Dimension Horizontal Extent|New Horizontal Extent]]: adds a horizontal extent dimension. {{Version|0.19}}

<!--T:303-->
* [[File:TechDraw_Dimension_VExtent.svg|32px]] [[TechDraw Dimension Vertical Extent|New Vertical Extent]]: adds a vertical extent dimension. {{Version|0.19}}


== Import/Export == <!--T:45-->
== Import/Export == <!--T:45-->
Line 128: Line 142:


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


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


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


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


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


<!--T:55-->
<!--T:55-->
* [[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)
* [[File:techdraw-forceredraw.svg|24px]] [[TechDraw_Redraw|Redraw]]: The Redraw tool forces an update of the selected page. {{Version|0.19}}

== Annotation == <!--T:70-->

<!--T:74-->
The annotation tools are for "marking up" a drawing with additional information.

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

<!--T:68-->
* [[File:techdraw-mline.svg|24px]] [[TechDraw_LeaderLine|Leader Line]]: The Leader Line tool adds an annotation line to a view. {{Version|0.19}}

<!--T:69-->
* [[File:techdraw-textleader.svg|24px]] [[TechDraw_RichTextBlock|Rich Text Block]]: The Rich Text Block tool adds an rich text annotation block to a [[TechDraw_LeaderLine|Leader Line]] or a View. {{Version|0.19}}

<!--T:71-->
* [[File:techdraw-point.svg|24px]] [[TechDraw_CosmeticVertex|Cosmetic Vertex]]: The Cosmetic Vertex tool adds a Vertex which is not part of the source geometry. {{Version|0.19}}

<!--T:72-->
* [[File:techdraw-midpoint.svg|24px]] [[TechDraw_Midpoints|Midpoints]]: The Midpoints tool adds Cosmetic Vertices at the midpoints of one or more Edges. {{Version|0.19}}

<!--T:73-->
* [[File:techdraw-quadrant.svg|24px]] [[TechDraw_Quadrant|Quadrant]]: The Quadrant tool adds Cosmetic Vertices at the quarter points of one or more (circular) Edges. {{Version|0.19}}

<!--T:76-->
* [[File:techdraw-facecenterline.svg|24px]] [[TechDraw_FaceCenterLine|FaceCenterLine]]: The FaceCenterLine tool adds a center line to selected Face(s). {{Version|0.19}}

<!--T:77-->
* [[File:techdraw-2linecenterline.svg|24px]] [[TechDraw_2LineCenterLine|2LineCenterLine]]: The 2LineCenterLine tool adds a center line between 2 Edges. {{Version|0.19}}

<!--T:78-->
* [[File:techdraw-2pointcenterline.svg|24px]] [[TechDraw_2PointCenterLine|2PointCenterLine]]: The 2PointCenterLine tool adds a center line between 2 Points. {{Version|0.19}}

<!--T:75-->
* [[File:techdraw-eraser.svg|24px]] [[TechDraw_CosmeticEraser|CosmeticEraser]]: The CosmeticEraser tool removes cosmetic objects from a Page. {{Version|0.19}}

<!--T:79-->
* [[File:techdraw-linedecor.svg|24px]] [[TechDraw_DecorateLine|DecorateLine]]: The DecorateLine tool changes the appearance of Edges. {{Version|0.19}}

<!--T:80-->
* [[File:techdraw-showall.svg|24px]] [[TechDraw_ShowAll|ShowAll]]: The ShowAll tool shows/hide invisible edges in a View. {{Version|0.19}}

<!--T:81-->
* [[File:techdraw-weldsymbol.svg|24px]] [[TechDraw_WeldingSymbol|WeldingSymbol]]: The WeldingSymbol tool adds welding specifications to an existing leader line. {{Version|0.19}}


== Additional features == <!--T:13-->
== Additional features == <!--T:13-->
Line 156: Line 214:


== Scripting == <!--T:5-->
== Scripting == <!--T:5-->
The TechDraw tools can be used in [[macros]] and from the [[Python|Python]] console by using two APIs.
The TechDraw tools can be used in [[macros|macros]] and from the [[Python|Python]] console by using two APIs.
* [[TechDraw API|TechDraw API]]
* [[TechDraw API|TechDraw API]]
* [[TechDrawGui API|TechDrawGui API]]
* [[TechDrawGui API|TechDrawGui API]]
Line 172: Line 230:
* [[TechDraw_TemplateHowTo|Creating a new template]]: instructions to create a new page template in Inkscape for using with the TechDraw Workbench.
* [[TechDraw_TemplateHowTo|Creating a new template]]: instructions to create a new page template in Inkscape for using with the TechDraw Workbench.


<!--T:66-->
Video tutorials by sliptonic
Video tutorials by sliptonic
* TechDraw Workbench [https://www.youtube.com/watch?v=7LbOmSGW9F0 Part 1 (Basics)], [https://www.youtube.com/watch?v=z3w84RfvqaE Part 2 (Dimensions)], [https://www.youtube.com/watch?v=uNjXg-m38aI Part 3 (Multiview)]
* TechDraw Workbench [https://www.youtube.com/watch?v=7LbOmSGW9F0 Part 1 (Basics)], [https://www.youtube.com/watch?v=z3w84RfvqaE Part 2 (Dimensions)], [https://www.youtube.com/watch?v=uNjXg-m38aI Part 3 (Multiview)]
Line 177: Line 236:


<!--T:8-->
<!--T:8-->
{{docnav
{{docnav|[[Surface Module|Surface Module]]|[[Web_Workbench|Web Workbench]]|IconL=Workbench_Surface.svg|IconR=Workbench_Web.svg}}
|[[Surface Module|Surface Module]]
|[[Web_Workbench|Web Workbench]]
|IconL=Workbench_Surface.svg
|IconR=Workbench_Web.svg
}}


<!--T:62-->
<!--T:62-->
Line 187: Line 251:
<!--T:64-->
<!--T:64-->
[[Category:Workbenches]]
[[Category:Workbenches]]


</translate>
</translate>

Revision as of 11:17, 3 November 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.

  • New Radius: adds a radius dimension to a circle or circular arc.
  • New Diameter: adds a diameter dimension to a circle or a circular arc.
  • New Angle: adds an angle dimension between two straight edges.
  • New Angle3Pt: adds an angle dimension using three vertices.
  • New Links: links an existing dimension to the 3D geometry.

Import/Export

These are tools for exporting pages to other applications.

Decoration

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

Annotation

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

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

Video tutorials by sliptonic