G3 is the LinuxCNC G-code for a circular or helical arc move in the counterclockwise direction at the current feed rate. The arc is specified either by its end point plus offsets to the arc center (center format) or by its end point plus a radius (radius format), in the plane chosen with G17, G18 or G19. Including the axis word perpendicular to the selected plane produces a helical move.
| Language | gcode |
|---|---|
| Code | G3 |
| Group | motion |
| Syntax | G3 <X- Y- Z- I- J- P-> (XY plane, center format); G3 axes R- <P-> (radius format) |
| Dialect | LinuxCNC |
| Name | Description |
|---|---|
| X | Endpoint X coordinate in the currently active coordinate system |
| Y | Endpoint Y coordinate in the currently active coordinate system |
| Z | Endpoint Z coordinate; acts as the helix axis in the G17 plane |
| I | X offset to the arc center from the current location |
| J | Y offset to the arc center from the current location |
| K | Z offset to the arc center from the current location (XZ and YZ planes) |
| R | Radius from the current position (radius format) |
| P | Number of full turns plus the programmed arc; integer, defaults to 1 |