thinkyhead

G10 - Retract

1.0.0-beta planner Retract the filament FWRETRACT

Retract the filament according to settings of M207.


Firmware retraction allows you to tune retraction at the machine level and can significantly reduce the size of G-code files.


Multiple consecutive G10 or G10 S1 commands without a corresponding G11 or G11 S1 will be ignored.


Performs two moves: a retract move at the retract feedrate/acceleration, and an optional Z lift at the maximum Z feedrate (travel acceleration).


Usage

G10 [S<flag>]

Argument Description
[S<flag>]

Use G10 S1 to do a swap retraction, before changing extruders. The subsequent G11 (after tool change) will do a swap recover. (Requires EXTRUDERS > 1)

Notes

Requires FWRETRACT.

See related codes G11, M207, M208, and M209.

Example

G10 ; retract