Files
linuxcnc/nc_files/programs/switchplate.ngc
Thaddeus Hughes ad1f8719d6 big overhaul
2026-04-05 20:51:43 -05:00

43 lines
862 B
Plaintext
Executable File

G10 L1 P1 Z0.0 R0.125 ; set tool P1 to Z-offset Z0.0 and radius R0.25
T1 ; set tool to T1
M06 ; manual toolchange
M101 ; enable z-axis
G90 ; absolute coordinates
G54 ; fixture #1
F8.0 ; feedrate
#<w> = 2.80
#<h> = 4.55
#<_z_top> = 0.05
#<_z_bot> = -0.1
o<frame_rect> call [3] [-#<w>/2] [-#<h>/2] [#<w>/2] [#<h>/2] [0.1]
#<w> = 2.75
#<h> = 4.50
#<_z_top> = 0.05
#<_z_bot> = -0.1
o<frame_rect> call [3] [-#<w>/2] [-#<h>/2] [#<w>/2] [#<h>/2] [0.1]
#<_z_top> = 0.1
#<_z_bot> = 0.3
o<pocket_circ> call [0] [0] [+0.75] [12.1/25.4] [-0.15] [.005]
#<_z_top> = 0.1
#<_z_bot> = 0.05
o<pocket_circ> call [0] [0] [-0.75] [12.1/25.4] [-0.15] [.005]
#<_z_top> = 0.1
#<_z_bot> = 0.05
o<pocket_circ> call [0] [-0.75] [0] [12.1/25.4] [-0.15] [.005]
#<_z_top> = 0.1
#<_z_bot> = 0.05
o<pocket_circ> call [0] [+0.75] [0] [12.1/25.4] [-0.15] [.005]
M2 ; end program