From dc6db04ebc95c43c4cb13beada4911ab309e2c6e Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 16 Jun 2021 21:05:24 +0100 Subject: [PATCH] Auto load weight map after homing Z --- config.g | 3 +-- homeall.g | 1 + homez.g | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.g b/config.g index 657bfd1..b33e876 100644 --- a/config.g +++ b/config.g @@ -40,7 +40,7 @@ M558 P9 C"^io7.in" H3 F250 T12000 ; set Z probe type to bltouch ;; Pay special attention to the values bellow on G31, the Z value needs to be validated for your printer ;; Start with something like 0.5 ;; Documentation available: https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe -G31 P500 X-28 Y-13 Z2.205 ; set Z probe trigger value, offset and trigger height +G31 P500 X-28 Y-13 Z2.210 ; set Z probe trigger value, offset and trigger height ;; M671 X506.5:250:-2.5 Y0:508.5:0 S6 ; define positions of Z leadscrews or bed levelling screws @@ -89,4 +89,3 @@ M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set tension thresholds and M404 N1.75 D0.4 ; Filament width and nozzle diameter M572 D0 S0.10 ; Pressure Advance T0 ; Define default tool -G29 S1 ; Load saved height map diff --git a/homeall.g b/homeall.g index 379dbba..bf8851f 100644 --- a/homeall.g +++ b/homeall.g @@ -26,3 +26,4 @@ G1 Z5 F100 ; lift Z relative to current position G90 ; absolute positioning G1 X15 Y-15 F10000 +G29 S1 P"heightmap.csv" ; load weightmap diff --git a/homez.g b/homez.g index 06f9426..09220f8 100644 --- a/homez.g +++ b/homez.g @@ -14,3 +14,4 @@ G91 ; relative positioning G1 Z5 F100 ; lift Z relative to current position G90 ; absolute positioning +G29 S1 P"heightmap.csv" ; Load saved height map