print_end.cfg modified - 07/12/2025 - 08:59:16 PM
This commit is contained in:
parent
0b8f31a85e
commit
299209d536
1 changed files with 24 additions and 0 deletions
|
@ -0,0 +1,24 @@
|
||||||
|
[gcode_macro PRINT_END]
|
||||||
|
# Use PRINT_END for the slicer ending script - please customise for your slicer of choice
|
||||||
|
gcode:
|
||||||
|
SAVE_GCODE_STATE NAME=STATE_PRINT_END
|
||||||
|
|
||||||
|
M400 ; wait for buffer to clear
|
||||||
|
G92 E0 ; zero the extruder
|
||||||
|
G1 E-10.0 F3600 ; retract filament
|
||||||
|
|
||||||
|
G91 ; relative positioning
|
||||||
|
G0 Z1.00 X20.0 Y20.0 F20000 ; move nozzle to remove stringing
|
||||||
|
TURN_OFF_HEATERS
|
||||||
|
M107 ; turn off fan
|
||||||
|
G1 Z2 F3000 ; move nozzle up 2mm
|
||||||
|
G90 ; absolute positioning
|
||||||
|
G0 X125 Y250 F3600 ; park nozzle at rear
|
||||||
|
BED_MESH_CLEAR
|
||||||
|
|
||||||
|
# The purpose of the SAVE_GCODE_STATE/RESTORE_GCODE_STATE
|
||||||
|
# command pair is to restore the printer's coordinate system
|
||||||
|
# and speed settings since the commands above change them.
|
||||||
|
# However, to prevent any accidental, unintentional toolhead
|
||||||
|
# moves when restoring the state, explicitly set MOVE=0.
|
||||||
|
RESTORE_GCODE_STATE NAME=STATE_PRINT_END MOVE=0
|
Loading…
Add table
Add a link
Reference in a new issue