g2 — Clockwise arcMotion

Cut a clockwise arc / helix to a point.

g2 x<..> y<..> [z<..>] i<..> j<..> | r<radius> [f<feed>]

Equivalents: Fanuc G02 · Siemens G2

ParameterTypeDefault
x/ymmarc end point
zmmend height (a non-coplanar end makes it a helix)
i/j/kmmcentre offset from the start
rmmradius (alternative to i/j)

Clockwise in the active plane (looking down the plane's normal). Define the arc one of two ways: give the **centre** as an `i/j/k` offset *from the start point* (exact, unambiguous — preferred for full/large arcs), **or** a **radius** `cr=<r>` (the controller picks the short arc for `cr>0`). A differing `z` end turns it into a **helix** — the classic interpolated helical-bore / ramp entry. ``` start ●─────────► (cw) centre by i/j: ● start ╲ i = cx - xstart │ j ╲___ j = cy - ystart ▼ ● end ⊙ centre ```

quarter-circle
units mm
g0 x0 y0 z-1
g2 x10 y10 cr=10 f300

See also: g3 · arc · g1

← all commands