G2
adds a clockwise arc move to the planner; G3
adds a counter-clockwise arc. An arc move starts at the current position and ends at the given XYZ, pivoting around a center-point offset given by I
and J
or R
.I
specifies an X offset. J
specifies a Y offset.I
J
parameters is required.X
and Y
can be omitted to do a complete circle.X
Y
is not error-checked.I
or J
with R
will throw an error.R
specifies the radius. X
or Y
is required.X
and Y
will throw an error.X
or Y
must differ from the current XY position.R
with I
or J
will throw an error.MM_PER_ARC_SEGMENT
(default 1mm). Any change in the Z position is linearly interpolated over the whole arc.G2
[E<pos>]
I<offset>
J<offset>
[P<rate>]
R<radius>
[X<pos>]
[Y<pos>]
[Z<pos>]
[E<pos>]
The amount to extrude between the start point and end pointI<offset>
An offset from the current X position to use as the arc centerJ<offset>
An offset from the current Y position to use as the arc center[P<rate>]
Specify complete circles - requires ARC_P_CIRCLES
R<radius>
A radius from the current XY position to use as the arc center[X<pos>]
A coordinate on the X axis[Y<pos>]
A coordinate on the Y axis[Z<pos>]
A coordinate on the Z axisG3 X2 Y7 I-4 J-3
or G3 X2 Y7 R5