Path Walkthrough for the Impatient/ro

Iată o demonstrație care arată modul de creare a unei sarcini WB Path plecând de la un model 3D, generând un cod G corect pentru dialectul unei mașini de frezat CNC anume.

Modelul 3D
Proiectul începe cu un simplu model FreeCAD: un cub cu buzunar dreptunghiular,



creat Part Design incluzând un Corp/Body, o casetă/Box cu o Adâncitură/Pocket, bazat pe o schiță/Sketch orientată în planul XY plane.

With the 3D Model completed, the Path Workbench is selected.

Sarcina de lucru
The Job is created.

În fereastra de creare a sarcinilor de muncă, faceți clic pe OK pentru a accepta Corpul ca model de bază, fără șablon.

Definirea Sarcinii de lucru


Fereastra Edit Job se deschide în fereastra Task și fereastra Model afișează Stock ca un cub definit din polilinii care înconjoară corpul de bază. Este selectat Tab-ul de Configurare.

REzultatul sarcinii de lucru
Tab-ul Output definește calea spre fișierul rezultat, numele și extensia fișierului de ieșire, precum și postprocesorul folosit. Pentru utilizatorii avansați, indicii arătați sub mouse arată argumente comune.



Job Tools


We modify the Default tool by selecting it and clicking the Edit button. This opens the Tool Controller edit window.



The name given to the tool and the tool number correspond with the tool number of the machine. Here it is tool Nr. 4. The tool controller is configured for horizontal and vertical feed rates of 2mm/s and a spindle speed of 2000 rpm.

Select the Tool subpanel of the tool controller. Set the diameter and - if you wish to use the simulation tool later - add a cutting edge angle and cutting edge height.



The values are confirmed with OK.

For easy access all the tools can be predefined and selected from the Tool manager.

Job Workplan
The Workplan tab begins empty, and is populated by the sequence of Job Operations, Partial Path Commands, and Path Dressups. The sequence of these items is ordered here.

This tree is shown after the Job's configuration once the Path Job is unfolded:



The Path Operations
Two operations will be added to generate milling paths for this Path Job. The Contour operation creates a path around the box and the Pocket operation creates a path for the inner pocket.

For now we will keep it simple. The Contour button opens the Contour panel. After confirming with OK using the default values, see the green path around the object is visible.

Selecting the bottom of the pocket and then the Pocket button opens the Pocket Shape window. The default values for Base Geometry, Depths, and Heights are used, and the Operation subpanel is selected, and the Step Over Percent is set at 50.



The pattern is changed to "Offset" and the Job Operation is confirmed for the pocket configuration with OK.

The result is a model with two paths:



Verifying Paths
There are two ways to verify the created paths. The G-Code can be inspected, including highlighting the corresponding path segments. The milling process of the Path Job can also be simulated to demonstrate the idealized tool paths, required for the Tool geometries to mill the Stock.

To inspect the G-Code use the tool. Selecting the corresponding G-Code lines within the G-Code Inspection window highlights individual path segments.

To start the simulation use the Path Simulator tool.

Adjust speed and accuracy and start the simulation with the play button.



If you want to end the simulation click the Cancel button, it will remove the stock created for the simulation. If you click Ok this object will be kept in your Job.

Postprocess the Job
The final step to generate G-Code for the target mill is to postprocess the Job. This outputs the G-Codes to a file that can be uploaded to the target CNC machine controller. To invoke the Postprocessor:


 * Select the Job object in the tree
 * Select the Path Postprocessing [[Image:Path_PostProcess.png|32px]] tool to postprocess the file. This opens a G-Code window allowing inspection of the final output file before it is saved.