Jump to content

Bàn làm việc Vẽ kỹ thuật (TechDraw)

From FreeCAD Documentation
This page is a translated version of the page TechDraw Workbench and the translation is 14% complete.
TechDraw workbench icon

Giới thiệu

 Bàn làm việc TechDraw được sử dụng để tạo ra các bản vẽ kỹ thuật cơ bản từ các mô hình 3D được tạo bằng một bàn làm việc khác như Part, PartDesign, BIM, hoặc được nhập từ các ứng dụng khác. Mỗi bản vẽ là một Trang (Page) , có thể chứa nhiều Hình chiếu (Views) khác nhau của các đối tượng có thể vẽ được như Part::Features, PartDesign::Bodies, nhóm App::Part và nhóm Đối tượng Tài liệu (Document Object). Các bản vẽ tạo ra có thể được sử dụng cho các mục đích như tài liệu hóa, hướng dẫn sản xuất, hợp đồng, giấy phép, v.v.

Các kích thước, mặt cắt, vùng tô mặt cắt (hatched areas), chú thích và ký hiệu SVG có thể được thêm vào trang, và trang này có thể được xuất tiếp ra các định dạng khác nhau như DXF, SVG, và PDF.

Nếu mục tiêu chính của bạn là tạo ra các bản vẽ 2D phức tạp và các tệp DXF, và bạn không cần mô hình hóa 3D, thì FreeCAD có thể không phải là lựa chọn phù hợp cho bạn. Thay vào đó, bạn có thể cân nhắc sử dụng một phần mềm chuyên dụng cho việc phác thảo kỹ thuật, chẳng hạn như LibreCAD hoặc QCad.

Bắt điểm

introduced in 1.0: Bàn làm việc TechDraw có tính năng bắt dính (snapping). Tính năng này có thể được sử dụng để tự động căn chỉnh các hình chiếu (views), hình chiếu cắt (section views) và kích thước (dimensions) khi kéo thả bằng chuột để định vị chúng. Với tùy chọn Bắt dính căn chỉnh hình chiếu (Snap View Alignment) được bật (mặc định) trong Preferences, các hình chiếu sẽ bắt dính để căn chỉnh với các hình chiếu khác khi ở đủ gần (thiết lập View Snapping Factor - Hệ số bắt dính hình chiếu). Các kích thước cũng bắt dính với các kích thước song song khác và phần chữ của kích thước có thể bắt dính vào giữa đường kích thước. Có thể tạm thời vô hiệu hóa tính năng bắt dính bằng cách giữ phím Alt.

Công cụ

Trang

  • New Page: thêm một trang mới sử dụng bản mẫu template mặc định.
  • Redraw Page: cập nhật ngay lập tức trang đã chọn.

Các hình chiếu TechDraw

  • Section View: inserts a cross-section view of an existing view.
  • Detail View: inserts a detail view of a portion of an existing view.
  • Share View: shares a view between multiple pages.

Views From Other Workbenches

Dimensions

Some dimension tools are listed under Attributes/Modifications, Format/Organize Dimensions and Annotations below.

Hatching

  • Image Hatch: applies a hatch pattern from a file to a face.
  • Geometric Hatch: applies a hatch pattern to a face using an Autodesk PAT specification.

Symbols

  • Weld Symbol: adds welding specifications to an existing leaderline.

Stacking

Aligning

Attributes/Modifications

  • Extend Line: extends a cosmetic line or centerline at both ends.
  • Shorten Line: shortens a cosmetic line or centerline at both ends.
  • Area Annotation: calculates the area of selected faces and inserts an area annotation.
  • Customize Format Label: customizes the formatting of a balloon text or dimension text. GD&T symbols and other special character can be added.

Centerlines/Threading

  • Cosmetic Arc: adds a cosmetic counter clockwise arc based on three vertices.

Format/Organize Dimensions

  • Remove Prefix: removes all symbols at the beginning of the dimension text.

Annotations

Add Lines

Add Vertices

  • Quadrant Vertices: adds Cosmetic Vertices at quarter points of selected (circular) edges.

Miscellaneous

Obsolete Tools

  • Move View: moves a view and its dependents to a different page. Not available in 1.0 and above.
  • Turn View Frames On/Off: turns the display of View frames, labels and vertices on or off. Not available in 1.1 and above.

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. For more information see:

Limitations

  • 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

A "few" added lines of code result in a tool like the Macro TemplateHelper.

Video tutorials by sliptonic

Development

Do you want to know about the future of the TechDraw Workbench? Visit the TechDraw Roadmap Page to learn more.