claude init

This commit is contained in:
Thaddeus Hughes
2026-04-03 21:47:22 -05:00
parent f3953d66ae
commit 9d2379205f
26 changed files with 2382 additions and 4243 deletions

View File

@@ -1,3 +1,6 @@
; Rectangle perimeter cut - cuts inside or outside a rectangular frame
; Params: #1=x1, #2=y1, #3=x2, #4=y2, #5=ztop, #6=zbot, #7=mode, #8=corner_radius
; Mode bitmask: bit0=conventional, bit1=bothways, bit2=plunge(vs helix), bit3=outside
o<frame_rect> sub
; o<frame_rect> call [x1][y1] [x2][y2] [ztop][zbot] [mode] [radius]
@@ -43,7 +46,7 @@ o<frame_rect> sub
o10 if [#<M_INSIDE> AND #<M_CONVENTIONAL>]
; plunge in center
; CW inside: plunge in center, traverse to wall, trace perimeter
G0 X[[#1+#3]/2] Y[[#2+#4]/2]
G0 Z#5
G1 Z#6
@@ -74,7 +77,7 @@ o<frame_rect> sub
G0 Z#5
o10 elseif [#<M_INSIDE> AND #<M_CLIMB>]
; CCW inside
; CCW inside: plunge in center, trace perimeter counterclockwise
G0 X[[#1+#3]/2] Y[[#2+#4]/2]
G0 Z#5
G1 Z#6
@@ -104,7 +107,7 @@ o<frame_rect> sub
G0 Z#5
o10 elseif [#<M_OUTSIDE> AND #<M_CONVENTIONAL>]
; plunge at corner
; CW outside: plunge at corner, trace perimeter offset outward
G0 X[#<minx>-#<tr>] Y[#<maxy>+#<tr>]
G0 Z#5
G1 Z#6
@@ -129,7 +132,7 @@ o<frame_rect> sub
G0 Z#5
o10 elseif [#<M_OUTSIDE> AND #<M_CLIMB>]
; plunge at corner
; CCW outside: plunge at corner, trace perimeter offset outward
G0 X[#<minx>-#<tr>] Y[#<miny>-#<tr>]
G0 Z#5
G1 Z#6