From cc3672bf2440a244d6995b1094f495c9b5ae1201 Mon Sep 17 00:00:00 2001 From: Zach Schimke Date: Sun, 22 Aug 2021 00:35:41 -0700 Subject: [PATCH] Added fancy arc to pause and fixed all parking positions --- webclient.cfg | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/webclient.cfg b/webclient.cfg index e282a62..9881c4b 100644 --- a/webclient.cfg +++ b/webclient.cfg @@ -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