Added beep to print_end.

This commit is contained in:
Bassam Husain
2023-01-29 17:57:04 -05:00
parent 8936d91f11
commit 85b9af15ee

View File

@@ -64,6 +64,7 @@ gcode:
[gcode_macro PRINT_END] [gcode_macro PRINT_END]
# Use PRINT_END for the slicer ending script - please customize for your slicer of choice # Use PRINT_END for the slicer ending script - please customize for your slicer of choice
gcode: gcode:
BEEP I=2 DUR=30 FREQ=8500
{% set PRE_PURGE_PRIME_LENGTH=printer["gcode_macro _globals"].pre_purge_prime_length|default(1.40)|float %} {% set PRE_PURGE_PRIME_LENGTH=printer["gcode_macro _globals"].pre_purge_prime_length|default(1.40)|float %}
M400 ; wait for buffer to clear M400 ; wait for buffer to clear
G92 E0 ; zero the extruder G92 E0 ; zero the extruder
@@ -94,8 +95,8 @@ gcode:
{% set z_safe = max_z - printer.toolhead.position.z %} {% set z_safe = max_z - printer.toolhead.position.z %}
{% endif %} {% endif %}
G0 Z{z_safe} F1000 ; move nozzle up ;3600 G0 Z{z_safe} F2000 ; move nozzle up
G0 X{x_safe} Y{y_safe} F7200 ; move nozzle to remove stringing ;20000 ;9000 G0 X{x_safe} Y{y_safe} F7200 ; move nozzle to remove stringing
TURN_OFF_HEATERS TURN_OFF_HEATERS
M107 ; turn off fan M107 ; turn off fan
G90 ; absolute positioning G90 ; absolute positioning