I'm thoroughly confused now. I can't seem to get Mach to read the file with any of my settings. I know that G17 followed by the K is causing problems but I can't seem to fix it so I'm going to post all the info I can and hopefully someone way smarter than me can spot the problem and tell what settings should be what.

Here is a sample toolpath that gives errors in Mach:

Here is the machining preferences settings in RhinoCAM:

Here are the relevant tabs in the post processor:

Here is the GenConfig page in Mach:

Here is the gcode produced:

G00 G49 G40.1 G17 G80 G50 G90

G20

(Hole Pocketing)

M6 T3 G43 H3

S5000M03

G00Z0.2500

X0.1249Y-0.0042

G01Z-0.2960 F7.3

G17

G03X0.1250Y0.0000Z-0.5473I0.0000J0.0000R0.125K0.2500 F10.0

X0.1774Y-0.7284I0.0000J0.0000R0.7497Q0.3500

X-0.1774Y0.7284I0.0000J0.0000R0.7497

X0.1774Y-0.7284I0.0000J0.0000R0.7497

G01X0.1250Y0.0000

X0.1035Y0.0700

G03X0.1250Y0.0000Z-0.7737I0.0000J0.0000R0.125K0.2500

X0.1774Y-0.7284I0.0000J0.0000R0.7497Q0.3500

X-0.1774Y0.7284I0.0000J0.0000R0.7497

X0.1774Y-0.7284I0.0000J0.0000R0.7497

G01X0.1250Y0.0000

X0.1035Y0.0700

G03X0.1250Y0.0000Z-1.0000I0.0000J0.0000R0.125K0.2500

X0.1774Y-0.7284I0.0000J0.0000R0.7497Q0.3500

X-0.1774Y0.7284I0.0000J0.0000R0.7497

X0.1774Y-0.7284I0.0000J0.0000R0.7497

G01X0.1250Y0.0000

X0.0000

G00Z0.2500

M5 M9

M30