Gcode fret slots G18, G3 commands

Limitations of Meshcam, don’t allow cut along a line. Not sure if it’ll work with fanfrets, gonna have to dig deeper on this one. He uploaded his code also, so I can see it’ll work for on multiscale. Ran it in camotics also. G18 changes the plane to along XZ. It has an arc in the cut, and cuts straight no weird pocketing moves that would enlarge the slot. Maybe combine this with the ramping from easel pro, might be a lot, but i’ll try. Multiple people had issues doing this in meshcam. Not sure if making a pocket that small will cut cleanly.

Info on commands
http://www.manufacturinget.org/2011/12/cnc-g-code-g02-and-g03/
https://marlinfw.org/docs/gcode/G002-G003.html
https://cnctips.wordpress.com/2010/06/26/nc-programming-arc-centers/

Doug’s gcode file and notes
https://www.stepcraft-systems.com/en/forum/milling/5103-cutting-0-6-mm-slots-in-a-guitar-fretboard-with-g18-g02-g03-arc-commands#52169

“I have started a new post on this topic rather than append it to my guitar build thread because I feel it will be of wider interest. Last night I successfully managed to cut 1.5 mm deep, 0.6 mm wide pure arc slots for the frets in a guitar fretboard I am making using the G18 (arc in XZ plane) command in conjunction with the G02 and G03 CW & CCW arc commands.

I wrote the GCode for this myself. The YouTube video below (filmed with my iPhone, hand held) illustrates the process. I used a 0.6 mm diameter, Kyocera solid carbide two flute end mill cutting in 0.25 mm depths per pass. The system parameters were extremely conservative to avoid breaking the fragile end mill. Spindle speed 10,000 rpm, XY feed rate 600 mm/min, Z plunge rate 120 mm/min but all Z movements were done outside the line of the stock. This is a test/validation cut on spruce tonewood. The final cuts will be done on European oak.” -Doug

%
(FILENAME: Fret Slotting Toolpath G18 XZ Arcs.nc)
(STOCK/BLOCK, 100.000, 500.000, 6.350, 50.000, 250.000, 6.350)
(TOOL/MILL,0.6000,3.00000,38.000,0.0)
G00 X0.0000 Y0.0000 Z2.0000
(Zero Fret)
G00 X-26.5000 Y230.9687 Z2.0000
G01 F120.0 Z-2.1667
G18 F600
G03 X26.5000 Y230.9687 Z-2.1667 I26.5000 J0.000 K-181.9833
G01 F120.0 X26.5000 Y230.9687 Z-2.4167
G18 F600
G02 X-26.5000 Y230.9687 Z-2.4167 I-26.5000 J0.000 K-181.7333
G01 F120.0 X-26.5000 Y230.9687 Z-2.6667
G18 F600
G03 X26.5000 Y230.9687 Z-2.6667 I26.5000 J0.000 K-181.4833
G01 F120.0 X26.5000 Y230.9687 Z-2.9167
G18 F600
G02 X-26.5000 Y230.9687 Z-2.9167 I-26.5000 J0.000 K-181.2333
G01 F120.0 X-26.5000 Y230.9687 Z-3.1667
G18 F600
G03 X26.5000 Y230.9687 Z-3.1667 I26.5000 J0.000 K-180.9833
G01 F120.0 X26.5000 Y230.9687 Z-3.4167
G18 F600
G02 X-26.5000 Y230.9687 Z-3.4167 I-26.5000 J0.000 K-180.7333
G01 F120.0 X-26.5000 Y230.9687 Z-3.6667
G18 F600
G03 X26.5000 Y230.9687 Z-3.6667 I26.5000 J0.000 K-180.4833
G00 Z2.0000
(Fret 1)
G00 X-26.5000 Y196.7547 Z2.0000
G01 F120.0 Z-2.1667
G18 F600
G03 X26.5000 Y196.7547 Z-2.1667 I26.5000 J0.000 K-181.9833
G01 F120.0 X26.5000 Y196.7547 Z-2.4167
G18 F600
G02 X-26.5000 Y196.7547 Z-2.4167 I-26.5000 J0.000 K-181.7333
G01 F120.0 X-26.5000 Y196.7547 Z-2.6667
G18 F600
G03 X26.5000 Y196.7547 Z-2.6667 I26.5000 J0.000 K-181.4833
G01 F120.0 X26.5000 Y196.7547 Z-2.9167
G18 F600
G02 X-26.5000 Y196.7547 Z-2.9167 I-26.5000 J0.000 K-181.2333
G01 F120.0 X-26.5000 Y196.7547 Z-3.1667
G18 F600
G03 X26.5000 Y196.7547 Z-3.1667 I26.5000 J0.000 K-180.9833
G01 F120.0 X26.5000 Y196.7547 Z-3.4167
G18 F600
G02 X-26.5000 Y196.7547 Z-3.4167 I-26.5000 J0.000 K-180.7333
G01 F120.0 X-26.5000 Y196.7547 Z-3.6667
G18 F600
G03 X26.5000 Y196.7547 Z-3.6667 I26.5000 J0.000 K-180.4833
G00 Z2.0000
(Fret 2)
G00 X-26.5000 Y164.4607 Z2.0000
G01 F120.0 Z-2.1667
G18 F600
G03 X26.5000 Y164.4607 Z-2.1667 I26.5000 J0.000 K-181.9833
G01 F120.0 X26.5000 Y164.4607 Z-2.4167
G18 F600
G02 X-26.5000 Y164.4607 Z-2.4167 I-26.5000 J0.000 K-181.7333
G01 F120.0 X-26.5000 Y164.4607 Z-2.6667
G18 F600
G03 X26.5000 Y164.4607 Z-2.6667 I26.5000 J0.000 K-181.4833
G01 F120.0 X26.5000 Y164.4607 Z-2.9167
G18 F600
G02 X-26.5000 Y164.4607 Z-2.9167 I-26.5000 J0.000 K-181.2333
G01 F120.0 X-26.5000 Y164.4607 Z-3.1667
G18 F600
G03 X26.5000 Y164.4607 Z-3.1667 I26.5000 J0.000 K-180.9833
G01 F120.0 X26.5000 Y164.4607 Z-3.4167
G18 F600
G02 X-26.5000 Y164.4607 Z-3.4167 I-26.5000 
Read the rest