Level bed corners Z-hop height option (#12858)
This commit is contained in:
		
				
					committed by
					
						 Scott Lahteine
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							8ae6f1e556
						
					
				
				
					commit
					a0ef6198ff
				
			| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1201,6 +1201,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1319,6 +1319,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1194,6 +1194,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1193,6 +1193,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1169,6 +1169,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1169,6 +1169,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1180,6 +1180,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1191,6 +1191,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1182,6 +1182,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1200,6 +1200,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1191,6 +1191,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1185,6 +1185,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1185,6 +1185,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1191,6 +1191,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1191,6 +1191,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1163,6 +1163,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1163,6 +1163,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1187,6 +1187,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1286,6 +1286,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1216,6 +1216,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1206,6 +1206,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1196,6 +1196,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1188,6 +1188,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1197,6 +1197,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1196,6 +1196,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1185,6 +1185,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1193,6 +1193,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1201,6 +1201,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1209,6 +1209,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1180,6 +1180,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1185,6 +1185,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1185,6 +1185,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1182,6 +1182,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1230,6 +1230,7 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1179,6 +1179,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1194,6 +1194,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1183,6 +1183,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1212,6 +1212,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1237,6 +1237,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1185,6 +1185,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1192,6 +1192,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1190,6 +1190,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1211,6 +1211,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1191,6 +1191,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1372,6 +1372,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1310,6 +1310,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1309,6 +1309,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1309,6 +1309,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1311,6 +1311,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1312,6 +1312,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1297,6 +1297,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1301,6 +1301,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1297,6 +1297,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1299,6 +1299,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1300,6 +1300,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1300,6 +1300,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1195,6 +1195,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1184,6 +1184,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1183,6 +1183,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1176,6 +1176,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1186,6 +1186,7 @@ | ||||
|  | ||||
| #if ENABLED(LEVEL_BED_CORNERS) | ||||
|   #define LEVEL_CORNERS_INSET 30    // (mm) An inset for corner leveling | ||||
|   #define LEVEL_CORNERS_Z_HOP  4.0  // (mm) Move nozzle up before moving between corners | ||||
|   //#define LEVEL_CENTER_TOO        // Move to the center after the last corner | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -154,8 +154,8 @@ template<typename NAME> | ||||
| class TMenuItem : MenuItemBase { | ||||
|   private: | ||||
|     typedef typename NAME::type_t type_t; | ||||
|     inline static float unscale(const float value)    { return value * (1.0f / NAME::scale);  } | ||||
|     inline static float scale(const float value)      { return value * NAME::scale;           } | ||||
|     static inline float unscale(const float value)    { return value * (1.0f / NAME::scale);  } | ||||
|     static inline float scale(const float value)      { return value * NAME::scale;           } | ||||
|     static void  load(void *ptr, const int32_t value) { *((type_t*)ptr) = unscale(value);     } | ||||
|     static char* to_string(const int32_t value)       { return NAME::strfunc(unscale(value)); } | ||||
|   public: | ||||
|   | ||||
| @@ -32,12 +32,18 @@ | ||||
| #include "../../module/motion.h" | ||||
| #include "../../module/planner.h" | ||||
|  | ||||
| #ifndef LEVEL_CORNERS_Z_HOP | ||||
|   #define LEVEL_CORNERS_Z_HOP 4.0 | ||||
| #endif | ||||
|  | ||||
| static_assert(LEVEL_CORNERS_Z_HOP >= 0, "LEVEL_CORNERS_Z_HOP must be >= 0. Please update your configuration."); | ||||
|  | ||||
| /** | ||||
|  * Level corners, starting in the front-left corner. | ||||
|  */ | ||||
| static int8_t bed_corner; | ||||
| void _lcd_goto_next_corner() { | ||||
|   line_to_z(4.0); | ||||
|   line_to_z(LEVEL_CORNERS_Z_HOP); | ||||
|   switch (bed_corner) { | ||||
|     case 0: | ||||
|       current_position[X_AXIS] = X_MIN_BED + LEVEL_CORNERS_INSET; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user