From b7f81632917f0a0da7d7dc974bd60dca9274d6c0 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sun, 5 Jan 2020 09:54:15 +0100 Subject: [PATCH] Update U20 config to help UBL toggle (#16471) --- config/examples/Alfawise/U20-bltouch/Configuration.h | 7 ++++--- config/examples/Alfawise/U20-bltouch/Configuration_adv.h | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/config/examples/Alfawise/U20-bltouch/Configuration.h b/config/examples/Alfawise/U20-bltouch/Configuration.h index 40d9052fdb..312927c73c 100644 --- a/config/examples/Alfawise/U20-bltouch/Configuration.h +++ b/config/examples/Alfawise/U20-bltouch/Configuration.h @@ -1256,8 +1256,9 @@ /** * Normally G28 leaves leveling disabled on completion. Enable * this option to have G28 restore the prior leveling state. + * If false, use M420 S1 after G28 in your slicer print start gcode */ -//#define RESTORE_LEVELING_AFTER_G28 +#define RESTORE_LEVELING_AFTER_G28 false /** * Enable detailed logging of G28, G29, M48, etc. @@ -1327,8 +1328,8 @@ //#define MESH_EDIT_GFX_OVERLAY // Display a graphics overlay while editing the mesh - #define MESH_INSET 1 // Set Mesh bounds as an inset region of the bed - #define GRID_MAX_POINTS_X 10 // Don't use more than 15 points per axis, implementation limited. + #define MESH_INSET 5 // Set Mesh bounds as an inset region of the bed + #define GRID_MAX_POINTS_X 5 // Don't use more than 15 points per axis, implementation limited. #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X #define UBL_MESH_EDIT_MOVES_Z // Sophisticated users prefer no movement of nozzle diff --git a/config/examples/Alfawise/U20-bltouch/Configuration_adv.h b/config/examples/Alfawise/U20-bltouch/Configuration_adv.h index ee539807d7..eed6927924 100644 --- a/config/examples/Alfawise/U20-bltouch/Configuration_adv.h +++ b/config/examples/Alfawise/U20-bltouch/Configuration_adv.h @@ -1500,10 +1500,10 @@ #if EITHER(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL) // Override the mesh area if the automatic (max) area is too large - //#define MESH_MIN_X MESH_INSET - //#define MESH_MIN_Y MESH_INSET - //#define MESH_MAX_X X_BED_SIZE - (MESH_INSET) - //#define MESH_MAX_Y Y_BED_SIZE - (MESH_INSET) + #define MESH_MIN_X _MAX(MESH_INSET, MIN_PROBE_EDGE) + #define MESH_MIN_Y _MAX(MESH_INSET, MIN_PROBE_EDGE) + #define MESH_MAX_X X_BED_SIZE - 35 // NOZZLE_TO_PROBE_OFFSET + #define MESH_MAX_Y Y_BED_SIZE - _MAX(MESH_INSET, MIN_PROBE_EDGE) #endif /**