Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [gcode_macro END_PRINT]
- gcode:
- # Turn off bed, extruder, and fan
- M140 S0
- M104 S0
- M106 S0
- # Move nozzle away from print while retracting
- G91
- G1 X-2 Y-2 E-3 F300
- # Raise nozzle by 10mm
- G1 Z10 F3000
- G90
- # Disable steppers
- M84
- {% set NEEDS_SAVE = printer.configfile.save_config_pending %}
- {% set SAVE_STUFF = printer.configfile.save_config_pending_items %}
- {% if NEEDS_SAVE == True %}
- M117 Saving the following: {SAVE_STUFF}
- SAVE_CONFIG
- {% else %}
- M117 Nothing needs saving
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement