Added fancy arc to pause and fixed all parking positions

This commit is contained in:
Zach Schimke 2021-08-22 00:35:41 -07:00
parent 8a3e4394fa
commit cc3672bf24
1 changed files with 14 additions and 8 deletions

View File

@ -90,18 +90,23 @@ gcode:
#####################################################################
[gcode_macro PAUSE]
rename_existing: BASE_PAUSE
default_parameter_X: 0 #edit to your park position
default_parameter_X: 60 #edit to your park position
default_parameter_Y: 0 #edit to your park position
default_parameter_Z: 120 #edit to your park position
default_parameter_Z: 5 #edit to your park position
default_parameter_E: 0.2 #edit to your retract length
gcode:
SAVE_GCODE_STATE NAME=PAUSE_state
BASE_PAUSE
G91
G1 E-{E} F2100
G1 Z{Z}
G90
G1 X{X} Y{Y} F6000
# Anti-Stringing
G91 ; relative positioning
G1 E-{E} F2100 ; retract filament
G1 X1 F20000 ; move 1mm to the side at 333mm/sec
G2 E0 I-1 ; do a no extrusion circle move with a 0.5mm radius centered on orig
G1 Z{Z} F3000 ; move up by 5mm @ 50mm/sec to clear the print
G90 ; absolute positioning
G1 X{X} Y{Y} F6000 ; Move toolhead to park location
[gcode_macro RESUME]
@ -119,12 +124,13 @@ gcode:
rename_existing: BASE_CANCEL_PRINT
default_parameter_X: 0 #edit to your park position
default_parameter_Y: 0 #edit to your park position
default_parameter_Z: 120 #edit to your park position
default_parameter_Z: 117 #edit to your park position
gcode:
M104 S0
M140 S0
M141 S0
M106 S0
CLEAR_PAUSE
SDCARD_RESET_FILE
BASE_CANCEL_PRINT