TechDraw Workbench/zh-tw: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 70: Line 70:
Linear dimensions can be based on two points, on one line, or on two lines.
Linear dimensions can be based on two points, on one line, or on two lines.


* [[File:TechDraw_Dimension_Length.svg|32px]] [[TechDraw_Dimension_Length|New Length]]: adds a length dimension.
* [[File:TechDraw_LengthDimension.svg|32px]] [[TechDraw_LengthDimension|Insert Length Dimension]]: adds a length dimension.


* [[File:TechDraw_Dimension_Horizontal.svg|32px]] [[TechDraw_Dimension_Horizontal|New Horizontal]]: adds a horizontal length dimension.
* [[File:TechDraw_HorizontalDimension.svg|32px]] [[TechDraw_HorizontalDimension|Insert Horizontal Dimension]]: adds a horizontal length dimension.


* [[File:TechDraw_Dimension_Vertical.svg|32px]] [[TechDraw_Dimension_Vertical|New Vertical]]: adds a vertical length dimension.
* [[File:TechDraw_VerticalDimension.svg|32px]] [[TechDraw_VerticalDimension|Insert Vertical Dimension]]: adds a vertical length dimension.


* [[File:TechDraw_Dimension_Radius.svg|32px]] [[TechDraw_Dimension_Radius|New Radius]]: adds a radius dimension to a circle or circular arc.
* [[File:TechDraw_RadiusDimension.svg|32px]] [[TechDraw_RadiusDimension|Insert Radius Dimension]]: adds a radius dimension to a circle or circular arc.


* [[File:TechDraw_Dimension_Diameter.svg|32px]] [[TechDraw_Dimension_Diameter|New Diameter]]: adds a diameter dimension to a circle or a circular arc.
* [[File:TechDraw_DiameterDimension.svg|32px]] [[TechDraw_DiameterDimension|Insert Diameter Dimension]]: adds a diameter dimension to a circle or a circular arc.


* [[File:TechDraw_Dimension_Angle.svg|32px]] [[TechDraw_Dimension_Angle|New Angle]]: adds an angle dimension between two straight edges.
* [[File:TechDraw_AngleDimension.svg|32px]] [[TechDraw_AngleDimension|Insert Angle Dimension]]: adds an angle dimension between two straight edges.


* [[File:TechDraw_Dimension_Angle3Pt.svg|32px]] [[TechDraw_Dimension_Angle3Pt|New Angle3Pt]]: adds an angle dimension using three vertices.
* [[File:TechDraw_3PtAngleDimension.svg|32px]] [[TechDraw_3PtAngleDimension|Insert 3-Point Angle Dimension]]: adds an angle dimension using three vertices.


* [[File:TechDraw_Dimension_Horizontal_Extent.svg|32px]] [[TechDraw_Dimension_Horizontal_Extent|New Horizontal Extent]]: adds a horizontal extent dimension. {{Version|0.19}}
* [[File:TechDraw_HorizontalExtentDimension.svg|32px]] [[TechDraw_HorizontalExtentDimension|Insert Horizontal Extent Dimension]]: adds a horizontal extent dimension. {{Version|0.19}}


* [[File:TechDraw_Dimension_Vertical_Extent.svg|32px]] [[TechDraw_Dimension_Vertical_Extent|New Vertical Extent]]: adds a vertical extent dimension. {{Version|0.19}}
* [[File:TechDraw_VerticalExtentDimension.svg|32px]] [[TechDraw_VerticalExtentDimension|Insert Vertical Extent Dimension]]: adds a vertical extent dimension. {{Version|0.19}}


* [[File:TechDraw_Dimension_Link.svg|32px]] [[TechDraw_Dimension_Link|New Links]]: links an existing dimension to the 3D geometry.
* [[File:TechDraw_LinkDimension.svg|32px]] [[TechDraw_LinkDimension|Link Dimension to 3D Geometry]]: links an existing dimension to the 3D geometry.


* [[File:TechDraw_Balloon.svg|32px]] [[TechDraw_Balloon|New Balloon]]: adds a "balloon" annotation to a page. {{Version|0.19}}
* [[File:TechDraw_Balloon.svg|32px]] [[TechDraw_Balloon|Insert Balloon Annotation]]: adds a "balloon" annotation to a page. {{Version|0.19}}


* [[File:TechDraw_Dimension_Landmark.svg|32px]] [[TechDraw_Dimension_Landmark|New Landmark Dimension]]: adds a landmark distance dimension. {{Version|0.19}}
* [[File:TechDraw_LandmarkDimension.svg|32px]] [[TechDraw_LandmarkDimension|Insert Landmark Dimension]]: adds a landmark distance dimension. {{Version|0.19}}

== Import/Export ==

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 ExportPageDXF.svg|32px]] [[TechDraw_ExportPageDXF|Export Page as DXF]]: saves the current page as [[DXF|DXF]] file.


== Decorations ==
== Decorations ==
Line 138: Line 130:
* [[File:TechDraw 2PointCenterLine.svg|32px]] [[TechDraw_2PointCenterLine|Add Centerline between 2 Points]]: adds a centerline between 2 points. {{Version|0.19}}
* [[File:TechDraw 2PointCenterLine.svg|32px]] [[TechDraw_2PointCenterLine|Add Centerline between 2 Points]]: adds a centerline between 2 points. {{Version|0.19}}


* [[File:TechDraw_2PointCosmeticLine.svg|32px]] [[TechDraw_2PointCosmeticLine|Add a cosmetic line]]: 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}}
Line 163: Line 155:


* [[File:TechDraw_ExtensionThreadBoltBottom.svg|32px]] [[TechDraw_ExtensionThreadBoltBottom|ThreadBoltBottom]]: adds symbolic threads to the bottom view of bolts. {{Version|0.20}}
* [[File:TechDraw_ExtensionThreadBoltBottom.svg|32px]] [[TechDraw_ExtensionThreadBoltBottom|ThreadBoltBottom]]: adds symbolic threads to the bottom view of bolts. {{Version|0.20}}

== Import/Export ==

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 ExportPageDXF.svg|32px]] [[TechDraw_ExportPageDXF|Export Page as DXF]]: saves the current page as [[DXF|DXF]] file.


== Additional features ==
== Additional features ==
Line 169: Line 169:
* [[TechDraw_Templates|Templates]]: the default templates defined for the drawing pages.
* [[TechDraw_Templates|Templates]]: the default templates defined for the drawing pages.
* [[TechDraw_Hatching|Hatching]]: explanation of the different hatching techniques.
* [[TechDraw_Hatching|Hatching]]: explanation of the different hatching techniques.
* [[TechDraw_Geometric dimensioning and tolerancing|Geometric dimensioning and tolerancing]]: explanation on how to achieve geometric dimensioning and tolerancing.
* [[TechDraw_Geometric_dimensioning_and_tolerancing|Geometric dimensioning and tolerancing]]: explanation on how to achieve geometric dimensioning and tolerancing.


== Preferences ==
== Preferences ==

* [[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.
* [[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 ==
== Scripting ==

The TechDraw tools can be used in [[macros|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]]
Line 180: Line 182:


== Limitations ==
== Limitations ==

* TechDraw drawings and its API are not interchangeable with the [[Drawing Workbench|Drawing Workbench]] and its API. It is possible to convert Drawing Pages to TechDraw Pages using a Python script ({{incode|moveViews.py}}).
* TechDraw drawings and its API are not interchangeable with the [[Drawing Workbench|Drawing Workbench]] and its API. It is possible to convert Drawing Pages to TechDraw Pages using a Python script ({{incode|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.
* 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.
* Threads are not implemented. A possible workaround is to use a [[TechDraw Dimension Diameter|diameter dimension]] and put a suitable text into the "Format Spec" property, e.g. "M4x15"
* 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 as this generally does not work out well.



Revision as of 19:32, 15 September 2021

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.

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.

Decorations

These are tools to decorate pages or views:

Annotation

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

Extension Package

The Extension Package includes many useful tools to improve your TechDraw drawings.

Some of these tools have yet to be released.

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

Tutorials

Video tutorials by sliptonic