Path Workbench/zh-cn

简介
路径工作台用于从 FreeCAD 3D模型中生成 数控机床 的机器指令. 这些产品在数控机床 (如铣刀、车床、激光切割机或类似设备) 上生产真实世界的 3D 物体. 通常，指令集是G 代码 的修改版本.



FreeCAD 路径工作台工作流程以以下方式创建机器指令:
 * 3D 模型是基本对象, 通常使用一个或多个 零件设计, 零件 或 底图 工作台.
 * 作业 是在路径工作台中创建的. 这包含了所有信息用于生成数控机床上处理作业的必要 G 代码: 有库存材料, 铣削有一个确定的 工具集, 它遵循某些命令控制速度和动作 (通常是 G 代码).
 * 根据作业操作的要求选择工具.
 * 铣削路径的创建使用例如 轮廓 和 袖珍 操作. 这些 路径对象 使用内部 FreeCAD G 代码方言, 独立于数控机床.

为没有耐心的人仕准备的链接
根据你对路径工作台的兴趣, 有不同的主题供进一步阅读:


 * If you are a new new user trying to get familiar with Path, you might be interested in a fast walk-through tutorial.
 * If you have a special machine which cannot use one of the available postprocessors you may want to learn about post-processor customization
 * As an experienced user you may want to write a macro or automate a process might need to learn about scripting
 * Power users who want to streamline their workflow can learn about customization.
 * New developers who want to contribute to path might want to understand core concepts.

General concepts
The Path Workbench generates G-Code defining the paths required to mill the Project represented by the 3D model on the target mill—in [the Path Job Operations FreeCAD G-Code dialect], which is later translated to the appropriate dialect for the target CNC controller by selecting the appropriate Postprocessor. The G-Code is generated from directives and Operations contained in a Path Job. The Job Workflow lists these in the order they will be executed. The list is populated by adding Path Operations, Path Dressups, Path Partial Commands, and Path Modifications—from the Path Menu, or GUI buttons.

The Path Workbench provides a Tool Manager (Library, Tool-Table), and G-Code Inspection, and Simulation tools. It links the Postprocessor, and allows importing and exporting Job Templates.

The Path Workbench has external dependencies including:
 * 1) The FreeCAD 3D model units are defined in the Edit-> Preference...->General->Units tab's Units settings.  The Postprocessor configuration defines the final G-Code units.
 * 2) The Macro file path, and Geometric tolerances, are defined in the Edit->Preferences...->Path->Job Preferences  tab.
 * 3) Colors are defined in the Edit->Preferences...->Path->Path colors tab.
 * 4) Holding tag parameters are defined in the Edit->Preferences...->Path->Dressups tab.
 * 5) That the Base 3D model quality supports the Path WB requirements—passes Check Geometry.

FreeCAD Path Workbench internal G-Code dialect represents Feed rates in Units/Second—what the G-Code Inspection tool will show. The Postprocessor is configured to generate the appropriate Feed rates—either in Units/Second or Units/Minute for the target mill.

Scripting
The Path workbench offers a broad python scripting API. With it, you can create and modify paths from python scripts, or extend the available functionality of the workbench.

FAQ
FAQ

The Path Workbench shares many concepts with other CAM software packages but has its own peculiarities. If something seems wrong, this might be a good place to start.