Autodesk Inventor to Easel invalid G-code

I’m trying to get my first Autodesk Inventor Professional 2016 part cut out on my new Carvey. After a substantial bit of fiddling, mainly with setting the origin (WCS) and stock dimensions, I was finally able to get a G-code import into Easel. The import was for a single tool path that drilled 4 holes.

As soon as I add any of the other 2D Milling operations I try end up with Easel rejecting the import due to invalid G-code. I am using the Inventables configuration file from Post Library for Autodesk Fusion 360 | Autodesk Fusion 360 for my Post Configuration G-code generation.

The Easel error is:

Line 37: G18 G2 X29.97 Z0 I0.015
The file contains invalid G-code syntax.

The G-code is:

%
(1001)
(T1  D=0.15 CR=0 TAPER=118deg - ZMIN=-3 - drill)
G90 G94
G17
G21

(Drill1)
M9
T1 M6
S10000 M3
G54
M9
G0 X35.333 Y142
Z15
Z5
G1 Z-3 F15
G0 Z5
Y58
G1 Z-3 F15
G0 Z5
X184.667
G1 Z-3 F15
G0 Z5
Y142
G1 Z-3 F15
G0 Z5
Z15

(2D Contour5)
M9
X29.955 Y99.985
Z15
Z5
G1 Z1 F0
Z0.015
G18 G2 X29.97 Z0 I0.015
G1 X29.985
G17 G3 X30 Y100 J0.015
G1 Y145 F1
X40.422 Y156.58
X52.5 Y170
X167.5
X190 Y145
Y55
X167.5 Y30
X52.5
X30 Y55
Y100
G3 X29.985 Y100.015 I-0.015 F0
G1 X29.97
G18 G3 X29.955 Z0.015 K0.015
G0 Z15
G17
M9
M30
%

https://inventables.desk.com/customer/portal/articles/2258567-easel-g-code-spec

@AaronClauson

Line 37 contains 2 issues

G18 is an unsupported command. It is a plane select command trying to switch the plane to XZ
G2 is an arc command. Arcs are not supported in Easel.

Basically the g code is trying to do an arc move in the XZ plane.

The post is for Grbl. Grbl supports those commands, but Easel does not yet. You will need to modify the the post or use another sender.

I don’t use Inventor, so I cannot verify this, but the Easel post for Fusion 360 appears to be the same format. I would try that. There is a link to the Easel post in the File…Import g-code menu.

Thanks, I’ll switch to using Fusion 360 to generate the g-code.