✨ Z_SAFE_HOMING_POINT_ABSOLUTE (#23069)
This commit is contained in:
committed by
GitHub
parent
26f96dc7a6
commit
904ddf8551
@@ -2179,6 +2179,7 @@
|
|||||||
#if ENABLED(Z_SAFE_HOMING)
|
#if ENABLED(Z_SAFE_HOMING)
|
||||||
#define Z_SAFE_HOMING_X_POINT X_CENTER // X point for Z homing
|
#define Z_SAFE_HOMING_X_POINT X_CENTER // X point for Z homing
|
||||||
#define Z_SAFE_HOMING_Y_POINT Y_CENTER // Y point for Z homing
|
#define Z_SAFE_HOMING_Y_POINT Y_CENTER // Y point for Z homing
|
||||||
|
//#define Z_SAFE_HOMING_POINT_ABSOLUTE // Ignore home offsets (M206) for Z homing position
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Homing speeds (linear=mm/min, rotational=°/min)
|
// Homing speeds (linear=mm/min, rotational=°/min)
|
||||||
|
@@ -124,7 +124,7 @@
|
|||||||
* (Z is already at the right height)
|
* (Z is already at the right height)
|
||||||
*/
|
*/
|
||||||
constexpr xy_float_t safe_homing_xy = { Z_SAFE_HOMING_X_POINT, Z_SAFE_HOMING_Y_POINT };
|
constexpr xy_float_t safe_homing_xy = { Z_SAFE_HOMING_X_POINT, Z_SAFE_HOMING_Y_POINT };
|
||||||
#if HAS_HOME_OFFSET
|
#if HAS_HOME_OFFSET && DISABLED(Z_SAFE_HOMING_POINT_ABSOLUTE)
|
||||||
xy_float_t okay_homing_xy = safe_homing_xy;
|
xy_float_t okay_homing_xy = safe_homing_xy;
|
||||||
okay_homing_xy -= home_offset;
|
okay_homing_xy -= home_offset;
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user