TechDraw Workbench: Difference between revisions

From FreeCAD Documentation
No edit summary
(Reordered the Extensions tools to match the GUI.)
(20 intermediate revisions by 6 users not shown)
Line 76: Line 76:
<!--T:30-->
<!--T:30-->
* [[File:TechDraw SpreadsheetView.svg|32px]] [[TechDraw_SpreadsheetView|Insert Spreadsheet View]]: inserts a view of a [[Spreadsheet Workbench|Spreadsheet Workbench]] sheet.
* [[File:TechDraw SpreadsheetView.svg|32px]] [[TechDraw_SpreadsheetView|Insert Spreadsheet View]]: inserts a view of a [[Spreadsheet Workbench|Spreadsheet Workbench]] sheet.

* [[File:TechDraw_MoveView.svg|32px]] [[TechDraw_MoveView|Move View]]: Moves a view and its dependents to a different page. {{Version|0.20}}

* [[File:TechDraw_CopyView.svg|32px]] [[TechDraw_CopyView|Copy View]]: Copies a view and its dependents to a second page. {{Version|0.20}}


== Clips == <!--T:31-->
== Clips == <!--T:31-->
Line 214: Line 218:
<!--T:313-->
<!--T:313-->
* [[File:TechDraw_ExtensionSelectLineAttributes.svg|32px]] [[TechDraw_ExtensionSelectLineAttributes|Aspect]]: select style, width and colour of lines. {{Version|0.20}}
* [[File:TechDraw_ExtensionSelectLineAttributes.svg|32px]] [[TechDraw_ExtensionSelectLineAttributes|Aspect]]: select style, width and colour of lines. {{Version|0.20}}

<!--T:333-->
* [[File:TechDraw_ExtensionChangeLineAttributes.svg|32px]] [[TechDraw_ExtensionChangeLineAttributes|Change Aspect]]: change style, width and colour of lines. {{Version|0.20}}


<!--T:323-->
<!--T:323-->
* [[File:TechDraw_ExtensionExtendLine.svg|32px]] [[TechDraw_ExtensionExtendLine|Strech]]: extend a line at both ends. {{Version|0.20}}
* [[File:TechDraw_ExtensionExtendLine.svg|32px]] [[TechDraw_ExtensionExtendLine|Stretch]]: extend a line at both ends. {{Version|0.20}}


<!--T:324-->
<!--T:324-->
Line 244: Line 251:
<!--T:332-->
<!--T:332-->
* [[File:TechDraw_ExtensionCascadeObliqueDimension.svg|32px]] [[TechDraw_ExtensionCascadeObliqueDimension|Oblique Spacing]]: cascade oblique dimensions. {{Version|0.20}}
* [[File:TechDraw_ExtensionCascadeObliqueDimension.svg|32px]] [[TechDraw_ExtensionCascadeObliqueDimension|Oblique Spacing]]: cascade oblique dimensions. {{Version|0.20}}

<!--T:333-->
* [[File:TechDraw_ExtensionChangeLineAttributes.svg|32px]] [[TechDraw_ExtensionChangeLineAttributes|Change Aspect]]: change style, width and colour of lines. {{Version|0.20}}


=== Centerlines and threading === <!--T:334-->
=== Centerlines and threading === <!--T:334-->


<!--T:335-->
<!--T:335-->
* [[File:TechDraw_ExtensionCircleCenterLines.svg|32px]] [[TechDraw_ExtensionCircleCenterLines|Arc-Circle centerlines]]: adds centerlines to circles and arcs. {{Version|0.20}}
* [[File:TechDraw_ExtensionCircleCenterLines.svg|32px]] [[TechDraw_ExtensionCircleCenterLines|Arc-Circle Centerlines]]: adds centerlines to circles and arcs. {{Version|0.20}}


<!--T:336-->
<!--T:336-->
* [[File:TechDraw_ExtensionHoleCircle.svg|32px]] [[TechDraw_ExtensionHoleCircle|Circular Series centerlines]]: draw the centerlines of a hole/bolt circle. {{Version|0.20}}
* [[File:TechDraw_ExtensionHoleCircle.svg|32px]] [[TechDraw_ExtensionHoleCircle|Circular Series Centerlines]]: draw the centerlines of a hole/bolt circle. {{Version|0.20}}

<!--T:337-->
* [[File:TechDraw_ExtensionVertexAtIntersection.svg|32px]] [[TechDraw_ExtensionVertexAtIntersection|Intersection Point]]: create the vertexes at intersection of lines. {{Version|0.20}}

<!--T:338-->
* [[File:TechDraw_ExtensionDrawCosmCircle.svg|32px]] [[TechDraw_ExtensionDrawCosmCircle|Circunference]]: draw a cosmetic circumference using center and radius vertex. {{Version|0.20}}

<!--T:339-->
* [[File:TechDraw_ExtensionDrawArc.svg|32px]] [[TechDraw_ExtensionDrawArc|Arch]]: draw an arc rotating counterclockwise. {{Version|0.20}}

<!--T:340-->
* [[File:TechDraw_ExtensionLinePerpendicular.svg|32px]] [[TechDraw_ExtensionLinePerpendicular|Perpendicular]]: draw a line perpendicular to another line through a vertex. {{Version|0.20}}

<!--T:341-->
* [[File:TechDraw_ExtensionLineParallel.svg|32px]] [[TechDraw_ExtensionLineParallel|Parallel]]: draw a line parallel to another line through a vertex. {{Version|0.20}}


<!--T:314-->
<!--T:314-->
Line 283: Line 272:
* [[File:TechDraw_ExtensionThreadBoltBottom.svg|32px]] [[TechDraw_ExtensionThreadBoltBottom|Thread Shaft]]: adds symbolic threads to the bottom view of bolts. {{Version|0.20}}
* [[File:TechDraw_ExtensionThreadBoltBottom.svg|32px]] [[TechDraw_ExtensionThreadBoltBottom|Thread Shaft]]: adds symbolic threads to the bottom view of bolts. {{Version|0.20}}


=== Dimensions === <!--T:342-->
<!--T:337-->
* [[File:TechDraw_ExtensionVertexAtIntersection.svg|32px]] [[TechDraw_ExtensionVertexAtIntersection|Intersection Point]]: create the vertexes at intersection of lines. {{Version|0.20}}


<!--T:343-->
<!--T:338-->
* [[File:TechDraw_ExtensionInsertDiameter.svg|32px]] [[TechDraw_ExtensionInsertDiameter|Diameter Symbol]]: insert diameter sign as praefix character. {{Version|0.20}}
* [[File:TechDraw_ExtensionDrawCosmCircle.svg|32px]] [[TechDraw_ExtensionDrawCosmCircle|Circunference]]: draw a cosmetic circumference using center and radius vertex. {{Version|0.20}}


<!--T:339-->
* [[File:TechDraw_ExtensionInsertSquare.svg|32px]] [[TechDraw_ExtensionInsertSquare|Tabular Symbol]]: insert square sign as praefix character. {{Version|0.20}}
* [[File:TechDraw_ExtensionDrawCosmArc.svg|32px]] [[TechDraw_ExtensionDrawCosmArc|Arch]]: draw an arc rotating counterclockwise. {{Version|0.20}}

<!--T:341-->
* [[File:TechDraw_ExtensionLineParallel.svg|32px]] [[TechDraw_ExtensionLineParallel|Parallel]]: draw a line parallel to another line through a vertex. {{Version|0.20}}

<!--T:340-->
* [[File:TechDraw_ExtensionLinePerpendicular.svg|32px]] [[TechDraw_ExtensionLinePerpendicular|Perpendicular]]: draw a line perpendicular to another line through a vertex. {{Version|0.20}}

=== Dimensions === <!--T:342-->


<!--T:350-->
* [[File:TechDraw_ExtensionCreateHorizChainDimension.svg|32px]] [[TechDraw_ExtensionCreateHorizChainDimension|Horizontal Series]]: create a horizontal dimension chain. {{Version|0.20}}
* [[File:TechDraw_ExtensionCreateHorizChainDimension.svg|32px]] [[TechDraw_ExtensionCreateHorizChainDimension|Horizontal Series]]: create a horizontal dimension chain. {{Version|0.20}}


Line 307: Line 307:
* [[File:TechDraw_ExtensionCreateObliqueCoordDimension.svg|32px]] [[TechDraw_ExtensionCreateObliqueCoordDimension|Parallel Oblique]]: create cascaded oblique dimensions. {{Version|0.20}}
* [[File:TechDraw_ExtensionCreateObliqueCoordDimension.svg|32px]] [[TechDraw_ExtensionCreateObliqueCoordDimension|Parallel Oblique]]: create cascaded oblique dimensions. {{Version|0.20}}


<!--T:351-->
* [[File:TechDraw_ExtensionCreateHorizChamferDimension.svg|32px]] [[TechDraw_ExtensionCreateHorizChamferDimension|Horizontal Chamfer]]: create a horizontal chamfer dimension. {{Version|0.20}}
* [[File:TechDraw_ExtensionCreateHorizChamferDimension.svg|32px]] [[TechDraw_ExtensionCreateHorizChamferDimension|Horizontal Chamfer]]: create a horizontal chamfer dimension. {{Version|0.20}}


<!--T:352-->
* [[File:TechDraw_ExtensionCreateVertChamferDimension.svg|32px]] [[TechDraw_ExtensionCreateVertChamferDimension|Vertical Chamfer]]: create a vertical chamfer dimension. {{Version|0.20}}
* [[File:TechDraw_ExtensionCreateVertChamferDimension.svg|32px]] [[TechDraw_ExtensionCreateVertChamferDimension|Vertical Chamfer]]: create a vertical chamfer dimension. {{Version|0.20}}


<!--T:353-->
* [[File:TechDraw_ExtensionCreateLengthArc.svg|32px]] [[TechDraw_ExtensionCreateLengthArc|Arc Length]]: create an arc length dimension. {{Version|0.20}}
* [[File:TechDraw_ExtensionCreateLengthArc.svg|32px]] [[TechDraw_ExtensionCreateLengthArc|Arc Length]]: create an arc length dimension. {{Version|0.20}}


<!--T:343-->
* [[File:TechDraw_ExtensionIncreaseDecimal.svg|32px]] [[TechDraw_ExtensionIncreaseDecimal|Increase Accuracy]]: increase the number of decimal places. {{Version|0.20}}
* [[File:TechDraw_ExtensionInsertDiameter.svg|32px]] [[TechDraw_ExtensionInsertDiameter|Diameter]]: insert diameter sign as prefix character. {{Version|0.20}}

<!--T:349-->
* [[File:TechDraw_ExtensionInsertSquare.svg|32px]] [[TechDraw_ExtensionInsertSquare|Tubular Symbol]]: insert square sign as prefix character. {{Version|0.20}}

<!--T:354-->
* [[File:TechDraw_ExtensionIncreaseDecimal.svg|32px]] [[TechDraw_ExtensionIncreaseDecimal|Increase Accuracy]]: increase decimal places. {{Version|0.20}}


<!--T:355-->
* [[File:TechDraw_ExtensionDecreaseDecimal.svg|32px]] [[TechDraw_ExtensionDecreaseDecimal|Increase Accuracy]]: decrease the number of decimal places. {{Version|0.20}}
* [[File:TechDraw_ExtensionDecreaseDecimal.svg|32px]] [[TechDraw_ExtensionDecreaseDecimal|Decrease Accuracy]]: decrease decimal places. {{Version|0.20}}


== Export == <!--T:45-->
== Export == <!--T:45-->
Line 354: Line 365:
* It is possible to have both TechDraw and Drawing Pages in the same FreeCAD document, as each page is completely independent from each other.
* 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|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 [https://forum.freecadweb.org/viewtopic.php?f=3&t=24981&p=196271#p196271 TechDraw templates scale] for more details.
* There are minor differences in specifying editable texts in [[SVG|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 [https://forum.freecadweb.org/viewtopic.php?f=3&t=24981&p=196271#p196271 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 cut, copy and paste TechDraw objects in the [[Tree_view|Tree view]] as this generally does not work out well.
* Do not drag TechDraw objects in the [[Tree_view|Tree view]] with the mouse.


== Tutorials == <!--T:60-->
== Tutorials == <!--T:60-->

Revision as of 15:05, 18 January 2022

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

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.

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.

Annotations

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

Extensions

These are tools to improve your TechDraw drawings.

Some of these tools have yet to be released.

Attributes and modifications

Centerlines and threading

Dimensions

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

Tutorials

Video tutorials by sliptonic