刀路工作檯

From FreeCAD Documentation
(Redirected from Path Workbench/zh)
This page is a translated version of the page CAM Workbench and the translation is 4% complete.
Outdated translations are marked like this.
CAM workbench icon

簡介

刀路工作檯用於從FreeCAD 3D模型生成CNC機器指令。它們可以在CNC工具機上生產真實的3D產品,如銑床,車床,雷射切割機等。 通常,指令是G-Code語言。

FreeCAD刀路工作檯按如下工作流程創建這些機器指令:

  • 使用零件設計工作檯零件工作檯 草圖工作檯中的一個或多個創建作為基礎對象的3D模型。
  • 刀路工作檯中創建刀路作業。 這包含用於生成在CNC銑床上處理作業的G-code所有必要的信息:有庫存材料,工廠有一定的刀具包,它遵循某些命令(通常是G-Code)控制速度和運動。
  • 根據作業操作的要求選擇刀具。
  • 使用例如 輪廓線開槽操作創建銑削路徑。 這些刀路對象使用FreeCAD內部獨立於CNC機器的G-Code語言。
  • 使用與您的機器匹配的G-Code形式導出作業。

General concepts

一般概念

刀路工作檯生成G-code,用於定義銑削產品的刀具運行路徑,產品外形通過刀路作業操作 FreeCAD G-Code指令模擬銑削後的3D數模所呈現,該G-code指令通過選擇適合的前置處理程序被轉換為適合目標CNC控制器的指令。 G-code由包含在刀路作業中的指令和操作生成。作業工作流將這些指令和操作按其執行順序列出。該列表通過添加刀路操作、刀路修剪、刀路分步命令和通過刀路菜單或者圖形界面按鈕刀路修改完成。

The G-code is generated from directives and Operations contained in a CAM Job. The Job Workflow lists these in the order they will be executed. The list is populated by adding CAM Operations, Path Dressups, Supplemental Commands, and Path Modifications from the CAM Menu, or GUI buttons.

刀路工作檯提供刀具管理器(庫,刀具表),G-code檢查和銑削模擬工具。它連接前置處理程序並允許導入和導出工作模板。

刀路工作檯的外部依賴包括:

  1. 編輯 → 首選項 → General → 單位標籤的單位設定中設置的FreeCAD的3D數模尺寸單位。前置處理程序設置定義了最終的G-code尺寸單位。
  2. 宏文件路徑和幾何公差在編輯 → 首選項 → 刀路 → 作業偏好設定標籤中設置.
  3. 顏色在編輯 → 首選項 → 刀路 → 刀路顏色標籤中設置.
  4. 持有標記參數在編輯 → 首選項 → 刀路 → 修剪標籤中設置.
  5. 基礎3D數模品質支持刀路WB需求,通過幾何體檢查。

Limitations

Some current limitations of which you should be aware are:

  • Most of the CAM Tools are not true 3D tools but only 2.5D capable. This means that they take a fixed 2D shape and can cut it down to a given depth. However, there are two tools which produce true 3D paths: 3D Pocket and 3D Surface (which is still an experimental feature as of November 2020).
  • Most of CAM workbench is designed for a simple, standard 3-axis (xyz) CNC mill/router, but lathe tools are under development in 0.19_pre.
  • Most operations in CAM workbench will return paths based on a standard endmill tool/bit only, regardless of the tool/bit type assigned in a given tool controller with the exception of the Engrave and 3D Surface operations.
  • The operations within the CAM workbench are not aware of clamping mechanisms in use to secure the model to your machine. Consequently, please review and simulate the paths you generate prior to sending the code to your machine. If necessary, model your clamping mechanisms in FreeCAD in order to better inspect the paths generated. Look for possible collisions with clamps or other obstacles along the paths.

單位

刀路工作檯中的單位處理可能會令人感到困惑。 有幾點需要了解:

  1. FreeCAD基本單位的長度和時間分別為'mm'和's'。 因此速度單位為'mm/s'。 這就是FreeCAD內部存儲的東西,與其他無關。
  2. 默認單位模式使用默認單位。如果您使用默認模式並輸入沒有單位給進率,則給進率的單位為'mm/s'
  3. 大多數數控工具機都需要的進給速率為「mm/min」或「in/min」。 大多數後置處理程序會在生成G-code時自動轉換單位。

模式:

  1. 更改首選項中的模式會更改輸入欄位的默認單位。 如果您是刀路工作檯用戶並且更喜歡以公制設計,則強烈建議您使用「公制小零件和CNC」模式。 如果您使用美國單位進行設計,可以使用英制十進位和美制
  2. 更改首選單元模式對輸出沒有影響,但有助於避免輸入錯誤

輸出:

  1. 在輸出中生成正確的單位是後處理器的責任,且這一操作僅在那時完成
  2. 機器輸出單元與您選擇的單元模式完全無關
  3. 後處理程序產生公制(G21)或英制(G20)輸出,還可進行配置。
  4. 可配置的後處理程序默認為公制(G21)
  5. 如果您希望可配置的後處理器輸出英制G-code(G20),請在作業輸出配置中設置正確的參數(即--incs for linuxcnc)。 這可以存儲在作業模板中,並設置為默認模板,以使其自動適用於所有未來的作業。

刀路檢查

  1. 如果你使用刀路檢查工具查看G-code,你將在其中看到'mm/s',應為它還沒有被進行後置處理。

Heights and depths

刀路命令

Visual reference for Depth properties (settings)

Commands

Some commands are experimental and not available by default. To enable them see CAM experimental.

Project Commands

Tool Commands

  • 收尾循環: 在選定的兩個邊上完成收尾循環。

Basic Operations

  • Profile: Creates a profile operation of the entire model, or from one or more selected faces or edges.
  • 螺旋: 創建螺旋刀路。
  • Adaptive: Creates an adaptive clearing and profiling operation.
  • Slot: Creates a slotting operation from selected features or custom points. Experimental.
  • Deburr: Creates a deburr path.

刀路修剪

3D Operations

  • 3D面: 創建3D面刀路

Path Dressup

  • Boundary: Adds a boundary dressup modification to a selected path.

Supplemental Commands

  • Probe: Creates a Probing Grid from a job stock.

刀路修改

Specialty Operations

Miscellaneous

ToolBit architecture

Manage tools, bits, and the Tool Library. Based on the ToolBit architecture.

Other

刀路工作檯與其他CAM軟體包共享許多概念,但有其獨特之處。 如果出現問題,這個特點可能是一個很好的排錯起點。

首選項

腳本編寫

刀路腳本頁。

Tutorials

Videos

Roadmap