Code: Select all
G10 ; Retract
G1 Z0.200 F15000
; layer 1, Z = 0.2
M300 S5000 P300 ; sound notification
; Tool change (from 0 to 0)
T0
; tool H0.200 W0.400
; skirt
G1 X24.550 Y21.726 F15000
G11 ; UnretractCode: Select all
G10 ; Retract
; layer 1, Z = 0.2
M300 S5000 P300 ; sound notification
; Tool change (from 0 to 0)
T0
; tool H0.200 W0.400
; skirt
G1 X24.550 Y21.726 F15000
G11 ; Unretract
G1 Z0.200 F15000G10 retract will move the head up by 0.5mm
then the generated code moves the head to absolute 0.2mm
then unretract lowers the head by -0.5mm resulting in -0.3mm z position.