FACING UTILITY
This program creates a gcode file that can be loaded into linuxnc to run a rectangular facing operation.
The actual area covered will be Size_x by Size_y plus half the diameter of the tool on all 4 sides.
This means that the facing routine will not work in a pocket unless the tool diameter is taken into account.
The machine should be X and Y zeroed at the lower left corner of the workpiece.
The program is designed to run the selected raster pattern at a Z value of 0 in machine units.
The feedrate for Z travel defaults to 1/2 the feedrate entered for X and Y.
The parameter units are set to whatever mode the machine is currently in, either metric or imperial.
Validation of Inputs
- checks that there are no blank entries
- checks that X and Y size fit within the machine limits
- checks that the spindle RPM is between the min and max ratings
- checks that the feedrate is less than the maximum feedrate
- checks that safe Z travel > 0
- checks that the tool diameter > 0
- checks that stepover is not larger than tool diameter
- checks that Size X and Size Y are at least 2x stepover value
SAVE AS PROGRAM
- checks for valid input fields
- creates a gcode program according to the Raster setting
- opens a dialog window to get a file to save to
- invalid parameters are shown with a red border and the program will not be created
SEND TO LINUXCNC
- checks for valid input fields
- creates a gcode program according to the Raster setting
- creates a temporary file and loads it to linuxcnc
- invalid parameters are shown with a red border and the program will not be created
- the temporary file is automatically deleted when linuxcnc exits