From f142f04b743d3924f611e01b841d72a7c26b82ec Mon Sep 17 00:00:00 2001 From: "Dipl.-Ing. Raoul Rubien, BSc" Date: Tue, 26 Sep 2023 04:00:28 +0200 Subject: [PATCH] UBL: implements shift mesh by mesh-mean (#2838) --- TFT/src/User/Menu/ABL.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TFT/src/User/Menu/ABL.c b/TFT/src/User/Menu/ABL.c index c71e201433..9c5b917824 100644 --- a/TFT/src/User/Menu/ABL.c +++ b/TFT/src/User/Menu/ABL.c @@ -70,6 +70,9 @@ void ablStart(void) storeCmd("G29 P3\n"); // run this multiple times since it only fills some missing points, not all storeCmd("G29 P3\n"); storeCmd("G29 P3\n"); + // Find Mean Mesh Height: with C this will automatically execute a G29 P6 C[mean height]. + // Ideally the Mesh is adjusted for a Mean Height of 0.00 and the Z-Probe measuring 0.0 at the Z homing position. + storeCmd("G29 P5 C\n"); break; default: // if any other Auto Bed Leveling