BearingCupVersionThree: Difference between revisions

From Traxel Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 146: Line 146:


;; Rough Cut for Retainer
;; Rough Cut for Retainer
G0 Z5 (traverse to 5mm above part)
G1 Z-1 (2mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0
G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5
G0 Z5 (traverse to 5mm above part)
G0 Z5 (traverse to 5mm above part)
G1 Z-2 (2mm below surface)
G1 Z-2 (2mm below surface)
Line 152: Line 163:
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5
G1 Z-3 (4mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0
G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


G1 Z-4 (4mm below surface)
G1 Z-4 (4mm below surface)
Line 161: Line 183:
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5
 
G1 Z-5 (6mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0
 
G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


G1 Z-6 (6mm below surface)
G1 Z-6 (6mm below surface)
Line 170: Line 203:
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5
 
G1 Z-7 (8mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0
 
G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


G1 Z-8 (8mm below surface)
G1 Z-8 (8mm below surface)
Line 179: Line 223:
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


G1 Z-9 (9mm below surface)
G1 Z-9 (9mm below surface)
Line 188: Line 233:
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


;; ----------------------------------
;; Rough Cut for Bearing Cup
;; Rough Cut for Bearing Cup
G0 Z5 (traverse to 5mm above part)
G0 Z5 (traverse to 5mm above part)
G1 Z-1 (2mm below surface)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G1 X0 Y0
G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5
G1 Z-2 (2mm below surface)
G1 Z-2 (2mm below surface)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G0 X0 Y0
G0 Z5
G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5
G1 Z-3 (3mm below surface)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


G1 Z-4 (4mm below surface)
G1 Z-4 (4mm below surface)
Line 208: Line 277:
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5
 
G1 Z-5 (5mm below surface)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G1 X0 Y0
 
G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


G1 Z-6 (6mm below surface)
G1 Z-6 (6mm below surface)
Line 217: Line 297:
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


G1 Z-6.85 (6.85mm below surface)
G1 Z-6.85 (6.85mm below surface)
Line 226: Line 307:
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5




Line 239: Line 321:
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


;; Finish Cut for Bearing Cup
;; Finish Cut for Bearing Cup
G0 X0 Y0 (traverse to origin XY)
G0 X0 Y0 (traverse to origin XY)
F50 (set feed speed to 200mm per minute, 0.010 mm per tooth)
F50 (set feed speed to 200mm per minute, 0.010 mm per tooth)
G1 Z-7.1 (feed to 7.1mm below surface)
G1 Z-7.2 (feed to 7.1mm below surface)
G1 X8.05 Y0 (11.05mm R / 22.1mm D)
G1 X8.1 Y0 (11.1mm R / 22.2mm D)
G3 X8.05 Y0 I-8.05 J0 (circle about origin)
G3 X8.1 Y0 I-8.1 J0 (circle about origin)
G1 X0 Y0
G1 X0 Y0


G0 Z20 (traverse to 20mm above)
G0 Z5 (traverse to 5mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


;; --------------------------------------
;; --------------------------------------

Latest revision as of 01:42, 28 July 2022

BearingCupVersionOne BearingCupVersionTwo

Drill Ears

;; ------------------------------
;; Drill Ears (001)
;; ------------------------------
;; Use 1/2" x 2" rectangle 6061 T6, at least 28mm long.
;; Spindle RPM to 1200
;; Zero X to 14mm in from right end
;; Zero Y to middle of material
;; Insert Appropriate drill bit (.166 for slip, M4-0.7 tap drill bit for threads)
;; Zero Z to shoulder of drill bit
;; Check H64 in CNC control system for zero offset
;; Check T64 in CNC control system for zero diameter

G21 (set units to millimeters)
G90 (set measurements to absolute, relative to machine zero)
F60 (set feed rate to 60mm per minute, 0.025 mm per tooth)
T64 (set tool with zero height and diameter)
G43 H64 (set height offset zero)

G0 Z20 (traverse to 20mm above part)

G0 X8 Y12.09 (traverse to screw hole center XY)
G0 Z5 (traverse to 5mm above)
G1 Z-5 (peck to 5mm deep)
G0 Z6 (retract to 6mm above)
G0 Z0 (traverse to 0mm above)
G1 Z-10 (peck to 10mm deep - top has not been faced yet)

G0 Z20 (traverse to 20mm above)

G0 X-8 Y-12.09 (traverse to screw hole center XY)
G0 Z5 (traverse to 5mm above)
G1 Z-5 (peck to 5mm deep)
G0 Z6 (retract to 6mm above)
G0 Z0 (traverse to 0mm above)
G1 Z-10 (peck to 10mm deep - top has not been faced yet)

G0 Z20 (traverse to 20mm above)
M30 (end of program)

Drill Center

;; ------------------------------------
;; Drill Center, Starter Bit (002)
;; ------------------------------------
;; Insert 5/16" or 8mm drill bit
;; Zero Z to shoulder of drill bit

G21 (set units to millimeters)
G90 (set measurements to absolute, relative to machine zero)
F60 (set feed rate to 60mm per minute, 0.025 mm per tooth)
T64 (tool with zero height and diameter)
G43 H64 (height offset zero)

G0 Z20 (traverse to 20mm above part)

G0 X0 Y0 (traverse to screw hole center XY)
G0 Z5 (traverse to 5mm above)
G1 Z-5 (peck to 5mm deep)
G0 Z6 (retract to 6mm above)
G0 Z0 (traverse to 0mm above)
G1 Z-10 (peck to 10mm deep - top has not been faced yet)

G0 Z20 (traverse to 20mm above)

M30 (end of program)
;; ------------------------------------
;; Drill Center, Final Bit (003)
;; ------------------------------------
;; Insert 1/2" or 13mm drill bit
;; Zero Z to shoulder of drill bit

G21 (set units to millimeters)
G90 (set measurements to absolute, relative to machine zero)
F60 (set feed rate to 60mm per minute, 0.025 mm per tooth)
T64 (tool with zero height and diameter)
G43 H64 (height offset zero)

G0 Z20 (traverse to 20mm above part)

G0 X0 Y0 (traverse to screw hole center XY)
G0 Z5 (traverse to 5mm above)
G1 Z-5 (peck to 5mm deep)
G0 Z6 (retract to 6mm above)
G0 Z0 (traverse to 0mm above)
G1 Z-10 (peck to 10mm deep - top has not been faced yet)

G0 Z20 (traverse to 20mm above)

M30 (end of program)

Mill

;; ----------------------------------------
;; Face Part (004)
;; ----------------------------------------
;; Insert 6mm carbide square end mill
;; Set RPM to 3,000, 62 SFM
;; Zero Z to 0.2mm below surface (depth of the facing operation, leaving 12.5mm of material)

G21 (set units to millimeters)
G90 (set measurements to absolute, relative to machine zero)
F150 (set feed speed to 150mm per minute, 0.01 mm per tooth)
T64 (tool with zero height and diameter)
G43 H64 (height offset zero)

G0 Z20 (traverse to 20mm above part)

G17 (set XY coordinate system for arc cuts)

G0 X20 Y0.56 (traverse to outside part)
G0 Z5 (traverse to 5mm above part)
G1 Z0.1 (feed to 0.1 above final facing depth)
G1 X6.34 Y9.59 (feed to start of upper right ear)
G1 Z0 (feed to final facing depth)
G2 X6.34 Y9.59 I1.66 J2.5 (CW arc cut to same position about upper right ear)
G3 X-6.34 Y-9.59 I-6.34 J-9.59 (CCW arc cut to lower left ear about origin)
G2 X-6.34 Y-9.59 I-1.66 J-2.5 (CW arc cut to same position about lower left ear)
G3 X6.34 Y9.59 I6.34 J9.59 (CCW arc cut back to where we stared about origin)

G0 Z20 (traverse to 20mm above)
G0 X30 Y0 (traverse to outside part)
M00 (Stop for inspection)

;; --------------------------------------
;; Round Pocket in Center (005)
;; --------------------------------------
G21 (set units to millimeters)
G90 (set measurements to absolute, relative to machine zero)
F150 (set feed speed to 500mm per minute, 0.025 mm per tooth)
T64 (tool with zero height and diameter)
G43 H64 (height offset zero)
G17 (set XY coordinate system for arc cuts)

G0 Z20 (traverse to 20mm above)

G0 X0 Y0 (traverse to starting point)

;; Rough Cut for Retainer
G0 Z5 (traverse to 5mm above part)
G1 Z-1 (2mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G0 Z5 (traverse to 5mm above part)
G1 Z-2 (2mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-3 (4mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-4 (4mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-5 (6mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-6 (6mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-7 (8mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-8 (8mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-9 (9mm below surface)
G1 X5.75 Y0 (8.75mm R / 17.5 mm D)
G3 X5.75 Y0 I-5.75 J0 (circle about center)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

;; ----------------------------------
;; Rough Cut for Bearing Cup
G0 Z5 (traverse to 5mm above part)
G1 Z-1 (2mm below surface)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-2 (2mm below surface)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G0 X0 Y0
G0 Z5

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-3 (3mm below surface)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-4 (4mm below surface)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-5 (5mm below surface)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-6 (6mm below surface)
G1 X7.75 Y0 (10.75mm R / 21.5 mm D)
G3 X7.75 Y0 I-7.75 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

G1 Z-6.85 (6.85mm below surface)
G1 X7.80 Y0 (10.80mm R / 21.6 mm D)
G3 X7.80 Y0 I-7.80 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5


;; Finish Cut for Retainer
G0 X0 Y0 (traverse to origin XY)
F50 (set feed speed to 200mm per minute, 0.010 mm per tooth)
G1 Z-9 (feed to 9mm below part)
G1 X6 Y0 (9mm R / 18mm D)
G3 X6 Y0 I-6 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

;; Finish Cut for Bearing Cup
G0 X0 Y0 (traverse to origin XY)
F50 (set feed speed to 200mm per minute, 0.010 mm per tooth)
G1 Z-7.2 (feed to 7.1mm below surface)
G1 X8.1 Y0 (11.1mm R / 22.2mm D)
G3 X8.1 Y0 I-8.1 J0 (circle about origin)
G1 X0 Y0

G0 Z5 (traverse to 5mm above)
M00 (Stop for inspection)
G0 X0 Y0
G0 Z5

;; --------------------------------------
;; Perimeter Cut (006)
;; --------------------------------------
G21 (set units to millimeters)
G90 (set measurements to absolute, relative to machine zero)
F150 (set feed speed to 500mm per minute, 0.025 mm per tooth)
T64 (tool with zero height and diameter)
G43 H64 (height offset zero)
G17 (set XY coordinate system for arc cuts)

G0 Z20 (traverse to 20mm above)

G0 X20 Y7.2 (traverse to starting point)
G0 Z5 (traverse to 5mm above part)

;; Rough Cut for Perimeter
G1 Z-1 (feed to 2mm below surface)
G1 X14.01 Y7.2 (feed to A)
G2 X-1.14 Y-15.71 I-14.01 J-7.2 (A to B)
G2 X-14.01 Y-7.2 I-6.86 J3.62 (B to C)
G2 X1.14 Y15.71 I14.01 J7.2 (C to D)
G2 X14.01 Y7.2 I6.86 J-3.62 (D to A)
G1 X20 Y7.2 (feed to outside part)

M00 (Stop for inspection)

G1 Z-2 (feed to 2mm below surface)
G1 X14.01 Y7.2 (feed to A)
G2 X-1.14 Y-15.71 I-14.01 J-7.2 (A to B)
G2 X-14.01 Y-7.2 I-6.86 J3.62 (B to C)
G2 X1.14 Y15.71 I14.01 J7.2 (C to D)
G2 X14.01 Y7.2 I6.86 J-3.62 (D to A)
G1 X20 Y7.2 (feed to outside part)

M00 (Stop for inspection)

G1 Z-3 (feed to 4mm below surface)
G1 X14.01 Y7.2 (feed to A)
G2 X-1.14 Y-15.71 I-14.01 J-7.2 (A to B)
G2 X-14.01 Y-7.2 I-6.86 J3.62 (B to C)
G2 X1.14 Y15.71 I14.01 J7.2 (C to D)
G2 X14.01 Y7.2 I6.86 J-3.62 (D to A)
G1 X20 Y7.2

M00 (Stop for inspection)

G1 Z-4 (feed to 4mm below surface)
G1 X14.01 Y7.2 (feed to A)
G2 X-1.14 Y-15.71 I-14.01 J-7.2 (A to B)
G2 X-14.01 Y-7.2 I-6.86 J3.62 (B to C)
G2 X1.14 Y15.71 I14.01 J7.2 (C to D)
G2 X14.01 Y7.2 I6.86 J-3.62 (D to A)
G1 X20 Y7.2

M00 (Stop for inspection)

G1 Z-5 (feed to 6mm below surface)
G1 X14.01 Y7.2 (feed to A)
G2 X-1.14 Y-15.71 I-14.01 J-7.2 (A to B)
G2 X-14.01 Y-7.2 I-6.86 J3.62 (B to C)
G2 X1.14 Y15.71 I14.01 J7.2 (C to D)
G2 X14.01 Y7.2 I6.86 J-3.62 (D to A)
G1 X20 Y7.2

M00 (Stop for inspection)

G1 Z-6 (feed to 6mm below surface)
G1 X14.01 Y7.2 (feed to A)
G2 X-1.14 Y-15.71 I-14.01 J-7.2 (A to B)
G2 X-14.01 Y-7.2 I-6.86 J3.62 (B to C)
G2 X1.14 Y15.71 I14.01 J7.2 (C to D)
G2 X14.01 Y7.2 I6.86 J-3.62 (D to A)
G1 X20 Y7.2

M00 (Stop for inspection)

G1 Z-7 (feed to 8mm below surface)
G1 X14.01 Y7.2 (feed to A)
G2 X-1.14 Y-15.71 I-14.01 J-7.2 (A to B)
G2 X-14.01 Y-7.2 I-6.86 J3.62 (B to C)
G2 X1.14 Y15.71 I14.01 J7.2 (C to D)
G2 X14.01 Y7.2 I6.86 J-3.62 (D to A)
G1 X20 Y7.2

M00 (Stop for inspection)

G1 Z-8 (feed to 8mm below surface)
G1 X14.01 Y7.2 (feed to A)
G2 X-1.14 Y-15.71 I-14.01 J-7.2 (A to B)
G2 X-14.01 Y-7.2 I-6.86 J3.62 (B to C)
G2 X1.14 Y15.71 I14.01 J7.2 (C to D)
G2 X14.01 Y7.2 I6.86 J-3.62 (D to A)
G1 X20 Y7.2

M00 (Stop for inspection)

G1 Z-9 (feed to 9mm below surface)
G1 X14.01 Y7.2 (feed to A)
G2 X-1.14 Y-15.71 I-14.01 J-7.2 (A to B)
G2 X-14.01 Y-7.2 I-6.86 J3.62 (B to C)
G2 X1.14 Y15.71 I14.01 J7.2 (C to D)
G2 X14.01 Y7.2 I6.86 J-3.62 (D to A)
G1 X20 Y7.2

M00 (Stop for inspection)

G1 X20 Y7.23 (feed to starting point)

;; Finish Cut for Perimeter
F50 (set feed speed to 200mm per minute, 0.010 mm per tooth)
G1 Z-9 (feed to 9mm below part)
G1 X13.71 Y7.23 (feed to A)
G2 X-1.29 Y-15.45 I-13.71 J-7.23 (A to B)
G2 X-13.71 Y-7.23 I-6.71 J3.36 (B to C)
G2 X1.29 Y15.45 I13.71 J7.23 (C to D)
G2 X13.71 Y7.23 I6.71 J-3.36 (D to A)
G1 X20 Y7.23

G0 Z20 (traverse to 20mm above)
M30 (end of program)

Release Part

;; ----------------------------------------
;; Release Part (007)
;; ----------------------------------------
;; Insert 6mm carbide square end mill
;; Set RPM to 5,000, 300 SFM
;; Flip Material Front to Back
;; Verify 3.5mm from surface to main cut from top face
;; Zero X to 14mm in from right end of material
;; Zero Y to middle of part (should be unchanged)
;; Zero Z to surface.

G21 (set units to millimeters)
G90 (set measurements to absolute, relative to machine zero)
F500 (set feed speed to 500mm per minute, 0.025 mm per tooth)
T64 (tool with zero height and diameter)
G43 H64 (height offset zero)
G17 (set XY coordinate system for arc cuts)

G0 Z20 (traverse to 20mm above part)

G0 X20 Y-0.56 (traverse to outside part)
G0 Z5 (traverse to 5mm above part)

G1 Z-2.4 (feed to 0.1 above facing depth)
G1 X6.34 Y-9.59 (feed to start of upper right ear)
G1 Z-2.5 (feed to 2.5mm below surface)
G3 X6.34 Y-9.59 I1.66 J-2.5 (CCW arc cut to same position about upper right ear)
G2 X-6.34 Y9.59 I-6.34 J9.59 (CW arc cut to lower left ear about origin)
G3 X-6.34 Y9.59 I-1.66 J2.5 (CCW arc cut to same position about lower left ear)
G2 X6.34 Y-9.59 I6.34 J-9.59 (CW arc cut back to where we stared about origin)
G1 X20 Y-0.56 (feed to outside part)

F200 (slow feed to 200mm, 0.010mm per tooth)

G1 Z-3.4 (feed to 0.1mm above facing depth)
G1 X6.34 Y-9.59 (feed to start of upper right ear)
G1 Z-3.5 (feed to final facing depth)
G3 X6.34 Y-9.59 I1.66 J-2.5 (CCW arc cut to same position about upper right ear)
G2 X-6.34 Y9.59 I-6.34 J9.59 (CW arc cut to lower left ear about origin)
G3 X-6.34 Y9.59 I-1.66 J2.5 (CCW arc cut to same position about lower left ear)
G2 X6.34 Y-9.59 I6.34 J-9.59 (CW arc cut back to where we stared about origin)
G1 X20 Y-0.56 (feed to outside part)

G0 Z20 (traverse to 20mm above)
M30 (end of program)