Browse Source

Update U20 config to help UBL toggle (#16471)

Tanguy Pruvot 4 years ago
parent
commit
b7f8163291

+ 4
- 3
config/examples/Alfawise/U20-bltouch/Configuration.h View File

1256
 /**
1256
 /**
1257
  * Normally G28 leaves leveling disabled on completion. Enable
1257
  * Normally G28 leaves leveling disabled on completion. Enable
1258
  * this option to have G28 restore the prior leveling state.
1258
  * this option to have G28 restore the prior leveling state.
1259
+ * If false, use M420 S1 after G28 in your slicer print start gcode
1259
  */
1260
  */
1260
-//#define RESTORE_LEVELING_AFTER_G28
1261
+#define RESTORE_LEVELING_AFTER_G28 false
1261
 
1262
 
1262
 /**
1263
 /**
1263
  * Enable detailed logging of G28, G29, M48, etc.
1264
  * Enable detailed logging of G28, G29, M48, etc.
1327
 
1328
 
1328
   //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1329
   //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1329
 
1330
 
1330
-  #define MESH_INSET 1              // Set Mesh bounds as an inset region of the bed
1331
-  #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1331
+  #define MESH_INSET 5              // Set Mesh bounds as an inset region of the bed
1332
+  #define GRID_MAX_POINTS_X 5       // Don't use more than 15 points per axis, implementation limited.
1332
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1333
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1333
 
1334
 
1334
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1335
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle

+ 4
- 4
config/examples/Alfawise/U20-bltouch/Configuration_adv.h View File

1500
 
1500
 
1501
 #if EITHER(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL)
1501
 #if EITHER(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL)
1502
   // Override the mesh area if the automatic (max) area is too large
1502
   // Override the mesh area if the automatic (max) area is too large
1503
-  //#define MESH_MIN_X MESH_INSET
1504
-  //#define MESH_MIN_Y MESH_INSET
1505
-  //#define MESH_MAX_X X_BED_SIZE - (MESH_INSET)
1506
-  //#define MESH_MAX_Y Y_BED_SIZE - (MESH_INSET)
1503
+  #define MESH_MIN_X _MAX(MESH_INSET, MIN_PROBE_EDGE)
1504
+  #define MESH_MIN_Y _MAX(MESH_INSET, MIN_PROBE_EDGE)
1505
+  #define MESH_MAX_X X_BED_SIZE - 35 // NOZZLE_TO_PROBE_OFFSET
1506
+  #define MESH_MAX_Y Y_BED_SIZE - _MAX(MESH_INSET, MIN_PROBE_EDGE)
1507
 #endif
1507
 #endif
1508
 
1508
 
1509
 /**
1509
 /**

Loading…
Cancel
Save