Add M851 X Y probe offsets (#15202)
This commit is contained in:
		
				
					committed by
					
						 Scott Lahteine
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							ebc9a8a0b0
						
					
				
				
					commit
					df1e51258a
				
			| @@ -917,11 +917,10 @@ | ||||
|  | ||||
| /** | ||||
|  * Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  * X and Y offsets must be integers. | ||||
|  * | ||||
|  * In the following example the X and Y offsets are both positive: | ||||
|  * #define X_PROBE_OFFSET_FROM_EXTRUDER 10 | ||||
|  * #define Y_PROBE_OFFSET_FROM_EXTRUDER 10 | ||||
|  * | ||||
|  *   #define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 } | ||||
|  * | ||||
|  *     +-- BACK ---+ | ||||
|  *     |           | | ||||
| @@ -933,10 +932,10 @@ | ||||
|  *     |           | | ||||
|  *     O-- FRONT --+ | ||||
|  *   (0,0) | ||||
|  * | ||||
|  * Specify a Probe position as { X, Y, Z } | ||||
|  */ | ||||
| #define X_PROBE_OFFSET_FROM_EXTRUDER -3      // X offset: -left  +right  [of the nozzle] | ||||
| #define Y_PROBE_OFFSET_FROM_EXTRUDER 31      // Y offset: -front +behind [the nozzle] | ||||
| #define Z_PROBE_OFFSET_FROM_EXTRUDER -1.25   // Z offset: -below +above  [the nozzle] | ||||
| #define NOZZLE_TO_PROBE_OFFSET { -3, 31, -1.25 } | ||||
|  | ||||
| // Certain types of probes need to stay away from edges | ||||
| #define MIN_PROBE_EDGE 0 | ||||
| @@ -970,7 +969,7 @@ | ||||
|  * | ||||
|  * Use these settings to specify the distance (mm) to raise the probe (or | ||||
|  * lower the bed). The values set here apply over and above any (negative) | ||||
|  * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD. | ||||
|  * probe Z Offset set with NOZZLE_TO_PROBE_OFFSET, M851, or the LCD. | ||||
|  * Only integer values >= 1 are valid here. | ||||
|  * | ||||
|  * Example: `M851 Z-5` with a CLEARANCE of 4  =>  9mm from bed to nozzle. | ||||
| @@ -1228,12 +1227,6 @@ | ||||
|   #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 MIN_PROBE_EDGE | ||||
|   //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - (MIN_PROBE_EDGE)) | ||||
|   //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE | ||||
|   //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - (MIN_PROBE_EDGE)) | ||||
|  | ||||
|   // Probe along the Y axis, advancing X after each column | ||||
|   //#define PROBE_Y_FIRST | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user