Path Workbench/ru: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "=== Ссылки для нетерпеливых === В зависимости от вашего интереса к верстаку Path, существуют различн...")
Line 18: Line 18:
* Экспортируйте задание с помощью g-кода, соответствующего вашему компьютеру.
* Экспортируйте задание с помощью g-кода, соответствующего вашему компьютеру.


=== Ссылки для нетерпеливых ===
=== Links for the impatient ===
В зависимости от вашего интереса к верстаку Path, существуют различные темы для дальнейшего чтения:
Depending on your interest in the Path workbench there are different topics for further reading:


* If you are a new new user trying to get familiar with Path, you might be interested in a fast [[Path Walkthrough for the Impatient|walk-through]] tutorial.
* If you are a new new user trying to get familiar with Path, you might be interested in a fast [[Path Walkthrough for the Impatient|walk-through]] tutorial.

Revision as of 15:35, 3 May 2019

Введение

Верстак Path используется для генерации машинных инструкций для станков с ЧПУ из моделей FreeCAD. Это производит объекты реального мира на машинах с ЧПУ, таких как фрезерные, токарные станки, лазерные резаки и так далее. Обычно эти инструкции на языке G-кодов.

Рабочий процесс FreeCAD Path Workbench создает следующие машинные инструкции следующим образом:

  • 3D-модель - это базовый объект, обычно созданный с использованием одного или нескольких инструментов Part Design, Part или Draft Workbenches.
  • В Path Workbench создан Job. Это содержит всю информацию, необходимую для генерации необходимого G-кода для обработки задания на станке с ЧПУ: имеется материал запаса, мельница имеет определенный set of tools и выполняет определенные команды, контролирующие скорость и перемещения (обычно G-Code).
  • Инструменты выбираются в соответствии с требованиями Рабочих операций.
  • Пути фрезерования создаются с использованием, например, Contour и Pocket Операции. Эти объекты Path objects используют внутренний диалект FreeCAD G-Code, независимо от станка с ЧПУ.
  • Экспортируйте задание с помощью g-кода, соответствующего вашему компьютеру.

Ссылки для нетерпеливых

В зависимости от вашего интереса к верстаку Path, существуют различные темы для дальнейшего чтения:

  • 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.

Units

Unit handling in Path can be confusing. There are several points to understand:

  1. 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
  2. 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'
  3. 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:

  1. 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
  2. Changing your preferred unit schema will have no effect on output but will help avoid input errors

Output:

  1. Generating the correct unit in output is the responsibility of the post-processor and is done only at that time
  2. Machine output unit is completely unrelated to your selected unit schema
  3. Post-processors produce either metric (G21) output, Imperial (G20) output or are configurable.
  4. Configurable post-processors default to metric (G21)
  5. 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:

  1. 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

Настройка проекта

Эти инструменты используются для установки проекта ЧПУ и определения набора обрабатывающих инструментов.

See Template:Path_Tools/ru

  • Проект: Создаёт новый проект ЧПУ
  • Post Process: Экспортирует проект в G-код
  • G-Code Inspector: Показывает содержимое G-кода трассы
  • Simulator: Shows the milling operation like it's done on the machine
  • Pocket: Creates a pocketing operation from one ore more selected pocket(s)
  • Helix: Creates a helical path

Path Dressup

  • Tag Dressup: Adds a holding tag dressup modification to a selected path

Partial Commands

  • Comment: Inserts a comment in the G-code of a path
  • Custom: Inserts custom G-code
  • Gcode From a Shape: Создаёт траекторию из существующей детали

Path Modification

  • Copy: Creates a parametric Copie of a selected path object
  • Array: Creates an array by duplicating a selected path
  • Simple Copy: Creates a non-parametric copy of a selected path object

Other

  • Path Errors: Checks the selected Job for missing values

Preferences

Скриптование

See the Path scripting page.

Верстак Path предоставляет широкий доступ через скрипты python. С их помощью можно создавать и модифицировать траектории из скриптов, или расширять функциональность верстака.

FAQ

See the Path 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.