TechDraw Workbench: Difference between revisions

From FreeCAD Documentation
No edit summary
(Reordered the Extensions tools to match the GUI.)
(46 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 210: Line 214:
{{Emphasis|Some of these tools have yet to be released.}}<!--Keep this text. Other tools will be added.-->
{{Emphasis|Some of these tools have yet to be released.}}<!--Keep this text. Other tools will be added.-->


'''Attributes and Modifications:'''
=== Attributes and modifications === <!--T:322-->


<!--T:313-->
<!--T:313-->
* [[File:TechDraw_ExtensionSelectLineAttributes.svg|32px]] [[TechDraw_ExtensionSelectLineAttributes|Select line Attributes]]: 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_ExtensionExtendLine.svg|32px]] [[TechDraw_ExtensionExtendLine|Extend a line]]: extend a line at both ends. {{Version|0.20}}
* [[File:TechDraw_ExtensionChangeLineAttributes.svg|32px]] [[TechDraw_ExtensionChangeLineAttributes|Change Aspect]]: change style, width and colour of lines. {{Version|0.20}}


<!--T:323-->
* [[File:TechDraw_ExtensionShortenLine.svg|32px]] [[TechDraw_ExtensionShortenLine|Shorten a line]]: shorten 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-->
* [[File:TechDraw_ExtensionPosHorizChainDimension.svg|32px]] [[TechDraw_ExtensionPosHorizChainDimension|Align horizontal]]: align a horizontal dimension chain. {{Version|0.20}}
* [[File:TechDraw_ExtensionShortenLine.svg|32px]] [[TechDraw_ExtensionShortenLine|Shorten]]: shorten a line at both ends. {{Version|0.20}}


<!--T:325-->
* [[File:TechDraw_ExtensionChangeLineAttributes.svg|32px]] [[TechDraw_ExtensionChangeLineAttributes|Change line Attributes]]: change style, width and colour of lines. {{Version|0.20}}
* [[File:TechDraw_ExtensionLockUnlockView.svg|32px]] [[TechDraw_ExtensionLockUnlockView|Lock/Unlock]]: Lock/Unlock a view. {{Version|0.20}}


<!--T:326-->
'''Centerlines and Threading:'''
* [[File:TechDraw_ExtensionPositionSectionView.svg|32px]] [[TechDraw_ExtensionPositionSectionView|Align Section]]: align a section view orthogonal to its source view. {{Version|0.20}}


<!--T:327-->
* [[File:TechDraw_ExtensionCircleCenterLines.svg|32px]] [[TechDraw_ExtensionCircleCenterLines|Draw circle centerlines]]: adds centerlines to circles and arcs. {{Version|0.20}}
* [[File:TechDraw_ExtensionPosHorizChainDimension.svg|32px]] [[TechDraw_ExtensionPosHorizChainDimension|Align Horizontal]]: align a horizontal dimension chain. {{Version|0.20}}


<!--T:328-->
* [[File:TechDraw_ExtensionHoleCircle.svg|32px]] [[TechDraw_ExtensionHoleCircle|Draw bolt circle centerlines]]: draw the centerlines of a bolt circle. {{Version|0.20}}
* [[File:TechDraw_ExtensionPosVertChainDimension.svg|32px]] [[TechDraw_ExtensionPosVertChainDimension|Align Vertical]]: align a vertical dimension chain. {{Version|0.20}}


<!--T:329-->
* [[File:TechDraw_ExtensionVertexAtIntersection.svg|32px]] [[TechDraw_ExtensionVertexAtIntersection|Create vertex(es) at intersection]]: create the vertexes at intersection of lines. {{Version|0.20}}
* [[File:TechDraw_ExtensionPosObliqueChainDimension.svg|32px]] [[TechDraw_ExtensionPosObliqueChainDimension|Align Oblique]]: align an oblique dimension chain. {{Version|0.20}}


<!--T:330-->
* [[File:TechDraw_ExtensionDrawCosmCircle.svg|32px]] [[TechDraw_ExtensionDrawCosmCircle|Draw a cosmetic circumference]]: draw a cosmetic circumference using center and radius vertex. {{Version|0.20}}
* [[File:TechDraw_ExtensionCascadeHorizDimension.svg|32px]] [[TechDraw_ExtensionCascadeHorizDimension|Horizontal Spacing]]: cascade horizontal dimensions. {{Version|0.20}}


<!--T:331-->
* [[File:TechDraw_ExtensionDrawArc.svg|32px]] [[TechDraw_ExtensionDrawArc|Draw an arc rotating math. positive]]: draw an arc rotating math. positive. {{Version|0.20}}
* [[File:TechDraw_ExtensionCascadeVertDimension.svg|32px]] [[TechDraw_ExtensionCascadeVertDimension|Vertical Spacing]]: cascade vertical dimensions. {{Version|0.20}}


<!--T:332-->
* [[File:TechDraw_ExtensionLinePerpendicular.svg|32px]] [[TechDraw_ExtensionLinePerpendicular|Draw a perpendicular line]]: draw a line perpendicular to another line through a vertex. {{Version|0.20}}
* [[File:TechDraw_ExtensionCascadeObliqueDimension.svg|32px]] [[TechDraw_ExtensionCascadeObliqueDimension|Oblique Spacing]]: cascade oblique dimensions. {{Version|0.20}}


=== Centerlines and threading === <!--T:334-->
* [[File:TechDraw_ExtensionLineParallel.svg|32px]] [[TechDraw_ExtensionLineParallel|Draw a parallel line]]: draw a line parallel to another line through a vertex. {{Version|0.20}}

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

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


<!--T:314-->
<!--T:314-->
* [[File:TechDraw_ExtensionThreadHoleSide.svg|32px]] [[TechDraw_ExtensionThreadHoleSide|Cosmetic thread hole side view]]: adds a symbolic thread to the side view of a hole. {{Version|0.20}}
* [[File:TechDraw_ExtensionThreadHoleSide.svg|32px]] [[TechDraw_ExtensionThreadHoleSide|Thread section Hole]]: adds a symbolic thread to the side view of a hole. {{Version|0.20}}


<!--T:316-->
<!--T:316-->
* [[File:TechDraw_ExtensionThreadBoltSide.svg|32px]] [[TechDraw_ExtensionThreadBoltSide|Cosmetic thread bolt side view]]: adds a symbolic thread to the side view of a bolt. {{Version|0.20}}
* [[File:TechDraw_ExtensionThreadBoltSide.svg|32px]] [[TechDraw_ExtensionThreadBoltSide|Thread section Shaft]]: adds a symbolic thread to the side view of a bolt. {{Version|0.20}}


<!--T:315-->
<!--T:315-->
* [[File:TechDraw_ExtensionThreadHoleBottom.svg|32px]] [[TechDraw_ExtensionThreadHoleBottom|Cosmetic thread hole bottom view]]: adds symbolic threads to the bottom view of holes. {{Version|0.20}}
* [[File:TechDraw_ExtensionThreadHoleBottom.svg|32px]] [[TechDraw_ExtensionThreadHoleBottom|Thread Hole]]: adds symbolic threads to the bottom view of holes. {{Version|0.20}}


<!--T:317-->
<!--T:317-->
* [[File:TechDraw_ExtensionThreadBoltBottom.svg|32px]] [[TechDraw_ExtensionThreadBoltBottom|Cosmetic thread bolt bottom view]]: 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}}

<!--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_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}}

<!--T:344-->
* [[File:TechDraw_ExtensionCreateVertChainDimension.svg|32px]] [[TechDraw_ExtensionCreateVertChainDimension|Vertical Series]]: create a vertical dimension chain. {{Version|0.20}}

<!--T:345-->
* [[File:TechDraw_ExtensionCreateObliqueChainDimension.svg|32px]] [[TechDraw_ExtensionCreateObliqueChainDimension|Oblique Series]]: create an oblique dimension chain. {{Version|0.20}}

<!--T:346-->
* [[File:TechDraw_ExtensionCreateHorizCoordDimension.svg|32px]] [[TechDraw_ExtensionCreateHorizCoordDimension|Parallel Horizontal]]: create cascaded horizontal dimensions. {{Version|0.20}}

<!--T:347-->
* [[File:TechDraw_ExtensionCreateVertCoordDimension.svg|32px]] [[TechDraw_ExtensionCreateVertCoordDimension|Parallel Vertical]]: create cascaded vertical dimensions. {{Version|0.20}}

<!--T:348-->
* [[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}}

<!--T:352-->
* [[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}}

<!--T:343-->
* [[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-->
'''Dimensions:'''
* [[File:TechDraw_ExtensionIncreaseDecimal.svg|32px]] [[TechDraw_ExtensionIncreaseDecimal|Increase Accuracy]]: increase decimal places. {{Version|0.20}}


<!--T:355-->
* [[File:TechDraw_ExtensionCreateHorizChainDimension_.svg|32px]] [[TechDraw_ExtensionCreateHorizChainDimension|Horizontal Series]]: create a horizontal dimension chain. {{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 292: 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-->
Line 301: Line 375:
* [[Measurement Of Angles On Holes|Measurement Of Angles On Holes]]: instructions for adding centerlines and subsequent angle representations on holes.
* [[Measurement Of Angles On Holes|Measurement Of Angles On Holes]]: instructions for adding centerlines and subsequent angle representations on holes.
* [[TechDraw HowTo Page|Miscellaneous]]: instructions for different settings like center marks, etc.
* [[TechDraw HowTo Page|Miscellaneous]]: instructions for different settings like center marks, etc.
* [[TechDraw_Pitch_Circle|Creating a Pitch Circle]]: instructions for adding pitch circle
* [[TechDraw_Pitch_Circle_Tutorial|TechDraw Pitch Circle Tutorial]]: instructions for adding a pitch circle.


<!--T:66-->
<!--T:66-->

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