TechDraw Workbench/zh: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 28: Line 28:
These are tools for creating Page objects.
These are tools for creating Page objects.


* [[File:TechDraw PageDefault.svg|32px]] [[TechDraw_PageDefault|Insert Default Page]]: adds a new page using the default [[TechDraw_Templates|template]].
* [[File:TechDraw_PageDefault.svg|32px]] [[TechDraw_PageDefault|Insert Default Page]]: adds a new page using the default [[TechDraw_Templates|template]].


* [[File:TechDraw PageTemplate.svg|32px]] [[TechDraw_PageTemplate|Insert Page using Template]]: adds a new page using a selected [[TechDraw_Templates|template]].
* [[File:TechDraw_PageTemplate.svg|32px]] [[TechDraw_PageTemplate|Insert Page using Template]]: adds a new page using a selected [[TechDraw_Templates|template]].


* [[File:TechDraw RedrawPage.svg|32px]] [[TechDraw_RedrawPage|Redraw Page]]: forces an update of the selected page. {{Version|0.19}}
* [[File:TechDraw_RedrawPage.svg|32px]] [[TechDraw_RedrawPage|Redraw Page]]: forces an update of the selected page. {{Version|0.19}}


== Views ==
== Views ==
Line 42: Line 42:
* [[File:TechDraw ActiveView.svg|32px]] [[TechDraw_ActiveView|Insert Active View]]: inserts a view of the active 3D view. {{Version|0.19}}
* [[File:TechDraw ActiveView.svg|32px]] [[TechDraw_ActiveView|Insert Active View]]: inserts a view of the active 3D view. {{Version|0.19}}


* [[File:TechDraw ProjectionGroup.svg|32px]] [[TechDraw_ProjectionGroup|Insert Projection Group]]: invokes a dialog to create many views of an object from multiple directions.
* [[File:TechDraw_ProjectionGroup.svg|32px]] [[TechDraw_ProjectionGroup|Insert Projection Group]]: invokes a dialog to create many views of an object from multiple directions.


* [[File:TechDraw SectionView.svg|32px]] [[TechDraw_SectionView|Insert Section View]]: inserts a cross-section view of an existing view.
* [[File:TechDraw_SectionView.svg|32px]] [[TechDraw_SectionView|Insert Section View]]: inserts a cross-section view of an existing view.


* [[File:TechDraw DetailView.svg|32px]] [[TechDraw_DetailView|Insert Detail View]]: inserts a detail view of a portion of an existing view.
* [[File:TechDraw_DetailView.svg|32px]] [[TechDraw_DetailView|Insert Detail View]]: inserts a detail view of a portion of an existing view.


* [[File:TechDraw DraftView.svg|32px]] [[TechDraw_DraftView|Insert Draft Workbench Object]]: inserts a view of a [[Draft Workbench|Draft Workbench]] object.
* [[File:TechDraw_DraftView.svg|32px]] [[TechDraw_DraftView|Insert Draft Workbench Object]]: inserts a view of a [[Draft_Workbench|Draft Workbench]] object.


* [[File:TechDraw ArchView.svg|32px]] [[TechDraw_ArchView|Insert Arch Workbench Object]]: inserts a view of an [[Arch Workbench|Arch Workbench]] [[Arch SectionPlane|Section Plane]] object.
* [[File:TechDraw_ArchView.svg|32px]] [[TechDraw_ArchView|Insert Arch Workbench Object]]: inserts a view of an [[Arch_Workbench|Arch Workbench]] [[Arch SectionPlane|Section Plane]] object.


* [[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_MoveView.svg|32px]] [[TechDraw_MoveView|Move View]]: Moves a view and its dependents to a different page. {{Version|0.20}}
Line 62: Line 62:
These are tools to create and manage Clip objects (clipped views).
These are tools to create and manage Clip objects (clipped views).


* [[File:TechDraw ClipGroup.svg|32px]] [[TechDraw_ClipGroup|Insert Clip Group]]: inserts a clip group into a page.
* [[File:TechDraw_ClipGroup.svg|32px]] [[TechDraw_ClipGroup|Insert Clip Group]]: inserts a clip group into a page.


* [[File:TechDraw ClipGroupAdd.svg|32px]] [[TechDraw_ClipGroupAdd|Add View to Clip Group]]: adds an existing view to a clip group.
* [[File:TechDraw_ClipGroupAdd.svg|32px]] [[TechDraw_ClipGroupAdd|Add View to Clip Group]]: adds an existing view to a clip group.


* [[File:TechDraw ClipGroupRemove.svg|32px]] [[TechDraw_ClipGroupRemove|Remove View from Clip Group]]: removes a view from a clip group.
* [[File:TechDraw_ClipGroupRemove.svg|32px]] [[TechDraw_ClipGroupRemove|Remove View from Clip Group]]: removes a view from a clip group.


== Decorations ==
== Decorations ==
Line 72: Line 72:
These are tools to decorate pages or views:
These are tools to decorate pages or views:


* [[File:TechDraw Hatch.svg|32px]] [[TechDraw_Hatch|Hatch Face using Image File]]: applies a hatch pattern from a file to a face.
* [[File:TechDraw_Hatch.svg|32px]] [[TechDraw_Hatch|Hatch Face using Image File]]: applies a hatch pattern from a file to a face.


* [[File:TechDraw GeometricHatch.svg|32px]] [[TechDraw_GeometricHatch|Apply Geometric Hatch to Face]]: applies a hatch pattern to a face using an Autodesk PAT specification.
* [[File:TechDraw_GeometricHatch.svg|32px]] [[TechDraw_GeometricHatch|Apply Geometric Hatch to Face]]: applies a hatch pattern to a face using an Autodesk PAT specification.


* [[File:TechDraw Symbol.svg|32px]] [[TechDraw_Symbol|Insert SVG Symbol]]: inserts a symbol from a [[SVG|SVG]] file into a page.
* [[File:TechDraw_Symbol.svg|32px]] [[TechDraw_Symbol|Insert SVG Symbol]]: inserts a symbol from a [[SVG|SVG]] file into a page.


* [[File:TechDraw Image.svg|32px]] [[TechDraw_Image|Insert Bitmap Image]]: inserts a PNG or JPG [[bitmap|bitmap]] image into a page.
* [[File:TechDraw_Image.svg|32px]] [[TechDraw_Image|Insert Bitmap Image]]: inserts a PNG or JPG [[bitmap|bitmap]] image into a page.


* [[File:TechDraw ToggleFrame.svg|32px]] [[TechDraw_ToggleFrame|Turn View Frames On/Off]]: turns on/off frames and labels surrounding a view.
* [[File:TechDraw_ToggleFrame.svg|32px]] [[TechDraw_ToggleFrame|Turn View Frames On/Off]]: turns on/off frames and labels surrounding a view.


== Dimensions ==
== Dimensions ==
Line 116: Line 116:
The annotation tools are for "marking up" a drawing with additional information.
The annotation tools are for "marking up" a drawing with additional information.


* [[File:TechDraw Annotation.svg|32px]] [[TechDraw_Annotation|Insert Annotation]]: adds a plain text block as annotation.
* [[File:TechDraw_Annotation.svg|32px]] [[TechDraw_Annotation|Insert Annotation]]: adds a plain text block as annotation.


* [[File:TechDraw LeaderLine.svg|32px]] [[TechDraw_LeaderLine|Add Leaderline to View]]: adds a leaderline to a view. {{Version|0.19}}
* [[File:TechDraw_LeaderLine.svg|32px]] [[TechDraw_LeaderLine|Add Leaderline to View]]: adds a leaderline to a view. {{Version|0.19}}


* [[File:TechDraw RichTextAnnotation.svg|32px]] [[TechDraw_RichTextAnnotation|Insert Rich Text Annotation]]: adds an rich text block as annotation to a leaderline or a view. {{Version|0.19}}
* [[File:TechDraw_RichTextAnnotation.svg|32px]] [[TechDraw_RichTextAnnotation|Insert Rich Text Annotation]]: adds an rich text block as annotation to a leaderline or a view. {{Version|0.19}}


* [[File:TechDraw CosmeticVertex.svg|32px]] [[TechDraw_CosmeticVertex|Add Cosmetic Vertex]]: adds a Vertex which is not part of the source geometry. {{Version|0.19}}
* [[File:TechDraw_CosmeticVertex.svg|32px]] [[TechDraw_CosmeticVertex|Add Cosmetic Vertex]]: adds a Vertex which is not part of the source geometry. {{Version|0.19}}


* [[File:TechDraw Midpoints.svg|32px]] [[TechDraw_Midpoints|Add Midpoint Vertices]]: adds Cosmetic Vertices at midpoints of selected edges. {{Version|0.19}}
* [[File:TechDraw_Midpoints.svg|32px]] [[TechDraw_Midpoints|Add Midpoint Vertices]]: adds Cosmetic Vertices at midpoints of selected edges. {{Version|0.19}}


* [[File:TechDraw Quadrants.svg|32px]] [[TechDraw_Quadrants|Add Quadrant Vertices]]: adds Cosmetic Vertices at quarter points of selected (circular) edges. {{Version|0.19}}
* [[File:TechDraw_Quadrants.svg|32px]] [[TechDraw_Quadrants|Add Quadrant Vertices]]: adds Cosmetic Vertices at quarter points of selected (circular) edges. {{Version|0.19}}


* [[File:TechDraw FaceCenterLine.svg|32px]] [[TechDraw_FaceCenterLine|Add Centerline to Faces]]: adds a centerline to selected face(s). {{Version|0.19}}
* [[File:TechDraw_FaceCenterLine.svg|32px]] [[TechDraw_FaceCenterLine|Add Centerline to Faces]]: adds a centerline to selected face(s). {{Version|0.19}}


* [[File:TechDraw 2LineCenterLine.svg|32px]] [[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]: adds a centerline between 2 lines. {{Version|0.19}}
* [[File:TechDraw 2LineCenterLine.svg|32px]] [[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]: adds a centerline between 2 lines. {{Version|0.19}}
Line 136: Line 136:
* [[File:TechDraw_2PointCosmeticLine.svg|32px]] [[TechDraw_2PointCosmeticLine|Add Cosmetic Line Through 2 points]]: adds a cosmetic line connecting 2 vertices. {{Version|0.19}}
* [[File:TechDraw_2PointCosmeticLine.svg|32px]] [[TechDraw_2PointCosmeticLine|Add Cosmetic Line Through 2 points]]: adds a cosmetic line connecting 2 vertices. {{Version|0.19}}


* [[File:TechDraw CosmeticEraser.svg|32px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]: removes cosmetic objects from a page. {{Version|0.19}}
* [[File:TechDraw_CosmeticEraser.svg|32px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]: removes cosmetic objects from a page. {{Version|0.19}}


* [[File:TechDraw DecorateLine.svg|32px]] [[TechDraw_DecorateLine|Change Appearance of Lines]]: changes the appearance of selected line(s). {{Version|0.19}}
* [[File:TechDraw_DecorateLine.svg|32px]] [[TechDraw_DecorateLine|Change Appearance of Lines]]: changes the appearance of selected line(s). {{Version|0.19}}


* [[File:TechDraw ShowAll.svg|32px]] [[TechDraw_ShowAll|Show/Hide Invisible Edges]]: shows/hides invisible lines/edges in a view. {{Version|0.19}}
* [[File:TechDraw_ShowAll.svg|32px]] [[TechDraw_ShowAll|Show/Hide Invisible Edges]]: shows/hides invisible lines/edges in a view. {{Version|0.19}}


* [[File:TechDraw WeldSymbol.svg|32px]] [[TechDraw_WeldSymbol|Add Welding Information to Leader]]: adds welding specifications to an existing leaderline. {{Version|0.19}}
* [[File:TechDraw_WeldSymbol.svg|32px]] [[TechDraw_WeldSymbol|Add Welding Information to Leader]]: adds welding specifications to an existing leaderline. {{Version|0.19}}


== Extensions ==
== Extensions ==
Line 238: Line 238:
These are tools for exporting pages to other applications.
These are tools for exporting pages to other applications.


* [[File:TechDraw ExportPageSVG.svg|32px]] [[TechDraw_ExportPageSVG|Export Page as SVG]]: saves the current page as [[SVG|SVG]] file.
* [[File:TechDraw_ExportPageSVG.svg|32px]] [[TechDraw_ExportPageSVG|Export Page as SVG]]: saves the current page as [[SVG|SVG]] file.


* [[File:TechDraw ExportPageDXF.svg|32px]] [[TechDraw_ExportPageDXF|Export Page as DXF]]: saves the current page as [[DXF|DXF]] file.
* [[File:TechDraw_ExportPageDXF.svg|32px]] [[TechDraw_ExportPageDXF|Export Page as DXF]]: saves the current page as [[DXF|DXF]] file.


== Additional features ==
== Additional features ==

Revision as of 19:40, 28 March 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.

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