Consolidate 3-point leveling point options
This commit is contained in:
		| @@ -810,8 +810,8 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
|  | ||||
| //#define UNKNOWN_Z_NO_RAISE // Don't raise Z (lower the bed) if Z is "unknown." For beds that fall when Z is powered off. | ||||
|  | ||||
| #define Z_HOMING_HEIGHT 10  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ... | ||||
|                              // Be sure you have this distance over your Z_MAX_POS in case. | ||||
| #define Z_HOMING_HEIGHT  8  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ... | ||||
|                             // Be sure you have this distance over your Z_MAX_POS in case. | ||||
|  | ||||
| // Direction of endstops when homing; 1=MAX, -1=MIN | ||||
| // :[-1,1] | ||||
| @@ -963,12 +963,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
|   #define GRID_MAX_POINTS_X 3 | ||||
|   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X | ||||
|  | ||||
|  | ||||
|   // Set the boundaries for probing (where the probe can reach). | ||||
|   #define LEFT_PROBE_BED_POSITION 15 | ||||
|   #define RIGHT_PROBE_BED_POSITION 170 | ||||
|   #define FRONT_PROBE_BED_POSITION 20 | ||||
|   #define BACK_PROBE_BED_POSITION 170 | ||||
|   //#define LEFT_PROBE_BED_POSITION 15 | ||||
|   //#define RIGHT_PROBE_BED_POSITION 170 | ||||
|   //#define FRONT_PROBE_BED_POSITION 20 | ||||
|   //#define BACK_PROBE_BED_POSITION 170 | ||||
|  | ||||
|   // Probe along the Y axis, advancing X after each column | ||||
|   //#define PROBE_Y_FIRST | ||||
| @@ -991,17 +990,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
|  | ||||
|   #endif | ||||
|  | ||||
| #elif ENABLED(AUTO_BED_LEVELING_3POINT) | ||||
|  | ||||
|   // 3 arbitrary points to probe. | ||||
|   // A simple cross-product is used to estimate the plane of the bed. | ||||
|   #define ABL_PROBE_PT_1_X 15 | ||||
|   #define ABL_PROBE_PT_1_Y 180 | ||||
|   #define ABL_PROBE_PT_2_X 15 | ||||
|   #define ABL_PROBE_PT_2_Y 20 | ||||
|   #define ABL_PROBE_PT_3_X 170 | ||||
|   #define ABL_PROBE_PT_3_Y 20 | ||||
|  | ||||
| #elif ENABLED(AUTO_BED_LEVELING_UBL) | ||||
|  | ||||
|   //=========================================================================== | ||||
| @@ -1014,13 +1002,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
|   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited. | ||||
|   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X | ||||
|  | ||||
|   #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh | ||||
|   #define UBL_PROBE_PT_1_Y 180 | ||||
|   #define UBL_PROBE_PT_2_X 39 | ||||
|   #define UBL_PROBE_PT_2_Y 20 | ||||
|   #define UBL_PROBE_PT_3_X 180 | ||||
|   #define UBL_PROBE_PT_3_Y 20 | ||||
|  | ||||
|   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle | ||||
|   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500 | ||||
|  | ||||
| @@ -1041,6 +1022,19 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
|  | ||||
| #endif // BED_LEVELING | ||||
|  | ||||
| /** | ||||
|  * Points to probe for all 3-point Leveling procedures. | ||||
|  * Override if the automatically selected points are inadequate. | ||||
|  */ | ||||
| #if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL) | ||||
|   //#define PROBE_PT_1_X 15 | ||||
|   //#define PROBE_PT_1_Y 180 | ||||
|   //#define PROBE_PT_2_X 15 | ||||
|   //#define PROBE_PT_2_Y 20 | ||||
|   //#define PROBE_PT_3_X 170 | ||||
|   //#define PROBE_PT_3_Y 20 | ||||
| #endif | ||||
|  | ||||
| /** | ||||
|  * Use the LCD controller for bed leveling | ||||
|  * Requires MESH_BED_LEVELING or PROBE_MANUALLY | ||||
|   | ||||
| @@ -528,13 +528,13 @@ | ||||
| #endif | ||||
|  | ||||
| // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). | ||||
| #define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe. | ||||
| const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop. | ||||
| const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop. | ||||
| const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop. | ||||
| const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop. | ||||
| const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop. | ||||
| const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop. | ||||
| const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop. | ||||
|  | ||||
| // Enable this feature if all enabled endstop pins are interrupt-capable. | ||||
| // This will remove the need to poll the interrupt pins, saving many CPU cycles. | ||||
| @@ -963,12 +963,11 @@ | ||||
|   #define GRID_MAX_POINTS_X 3 | ||||
|   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X | ||||
|  | ||||
|  | ||||
|   // Set the boundaries for probing (where the probe can reach). | ||||
|   #define LEFT_PROBE_BED_POSITION 15 | ||||
|   #define RIGHT_PROBE_BED_POSITION 170 | ||||
|   #define FRONT_PROBE_BED_POSITION 20 | ||||
|   #define BACK_PROBE_BED_POSITION 170 | ||||
|   //#define LEFT_PROBE_BED_POSITION 15 | ||||
|   //#define RIGHT_PROBE_BED_POSITION 170 | ||||
|   //#define FRONT_PROBE_BED_POSITION 20 | ||||
|   //#define BACK_PROBE_BED_POSITION 170 | ||||
|  | ||||
|   // Probe along the Y axis, advancing X after each column | ||||
|   //#define PROBE_Y_FIRST | ||||
| @@ -991,17 +990,6 @@ | ||||
|  | ||||
|   #endif | ||||
|  | ||||
| #elif ENABLED(AUTO_BED_LEVELING_3POINT) | ||||
|  | ||||
|   // 3 arbitrary points to probe. | ||||
|   // A simple cross-product is used to estimate the plane of the bed. | ||||
|   #define ABL_PROBE_PT_1_X 15 | ||||
|   #define ABL_PROBE_PT_1_Y 180 | ||||
|   #define ABL_PROBE_PT_2_X 15 | ||||
|   #define ABL_PROBE_PT_2_Y 20 | ||||
|   #define ABL_PROBE_PT_3_X 170 | ||||
|   #define ABL_PROBE_PT_3_Y 20 | ||||
|  | ||||
| #elif ENABLED(AUTO_BED_LEVELING_UBL) | ||||
|  | ||||
|   //=========================================================================== | ||||
| @@ -1014,13 +1002,6 @@ | ||||
|   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited. | ||||
|   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X | ||||
|  | ||||
|   #define UBL_PROBE_PT_1_X 39       // Probing points for 3-Point leveling of the mesh | ||||
|   #define UBL_PROBE_PT_1_Y 180 | ||||
|   #define UBL_PROBE_PT_2_X 39 | ||||
|   #define UBL_PROBE_PT_2_Y 20 | ||||
|   #define UBL_PROBE_PT_3_X 180 | ||||
|   #define UBL_PROBE_PT_3_Y 20 | ||||
|  | ||||
|   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle | ||||
|   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500 | ||||
|  | ||||
| @@ -1041,6 +1022,19 @@ | ||||
|  | ||||
| #endif // BED_LEVELING | ||||
|  | ||||
| /** | ||||
|  * Points to probe for all 3-point Leveling procedures. | ||||
|  * Override if the automatically selected points are inadequate. | ||||
|  */ | ||||
| #if ENABLED(AUTO_BED_LEVELING_3POINT) || ENABLED(AUTO_BED_LEVELING_UBL) | ||||
|   //#define PROBE_PT_1_X 15 | ||||
|   //#define PROBE_PT_1_Y 180 | ||||
|   //#define PROBE_PT_2_X 15 | ||||
|   //#define PROBE_PT_2_Y 20 | ||||
|   //#define PROBE_PT_3_X 170 | ||||
|   //#define PROBE_PT_3_Y 20 | ||||
| #endif | ||||
|  | ||||
| /** | ||||
|  * Use the LCD controller for bed leveling | ||||
|  * Requires MESH_BED_LEVELING or PROBE_MANUALLY | ||||
|   | ||||
		Reference in New Issue
	
	Block a user