big overhaul

This commit is contained in:
Thaddeus Hughes
2026-04-05 20:51:43 -05:00
parent f39f90977d
commit ad1f8719d6
121 changed files with 2457 additions and 1700 deletions

View File

@@ -32,18 +32,30 @@ F20 ; feedrate in mm/min or in/min
#20 = 31.5
o<m6cb> sub
o<pocket_circ> call [#1/25.4][#2/25.4] [0.415] [+.02][-.26] [0][+4]
o<pocket_circ> call [#1/25.4][#2/25.4] [0.250] [-.20][-.53] [0][+4]
#<_z_top> = +.02
#<_z_bot> = -.26
o<pocket_circ> call [+4] [#1/25.4][#2/25.4] [0.415] [0]
#<_z_top> = -.20
#<_z_bot> = -.53
o<pocket_circ> call [+4] [#1/25.4][#2/25.4] [0.250] [0]
o<m6cb> endsub
o<m5cb> sub
o<pocket_circ> call [#1/25.4][#2/25.4] [0.35] [+.02][-.20] [0][+4]
o<pocket_circ> call [#1/25.4][#2/25.4] [0.20] [-.19][-.53] [0][+4]
#<_z_top> = +.02
#<_z_bot> = -.20
o<pocket_circ> call [+4] [#1/25.4][#2/25.4] [0.35] [0]
#<_z_top> = -.19
#<_z_bot> = -.53
o<pocket_circ> call [+4] [#1/25.4][#2/25.4] [0.20] [0]
o<m5cb> endsub
o<m5cb_b> sub
o<pocket_circ> call [#1/25.4][#2/25.4] [0.40] [+.02][-.30] [0][+4]
o<pocket_circ> call [#1/25.4][#2/25.4] [0.20] [-.29][-.53] [0][+4]
#<_z_top> = +.02
#<_z_bot> = -.30
o<pocket_circ> call [+4] [#1/25.4][#2/25.4] [0.40] [0]
#<_z_top> = -.29
#<_z_bot> = -.53
o<pocket_circ> call [+4] [#1/25.4][#2/25.4] [0.20] [0]
o<m5cb_b> endsub
o<carray> sub
@@ -84,7 +96,7 @@ o10 if [#<side> EQ 1]
o11 endwhile
#<tr> = [#<_td>/2]
#<tr> = [#5410/2]
#<xe> = [-605/25.4]
#<y> = [-2.9]
@@ -112,9 +124,13 @@ o10 elseif [#<side> EQ 2]
o<dhole> sub
F20
o<pocket_circ> call [#1/25.4][#2/25.4] [17.0/25.4] [+.02][-.086] [0.02] [+4]
#<_z_top> = +.02
#<_z_bot> = -.086
o<pocket_circ> call [+4] [#1/25.4][#2/25.4] [17.0/25.4] [0.02]
F10
o<pocket_circ> call [#1/25.4][#2/25.4] [10.0/25.4] [-.08][-.530] [0.005] [+4]
#<_z_top> = -.08
#<_z_bot> = -.530
o<pocket_circ> call [+4] [#1/25.4][#2/25.4] [10.0/25.4] [0.005]
o<dhole> endsub
o<dhole> call [#<x>][#<y>]

View File

@@ -1,22 +0,0 @@
#<_z_clearance> = 0.4
#<_rampang> = 5
; mode reference
; +1: Conventional milling
; +2: Both-ways milling
; +4: Plunge entry
; +8: Outside
G21 ; mm
G10 L1 P1 Z0.0 R5.0 ; set tool
T1 ; set tool to T1
M06 ; manual toolchange
G54 ; absolute coordinates
F3000 ; mm/min (300 mm/min = about 1 ft/min)
o<drill> call [20][-10] [1][-8] [3]
o<drill> call [20][-40] [1][-8] [3]
M2 ; end program

View File

@@ -15,22 +15,42 @@ M06 ; manual toolchange
G54 ; absolute coordinates
;F10 ; mm/min (300 mm/min = about 1 ft/min)
;o<pocket_circ> call [0][0] [2.05] [.1][-.5] [.01] [0+4]
;o<frame_circ> call [0][0] [2.055] [.1][-.5] [0] [0]
;#<_z_top> = .1
;#<_z_bot> = -.5
;o<pocket_circ> call [0+4] [0][0] [2.05] [.01]
;#<_z_top> = .1
;#<_z_bot> = -.5
;o<frame_circ> call [0] [0][0] [2.055] [0]
F3
;o<pocket_circ> call [+0.394][-.394] [5.2/25.4] [0.1][-0.25] [0][+4]
;o<pocket_circ> call [+1.181][-.394] [5.2/25.4] [0.1][-0.25] [0][+4]
;o<pocket_circ> call [-0.394][-.394] [5.2/25.4] [0.1][-0.25] [0][+4]
;o<pocket_circ> call [-1.181][-.394] [5.2/25.4] [0.1][-0.25] [0][+4]
;#<_z_top> = 0.1
;#<_z_bot> = -0.25
;o<pocket_circ> call [+4] [+0.394][-.394] [5.2/25.4] [0]
;#<_z_top> = 0.1
;#<_z_bot> = -0.25
;o<pocket_circ> call [+4] [+1.181][-.394] [5.2/25.4] [0]
;#<_z_top> = 0.1
;#<_z_bot> = -0.25
;o<pocket_circ> call [+4] [-0.394][-.394] [5.2/25.4] [0]
;#<_z_top> = 0.1
;#<_z_bot> = -0.25
;o<pocket_circ> call [+4] [-1.181][-.394] [5.2/25.4] [0]
F8
;o<pocket_circ> call [-.787][-1.181] [.551] [0.1][-0.25]
;o<pocket_circ> call [+.787][-1.181] [.551] [0.1][-0.25]
;#<_z_top> = 0.1
;#<_z_bot> = -0.25
;o<pocket_circ> call [0] [-.787][-1.181] [.551]
;#<_z_top> = 0.1
;#<_z_bot> = -0.25
;o<pocket_circ> call [0] [+.787][-1.181] [.551]
o<frame_circ> call [-.787][-1.181] [.553] [0.1][-0.25]
o<frame_circ> call [+.787][-1.181] [.553] [0.1][-0.25]
#<_z_top> = 0.1
#<_z_bot> = -0.25
o<frame_circ> call [0] [-.787][-1.181] [.553]
#<_z_top> = 0.1
#<_z_bot> = -0.25
o<frame_circ> call [0] [+.787][-1.181] [.553]
M30

View File

@@ -19,8 +19,12 @@ G54 ; absolute coordinates
F20 ; inch or mm/min (300 mm/min = about 1 ft/min)
o10 sub
o<pocket_circ> call [#1][#2] [.39] [0.05][-0.197]
o<drill> call [#1][#2] [-.15][-0.5]
#<_z_top> = 0.05
#<_z_bot> = -0.197
o<pocket_circ> call [0] [#1][#2] [.39]
#<_z_top> = -.15
#<_z_bot> = -0.5
o<drill> call [#1][#2]
o10 endsub
o10 call [-22/25.4][-0.394]

View File

@@ -1,40 +0,0 @@
#<_z_clearance> = 0.5
#<_rampang> = 10
;#<_stepover> = 0.1
;#<_overlap> = 0
; mode refernce
; +1: Conventional milling
; +2: Both-ways milling
; +4: Plunge entry
; +8: Outside
G20 ; G21 mm / G20 inch
G10 L1 P1 Z0.0 R[1/4/2] ; set tool
T1 ; set tool to T1
M06 ; manual toolchange
G54 ; absolute coordinates
F15 ; inch or mm/min (300 mm/min = about 1 ft/min)
; 12 mm holes
o<pocket_circ> call [.591] [-.433] [12/25.4] [0.1][-.3] [0][4]
o<pocket_circ> call [.591] [-.984] [12/25.4] [0.1][-.3] [0][4]
o<pocket_circ> call [3.937] [-.433] [12/25.4] [0.1][-.3] [0][4]
o<pocket_circ> call [3.937] [-.984] [12/25.4] [0.1][-.3] [0][4]
; m5 holes
;o<drill_man> call [1.634] [-.315]
;o<drill_man> call [1.634] [-.709]
;o<drill_man> call [1.634] [-1.102]
;o<drill_man> call [2.894] [-.315]
;o<drill_man> call [2.894] [-.709]
;o<drill_man> call [2.894] [-1.102]
M2 ; end program

View File

@@ -23,35 +23,75 @@ F6 ; inch or mm/min (300 mm/min = about 1 ft/min)
o1 if [#1 EQ 1]
; 12 mm holes
o<pocket_circ> call [.591] [-.433] [12/25.4] [0.1][-.1] [0][4]
o<pocket_circ> call [.591] [-.433] [12/25.4] [0.1][-.2] [0][4]
o<pocket_circ> call [.591] [-.433] [12/25.4] [0.1][-.3] [0][4]
o<pocket_circ> call [.591] [-.433] [12/25.4] [0.1][-.41] [0][4]
#<_z_top> = 0.1
#<_z_bot> = -.1
o<pocket_circ> call [4] [.591] [-.433] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.2
o<pocket_circ> call [4] [.591] [-.433] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.3
o<pocket_circ> call [4] [.591] [-.433] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.41
o<pocket_circ> call [4] [.591] [-.433] [12/25.4] [0]
o<pocket_circ> call [.591] [-.984] [12/25.4] [0.1][-.1] [0][4]
o<pocket_circ> call [.591] [-.984] [12/25.4] [0.1][-.2] [0][4]
o<pocket_circ> call [.591] [-.984] [12/25.4] [0.1][-.3] [0][4]
o<pocket_circ> call [.591] [-.984] [12/25.4] [0.1][-.41] [0][4]
#<_z_top> = 0.1
#<_z_bot> = -.1
o<pocket_circ> call [4] [.591] [-.984] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.2
o<pocket_circ> call [4] [.591] [-.984] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.3
o<pocket_circ> call [4] [.591] [-.984] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.41
o<pocket_circ> call [4] [.591] [-.984] [12/25.4] [0]
o<pocket_circ> call [3.937] [-.433] [12/25.4] [0.1][-.1] [0][4]
o<pocket_circ> call [3.937] [-.433] [12/25.4] [0.1][-.2] [0][4]
o<pocket_circ> call [3.937] [-.433] [12/25.4] [0.1][-.3] [0][4]
o<pocket_circ> call [3.937] [-.433] [12/25.4] [0.1][-.41] [0][4]
#<_z_top> = 0.1
#<_z_bot> = -.1
o<pocket_circ> call [4] [3.937] [-.433] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.2
o<pocket_circ> call [4] [3.937] [-.433] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.3
o<pocket_circ> call [4] [3.937] [-.433] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.41
o<pocket_circ> call [4] [3.937] [-.433] [12/25.4] [0]
o<pocket_circ> call [3.937] [-.984] [12/25.4] [0.1][-.1] [0][4]
o<pocket_circ> call [3.937] [-.984] [12/25.4] [0.1][-.2] [0][4]
o<pocket_circ> call [3.937] [-.984] [12/25.4] [0.1][-.3] [0][4]
o<pocket_circ> call [3.937] [-.984] [12/25.4] [0.1][-.41] [0][4]
#<_z_top> = 0.1
#<_z_bot> = -.1
o<pocket_circ> call [4] [3.937] [-.984] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.2
o<pocket_circ> call [4] [3.937] [-.984] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.3
o<pocket_circ> call [4] [3.937] [-.984] [12/25.4] [0]
#<_z_top> = 0.1
#<_z_bot> = -.41
o<pocket_circ> call [4] [3.937] [-.984] [12/25.4] [0]
o1 elseif [#1 EQ 2]
#2 = [12/25.4]
o<frame_circ> call [.591] [-.433] [#2] [0.1][-.41] [0][4]
o<frame_circ> call [.591] [-.984] [#2] [0.1][-.41] [0][4]
o<frame_circ> call [3.937] [-.433] [#2] [0.1][-.41] [0][4]
o<frame_circ> call [3.937] [-.984] [#2] [0.1][-.41] [0][4]
#<_z_top> = 0.1
#<_z_bot> = -.41
o<frame_circ> call [4] [.591] [-.433] [#2] [0]
#<_z_top> = 0.1
#<_z_bot> = -.41
o<frame_circ> call [4] [.591] [-.984] [#2] [0]
#<_z_top> = 0.1
#<_z_bot> = -.41
o<frame_circ> call [4] [3.937] [-.433] [#2] [0]
#<_z_top> = 0.1
#<_z_bot> = -.41
o<frame_circ> call [4] [3.937] [-.984] [#2] [0]
o1 elseif [#1 EQ 3]