Arcs in Easel?

i’m trying to run the following code in easel as an imported gocde file

G21 G90 G17
G0 X0 Y12
G2 X12 Y0 I0 J-12

and i keep getting a syntax error -

some of the posts i have read on this forum and others suggest G2/G3 commands don’t run in Easel - other posts suggest this might not be the case. Either way i’d love to know what i’m doing wrong or why it isn’t working.

if you are using vcarve you need the post processor for Easel.
If your using another tool then you need to ask the manufacture for the proper post prot-scessor.
Vectric has the post-processor and will help you. I got mine from them.

Do a search on the forums here. There are several people who have posted theirs for various apps.
https://discuss.inventables.com/search?q=post%20processor

Easel does not support arcs (even when just sending G-code).

1 Like

thank you - that’s what i thought. i can move on.

i’m just trying to punch it in manually - to teach how gcode works to students - it would have been useful to demo an arc versus importing an svg. if i import an arc from CAD as an svg the gcode Easel creates is a monster.

we’re doing drawings - plotting things - so carving is not important.

I was referencing to his error and not using easel for creating g-code.
Easel doesn’t deal with arcs when your just importing G-code.
It just sends the g-code to the machine.

When importing SVG files and you hit the carve then Easel will create g-code.

For that purpose I would stay away from arc commands. They are not very easy to use in a manual entry setting.

G2 is supported in GRBL V1.1

List of Supported G-Codes in Grbl v1.1:

  • Non-Modal Commands: G4, G10L2, G10L20, G28, G30, G28.1, G30.1, G53, G92, G92.1
  • Motion Modes: G0, G1, G2, G3, G38.2, G38.3, G38.4, G38.5, G80
  • Feed Rate Modes: G93, G94
  • Unit Modes: G20, G21
  • Distance Modes: G90, G91
  • Arc IJK Distance Modes: G91.1
  • Plane Select Modes: G17, G18, G19
  • Tool Length Offset Modes: G43.1, G49
  • Cutter Compensation Modes: G40
  • Coordinate System Modes: G54, G55, G56, G57, G58, G59
  • Control Modes: G61
  • Program Flow: M0, M1, M2, M30*
  • Coolant Control: M7*, M8, M9
  • Spindle Control: M3, M4, M5
  • Valid Non-Command Words: F, I, J, K, L, N, P, R, S, T, X, Y, Z
1 Like

Here is a good site talking about arcs
http://www.manufacturinget.org/2011/12/cnc-g-code-g02-and-g03/

1 Like

aha ! - thank you! -

Here is another good one related more to the what you want.
https://www.shapeoko.com/wiki/index.php/G-Code

in the article is says to use the I,J form

1 Like

here is a example for you to look at.
Hand-coded G-code to cut a 40mm diamond inset w/in a 45mm circle inset w/in a 50mm square
https://www.shapeoko.com/wiki/images/0/09/Circle-diamond-square-50-45-40mm.txt

1 Like

After further looking here is what you need. ( I could be wrong but this is what I understand. I have not tested this)
Gcode below:

G17 = X-Y plane selection
G21 = Milimeter system selection
G90 = Absolute prog
G1 = move X,Y, Z
G3 = CCW circular/helical interpolation with
I21 = X axis offset for arcs and
J20 = Y axis offset for arcs


G17 G21 G90
G1 X-21 Y-20
G3 X-20 Y-21 I21 J20
G1 X-21 Y-21

1 Like

In the article above that has nice pictures Here is what they are talking about.
Line 1: G17 G21 G90 <----- beginning of file These values can be on separate lines as well.
Line 2: G01 Y1.0 F8.0; <------ move to X = 0.0 and Y = 8.0 (X was omitted as its 0)
Line3: G02 X1.2803 Y1.5303 I.750; <----- move in a arc X = 1.2803 and Y = 1.5303 using the offset from the End of G01 point for the center I = .750. J is omitted as its at 0 and you do not need to tell it to move 0 units.

Hope this clears up the confusion.

1 Like

Thank you for digging into this.

So i popped your code into an .nc file and tried to run it. came up with the same error. so i clicked on the “other” post processor button in the pop up - and it said to click on this link https://inventables.desk.com/customer/en/portal/articles/2258567-easel-g-code-spec which in turn says this

"Implementation Notes:

ALWAYS include a G20 or G21 depending on your coordinate system to avoid confusion.

Only linear movements are allowed (arcs must be linearized)."

So that pretty much clears it up. Arcs are not allowed in Easel.

which is a bummer coz i think it would be fun to program and bunch if arcs - my goal teaching gcode is to show that simply punching in a few lines of code can get the tool to do some interesting things. And then getting into using the import SVG option to build out more complex things and then image import and so forth.

Anyhow - thank you for digging thru all this and helping me to figure out the issue. at least when my students read the webpage telling them that arcs are a thing, i’ll know why they don’t work in Easel.

:smile:

Anytime. I was interested in this anyway. :slight_smile:

Although this has nothing to do with Easel it might be instructive information.

Using this G-code file (generated by Vcarve Pro) I did some testing using arcs in grbl.

Line Drawing.gcode (2.5 KB)

Here are the results.

Arc test.

2 Likes

thank you!