From f1a2e30cc0833b61de0c3e9a9b79296dfcb077ae Mon Sep 17 00:00:00 2001 From: Daniel Vasquez Date: Tue, 27 Jul 2021 18:24:38 -0400 Subject: [PATCH 1/3] Added post-customstart failsafe customstart may fail to restore extruder to absolute mode, so reset extruder position and extrusion mode --- js/commongcode.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/commongcode.js b/js/commongcode.js index 7d2ba1a..0a7c180 100644 --- a/js/commongcode.js +++ b/js/commongcode.js @@ -12,6 +12,8 @@ G28 ; home all axes ;G29 ; probe ABL ;M420 S1 ; restore ABL mesh ;customstart +G92 E0.0 ; set current extruder position as 0 +M82; switch to extruder absolute mode G0 Z3; fix for delta printers that home at max`; var commonEnd = ` @@ -22,4 +24,4 @@ M140 S0 ; turn off bed M84 ; disable motors M501 ; restore previous EEPROM values ;customend -`; \ No newline at end of file +`; From acd5f4885422c1c1d2c4b02e380683eed4c7fdac Mon Sep 17 00:00:00 2001 From: Daniel Vasquez Date: Tue, 27 Jul 2021 18:53:31 -0400 Subject: [PATCH 2/3] Change post-customstart failsafe to include XYZ --- js/commongcode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/commongcode.js b/js/commongcode.js index 0a7c180..5325e5e 100644 --- a/js/commongcode.js +++ b/js/commongcode.js @@ -13,7 +13,7 @@ G28 ; home all axes ;M420 S1 ; restore ABL mesh ;customstart G92 E0.0 ; set current extruder position as 0 -M82; switch to extruder absolute mode +G90 ; set all axes back to absolute mode G0 Z3; fix for delta printers that home at max`; var commonEnd = ` From 2ffeb800d5baa96db389f75ebec81135d7419c75 Mon Sep 17 00:00:00 2001 From: Daniel Vasquez Date: Tue, 27 Jul 2021 19:33:18 -0400 Subject: [PATCH 3/3] Added M82 for RepRap printers --- js/commongcode.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/commongcode.js b/js/commongcode.js index 5325e5e..1e10901 100644 --- a/js/commongcode.js +++ b/js/commongcode.js @@ -14,6 +14,7 @@ G28 ; home all axes ;customstart G92 E0.0 ; set current extruder position as 0 G90 ; set all axes back to absolute mode +M82 ; set extruder back to absolute mode ; required for newer RepRapFirmware revisions G0 Z3; fix for delta printers that home at max`; var commonEnd = `