(ngcgui: FEATURE 150727:14.08.25) (ngcgui: files: < /home/tom/linuxcnc/nc_files/tap.ngc >) (ngcgui: feature line added) #<_feature:> = 0 (Positional parameters for /home/tom/linuxcnc/nc_files/tap.ngc:) #1 = 1 #2 = 1.25 #3 = 1 #4 = -10 #5 = 275 #6 = 4 #7 = 9 (expanded file: /home/tom/linuxcnc/nc_files/tap.ngc) (info: Rigid Tapping) # = #1 (=0 0=TPI 1=MM) # = #2 (TPI/Pitch) # = #3 (=0.100 Z Clearance) # = #4 (End of Thread) # = #5 (Spindle RPM) # = #6 (Tool Number) # = #7 (=8 Coolant 8 On 9 Off) G7 G17 G20 G40 G80 T# M6 G43 o<053o110> if [# EQ 0] # = [1 / #] G20 o<053o110> else # = # G21 o<053o110> endif ; Tap the Hole o<053o120> if [# EQ 0 OR # EQ 1] S# M3 M# G0 X0.000 Z# G33.1 X0.000 Z# K# M5 M9 G53 G0 X0 Z0 o<053o120> else (msg, you dufus you didn't use a proper thread type) o<053o120> endif ; Restore to normal units G20 (ngcgui: m2 line added) m2 (g54 activated)