Path Workbench/zh-cn: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
|||
{{docnav|[[PartDesign Workbench|PartDesign Workbench]]|[[Plot Workbench|Plot Workbench]]|IconL=Workbench_PartDesign.svg|IconR=Workbench_Plot.svg}} |
|||
|[[PartDesign Workbench|PartDesign Workbench]] |
|||
|[[Plot Workbench|Plot Workbench]] |
|||
|IconL=Workbench_PartDesign.svg |
|||
|IconR=Workbench_Plot.svg |
|||
}} |
|||
[[Image: |
[[Image:Workbench_Path.svg|240px|center]] |
||
{{Caption|align=center|The FreeCAD Path Workbench Icon}} |
|||
== 简介 == |
== 简介 == |
||
<div class="mw-translate-fuzzy"> |
|||
路径工作台用于从 FreeCAD 3D模型中生成 [https://en.wikipedia.org/wiki/CNC_router 数控机床] 的机器指令。这些产品在数控机床 (如铣刀、车床、激光切割机或类似设备) 上生产真实世界的 3D 物体。通常,指令集是[https://en.wikipedia.org/wiki/G-Code G 代码] 的方言。 |
路径工作台用于从 FreeCAD 3D模型中生成 [https://en.wikipedia.org/wiki/CNC_router 数控机床] 的机器指令。这些产品在数控机床 (如铣刀、车床、激光切割机或类似设备) 上生产真实世界的 3D 物体。通常,指令集是[https://en.wikipedia.org/wiki/G-Code G 代码] 的方言。 |
||
</div> |
|||
{{TOCright}} |
{{TOCright}} |
||
Line 79: | Line 87: | ||
这些命令用于设置 CNC 项目和管理你的模板. |
这些命令用于设置 CNC 项目和管理你的模板. |
||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path-Job.png|32px]] [[Path_Job|Job]]: 创建一个新的 CNC 作业 |
* [[Image:Path-Job.png|32px]] [[Path_Job|Job]]: 创建一个新的 CNC 作业 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path_PostProcess.png|32px]] [[Path_Post|Post Process]]: 导出一个项目到 G 代码 |
* [[Image:Path_PostProcess.png|32px]] [[Path_Post|Post Process]]: 导出一个项目到 G 代码 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path-ExportTemplate.png|32px]] [[Path_ExportTemplate|Export Template]]: 导出当前作业作为一个模板 |
* [[Image:Path-ExportTemplate.png|32px]] [[Path_ExportTemplate|Export Template]]: 导出当前作业作为一个模板 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[File:Path_Inspect.png|32px]] [[Path_Inspect|G-Code Inspector]]: 显示 G 代码以便检查 |
* [[File:Path_Inspect.png|32px]] [[Path_Inspect|G-Code Inspector]]: 显示 G 代码以便检查 |
||
</div> |
|||
* [[File:Path_Simulator.png|32px]] [[Path_Simulator|Simulator]]: 显示铣削操作, 就像在机器上做的那样 |
* [[File:Path_Simulator.png|32px]] [[Path_Simulator|Simulator]]: 显示铣削操作, 就像在机器上做的那样 |
||
Line 91: | Line 107: | ||
* [[Image:Path_ToolLibraryEdit.png|32px]] [[Path_ToolLibraryEdit|Tool Manager]]: 编辑工作管理器 |
* [[Image:Path_ToolLibraryEdit.png|32px]] [[Path_ToolLibraryEdit|Tool Manager]]: 编辑工作管理器 |
||
<div class="mw-translate-fuzzy"> |
|||
* [[File:Path-CompleteLoop.png|32px]] [[Path_SelectLoop|Complete Loop]]: 从两个选定的边完成一个循环 |
* [[File:Path-CompleteLoop.png|32px]] [[Path_SelectLoop|Complete Loop]]: 从两个选定的边完成一个循环 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[File:Path_Contour.png|32px]] [[Path_Contour|Contour]]: 创建基对象的轮廓的路径 |
* [[File:Path_Contour.png|32px]] [[Path_Contour|Contour]]: 创建基对象的轮廓的路径 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path-Profile-Face.png|32px]] [[Path_ProfileFace|Profile from Face]]: 从选定的面创建分析路径 |
* [[Image:Path-Profile-Face.png|32px]] [[Path_ProfileFace|Profile from Face]]: 从选定的面创建分析路径 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path-Profile-Edges.png|32px]] [[Path_ProfileEdges|Profile from Edges]]: 从所选边创建分析路径 |
* [[Image:Path-Profile-Edges.png|32px]] [[Path_ProfileEdges|Profile from Edges]]: 从所选边创建分析路径 |
||
</div> |
|||
* [[Image:Path_Pocket. |
* [[Image:Path_Pocket.svg|32px]] [[Path_Pocket_Shape|Pocket]]: Creates a pocketing operation from one ore more selected pocket(s) |
||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path_Drilling.png|32px]] [[Path_Drilling|Drilling]]: 执行钻孔循环 |
* [[Image:Path_Drilling.png|32px]] [[Path_Drilling|Drilling]]: 执行钻孔循环 |
||
</div> |
|||
* [[Image: |
* [[Image:Path_Adaptive.svg|32px]] [[Path_Adaptive|Adaptive]]: Creates an adaptive clearing and profiling operation |
||
* [[Image: |
* [[Image:Path_Engrave.svg|32px]] [[Path_Engrave|Engrave]]: Creates a engraving path |
||
* [[Image: |
* [[Image:Path_Face.svg|32px]] [[Path_MillFace|Mill Face]]: Creates a surfacing path |
||
* [[Image: |
* [[Image:Path_Helix.svg|32px]] [[Path_Helix|Helix]]: Creates a helical path |
||
* [[Image: |
* [[Image:Path_3DPocket.svg|32px]] [[Path_Pocket_3D|3D Pocket]]: Creates a path for a 3D pocket |
||
===路径装饰=== |
===路径装饰=== |
||
Line 134: | Line 160: | ||
* [[Image:Path_Fixture.png|32px]] [[Path_Fixture|Fixture]]: 改变夹具的位置 |
* [[Image:Path_Fixture.png|32px]] [[Path_Fixture|Fixture]]: 改变夹具的位置 |
||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path_Comment.png|32px]] [[Path_Comment|Comment]]: 插入一个注释到路径的 G 代码中 |
* [[Image:Path_Comment.png|32px]] [[Path_Comment|Comment]]: 插入一个注释到路径的 G 代码中 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path_Stop.png|32px]] [[Path_Stop|Stop]]: 插入一个全部停止机器指令 |
* [[Image:Path_Stop.png|32px]] [[Path_Stop|Stop]]: 插入一个全部停止机器指令 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path_Custom.png|32px]] [[Path_Custom|Custom]]: 插入自定义 G 代码 |
* [[Image:Path_Custom.png|32px]] [[Path_Custom|Custom]]: 插入自定义 G 代码 |
||
</div> |
|||
* [[Image:Path_GcodeFromShape.png|32px]] [[Path_FromShapes|Gcode From a Shape]]: 从选择部分对象创建路径对象 |
* [[Image:Path_GcodeFromShape.png|32px]] [[Path_FromShapes|Gcode From a Shape]]: 从选择部分对象创建路径对象 |
||
Line 150: | Line 182: | ||
</div> |
</div> |
||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path_Array.png|32px]] [[Path_Array|Array]]: 通过复制选定路径创建数组 |
* [[Image:Path_Array.png|32px]] [[Path_Array|Array]]: 通过复制选定路径创建数组 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path_SimpleCopy.png|32px]] [[Path_SimpleCopy|Simple Copy]]: 创建选定路径对象的非参数副本 |
* [[Image:Path_SimpleCopy.png|32px]] [[Path_SimpleCopy|Simple Copy]]: 创建选定路径对象的非参数副本 |
||
</div> |
|||
===其它=== |
===其它=== |
||
Line 160: | Line 196: | ||
</div> |
</div> |
||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path-Area.png|32px]] [[Path_Area|Feature area]]: 从从所选对象创建一个特征区域 |
* [[Image:Path-Area.png|32px]] [[Path_Area|Feature area]]: 从从所选对象创建一个特征区域 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[Image:Path-Area-Workplane.png|32px]] [[Path_Area_Workplane|Feature area workplane]]: 创建一个特征区域工作面 |
* [[Image:Path-Area-Workplane.png|32px]] [[Path_Area_Workplane|Feature area workplane]]: 创建一个特征区域工作面 |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
* [[File:Path_Sanity.png|32px]] [[Path_Sanity|Path Errors]]: 检查已选择的作业是否有缺失值 |
* [[File:Path_Sanity.png|32px]] [[Path_Sanity|Path Errors]]: 检查已选择的作业是否有缺失值 |
||
</div> |
|||
* [[Fourth Axis]]: Developmental four axis milling |
* [[Fourth Axis]]: Developmental four axis milling |
||
Line 191: | Line 233: | ||
[[Category:User Documentation/zh-cn|分类:用户文档]] |
[[Category:User Documentation/zh-cn|分类:用户文档]] |
||
</div> |
</div> |
||
{{Path Tools navi}} |
|||
{{Userdocnavi}} |
{{Userdocnavi}} |
||
⚫ | |||
[[Category:Workbenches]] |
|||
⚫ | |||
{{clear}} |
{{clear}} |
Revision as of 18:04, 14 February 2020
The FreeCAD Path Workbench Icon
简介
FreeCAD 路径工作台工作流程以以下方式创建机器指令:
为没有耐心的人仕准备的链接
根据你对路径工作台的兴趣, 有不同的主题供进一步阅读:
- 如果你作为一个新用户尝试熟悉路径,你可能会对一个快速简易教程会更感兴趣。
- 如果你有一台特别的机器不能使用任何的现有后处理器,你可能会想要学习关于定制后处理器的内容
- 作为一个富有经验的用户你可能想写一个宏或自动化处理过程则可能需要学习脚本.
- 希望简化工作流的超级用户可以了解定制.
- 希望对路径做出贡献的新开发人员可能希望了解核心概念.
一般概念
路径工作台生成 G 代码,定义了在目标中铣削由 3D 模型表示的项目所需要的路径—在 路径作业操作 FreeCAD G 代码方言,然后通过选择合适的后处理器, 将其转换为目标数控控制器的相应方言。
G 代码是从路径作业中包含的指令和操作生成的。 作业工作流按将执行的顺序列出这些任务。通过添加路径操作、路径装饰、路径部分命令和路径修改—从路径菜单或 GUI 按钮。
路径工作台提供了一个工具管理器(库,工具表),和 G 代码检查,和模拟工具。它链接到后处理器,和允许导入和导出工作模板。
路径工作台有一个外部依赖:
- FreeCAD 3D 模型单位是在 Edit->Preference...->General->Units 选项卡的单位进行设置。后处理器配置定义了最终的 G 代码单位。
- 宏文件路径和几何公差是在Edit->Preferences...->Path->Job Preferences 选项卡中定义
- 颜色在 Edit->Preferences...->Path->Path colors 选项卡中设置
- 保存标记参数在 Edit->Preferences...->Path->Dressups 选项卡中设置
- 基本 3D 模型质量支持路径 WB 要求-通过检查几何。
Limitations
Most of the Path 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. There are two tools which produce true 3D paths, one of which is still experimental ( December 2019 ). There are currently no tools to face-mill a vertical face or to cut vertical non planar surfaces of a model.
Units
Unit handling in Path can be confusing. There are several points to understand:
- FreeCAD base units for length and time are 'mm' and 's' respectively. Velocity is thus 'mm/s'. This is what FreeCAD stores internally regardless of anything else
- The default unit schema uses the default units. If you're using the default schema and you enter a feed rate without a unit string, it will get entered as 'mm/s'
- Most CNC machines expect feed rate in the form of either 'mm/min' or 'in/min'. Most post-processors will automatically convert the unit when generating gcode.
Schemas:
- Changing schema in preferences changes default unit string for the input fields. If you're a Path user and prefer to design in metric, it's highly recommended that you use the "Metric Small Parts & CNC" schema. If you design in US units, either the Imperial Decimal and Building US will work
- Changing your preferred unit schema will have no effect on output but will help avoid input errors
Output:
- Generating the correct unit in output is the responsibility of the post-processor and is done only at that time
- Machine output unit is completely unrelated to your selected unit schema
- Post-processors produce either metric (G21) output, Imperial (G20) output or are configurable.
- Configurable post-processors default to metric (G21)
- If you want your configurable post-processor to output imperial gcode (G20), Set the correct argument in your job output configation (ie --inches for linuxcnc). This can be stored in a job template and set as your default template to make it automatic for all future jobs
Path Inspection:
- If you use the Path Inspect tool to look at g-code, you will see it in 'mm/s' because it is not being post-processed
路径命令
这些命令用于设置 CNC 项目和管理你的模板.
- Job: 创建一个新的 CNC 作业
- Post Process: 导出一个项目到 G 代码
- Export Template: 导出当前作业作为一个模板
- G-Code Inspector: 显示 G 代码以便检查
- Simulator: 显示铣削操作, 就像在机器上做的那样
- Tool Manager: 编辑工作管理器
- Complete Loop: 从两个选定的边完成一个循环
- File:Path Contour.png Contour: 创建基对象的轮廓的路径
- File:Path-Profile-Face.png Profile from Face: 从选定的面创建分析路径
- File:Path-Profile-Edges.png Profile from Edges: 从所选边创建分析路径
- Pocket: Creates a pocketing operation from one ore more selected pocket(s)
- Drilling: 执行钻孔循环
- Adaptive: Creates an adaptive clearing and profiling operation
- Engrave: Creates a engraving path
- Mill Face: Creates a surfacing path
- Helix: Creates a helical path
- 3D Pocket: Creates a path for a 3D pocket
路径装饰
- Boundary Dressup: Adds a boundary dressup modification to a selected path
- Dogbone Dressup: Adds a dogbone dressup modification to a selected path
- Dragknife Dressup: Adds a dragknife dressup modification to a selected path
- Lead In Dressup: Adds a lead-in and/or lead-out point to a selected path
- Ramp Entry Dressup: Adds ramp entry dressup modification to a selected path
- Tag Dressup: Adds a holding tag dressup modification to a selected path
部分命令
- Fixture: 改变夹具的位置
- Comment: 插入一个注释到路径的 G 代码中
- Stop: 插入一个全部停止机器指令
- Custom: 插入自定义 G 代码
- Gcode From a Shape: 从选择部分对象创建路径对象
- Op Active: Used to activate or de-activate a path operation
路径修改
- Copy: 创建选定路径对象的参数化副本
- Array: 通过复制选定路径创建数组
- Simple Copy: 创建选定路径对象的非参数副本
其它
- 3D Surface: 为 3D 表面创建路径
- Feature area: 从从所选对象创建一个特征区域
- Feature area workplane: 创建一个特征区域工作面
- Path Errors: 检查已选择的作业是否有缺失值
- Fourth Axis: Developmental four axis milling
Preferences
- Preferences...: Preferences disposable in Path Tools.
脚本
See the Path scripting page.
路径工作台提供了一个广泛的 python 脚本 API。使用它, 您可以从 python 脚本中创建和修改路径, 或者扩展工作台的可用功能。
FAQ
路径工作台与其它 CAM 软件包共享很多概念但是它有自己的特性。如果有什么不对劲的地方, 这可能是一个很好的开始。
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub