Well I just got some time to go out and test the GCode above. I actually made some more modification and replaced the initial plunge/pecking with a helical ramping operation to descend 10mm into the stock and then proceed with the adaptive clearing operation.
Added the GCode in the file into Carbide Motions “Quick Actions” area on the “Run” tab.
I also added the prompt to turn on the router
Final result running the macro
This is a Youtube link of the macro in action.
(EDIT: Latest version of the GCode)
Enhanced Adaptive Keyhole - 10mm Deep x 15mm Slot V1.0.nc (4.1 KB)