Merge pull request #7341 from thinkyhead/bf_bed_size

Add X_BED_SIZE, Y_BED_SIZE to configurations
master
Scott Lahteine 7 years ago committed by GitHub
commit e52c1a0882

@ -34,9 +34,28 @@
#define X_MAX_LENGTH (X_MAX_POS - (X_MIN_POS)) #define X_MAX_LENGTH (X_MAX_POS - (X_MIN_POS))
#define Y_MAX_LENGTH (Y_MAX_POS - (Y_MIN_POS)) #define Y_MAX_LENGTH (Y_MAX_POS - (Y_MIN_POS))
#define Z_MAX_LENGTH (Z_MAX_POS - (Z_MIN_POS)) #define Z_MAX_LENGTH (Z_MAX_POS - (Z_MIN_POS))
#define X_CENTER float((X_MIN_POS + X_MAX_POS) * 0.5)
#define Y_CENTER float((Y_MIN_POS + Y_MAX_POS) * 0.5) // Defined only if the sanity-check is bypassed
#define Z_CENTER float((Z_MIN_POS + Z_MAX_POS) * 0.5) #ifndef X_BED_SIZE
#define X_BED_SIZE X_MAX_LENGTH
#endif
#ifndef Y_BED_SIZE
#define Y_BED_SIZE Y_MAX_LENGTH
#endif
#if ENABLED(BED_CENTER_AT_0_0)
#define X_CENTER 0
#define Y_CENTER 0
#else
#define X_CENTER ((X_BED_SIZE) / 2)
#define Y_CENTER ((Y_BED_SIZE) / 2)
#endif
#define Z_CENTER ((Z_MIN_POS + Z_MAX_POS) / 2)
#define X_MIN_BED (X_CENTER - (X_BED_SIZE) / 2)
#define X_MAX_BED (X_CENTER + (X_BED_SIZE) / 2)
#define Y_MIN_BED (Y_CENTER - (Y_BED_SIZE) / 2)
#define Y_MAX_BED (Y_CENTER + (Y_BED_SIZE) / 2)
/** /**
* CoreXY, CoreXZ, and CoreYZ - and their reverse * CoreXY, CoreXZ, and CoreYZ - and their reverse
@ -87,11 +106,11 @@
#if ENABLED(DELTA) #if ENABLED(DELTA)
#define X_HOME_POS 0 #define X_HOME_POS 0
#else #else
#define X_HOME_POS ((X_MAX_LENGTH) * (X_HOME_DIR) * 0.5) #define X_HOME_POS ((X_BED_SIZE) * (X_HOME_DIR) * 0.5)
#endif #endif
#else #else
#if ENABLED(DELTA) #if ENABLED(DELTA)
#define X_HOME_POS (X_MIN_POS + (X_MAX_LENGTH) * 0.5) #define X_HOME_POS (X_MIN_POS + (X_BED_SIZE) * 0.5)
#else #else
#define X_HOME_POS (X_HOME_DIR < 0 ? X_MIN_POS : X_MAX_POS) #define X_HOME_POS (X_HOME_DIR < 0 ? X_MIN_POS : X_MAX_POS)
#endif #endif
@ -103,11 +122,11 @@
#if ENABLED(DELTA) #if ENABLED(DELTA)
#define Y_HOME_POS 0 #define Y_HOME_POS 0
#else #else
#define Y_HOME_POS ((Y_MAX_LENGTH) * (Y_HOME_DIR) * 0.5) #define Y_HOME_POS ((Y_BED_SIZE) * (Y_HOME_DIR) * 0.5)
#endif #endif
#else #else
#if ENABLED(DELTA) #if ENABLED(DELTA)
#define Y_HOME_POS (Y_MIN_POS + (Y_MAX_LENGTH) * 0.5) #define Y_HOME_POS (Y_MIN_POS + (Y_BED_SIZE) * 0.5)
#else #else
#define Y_HOME_POS (Y_HOME_DIR < 0 ? Y_MIN_POS : Y_MAX_POS) #define Y_HOME_POS (Y_HOME_DIR < 0 ? Y_MIN_POS : Y_MAX_POS)
#endif #endif
@ -151,10 +170,10 @@
*/ */
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#ifndef Z_SAFE_HOMING_X_POINT #ifndef Z_SAFE_HOMING_X_POINT
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) #define Z_SAFE_HOMING_X_POINT X_CENTER
#endif #endif
#ifndef Z_SAFE_HOMING_Y_POINT #ifndef Z_SAFE_HOMING_Y_POINT
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) #define Z_SAFE_HOMING_Y_POINT Y_CENTER
#endif #endif
#define X_TILT_FULCRUM Z_SAFE_HOMING_X_POINT #define X_TILT_FULCRUM Z_SAFE_HOMING_X_POINT
#define Y_TILT_FULCRUM Z_SAFE_HOMING_Y_POINT #define Y_TILT_FULCRUM Z_SAFE_HOMING_Y_POINT
@ -792,25 +811,40 @@
#define MANUAL_PROBE_HEIGHT Z_HOMING_HEIGHT #define MANUAL_PROBE_HEIGHT Z_HOMING_HEIGHT
#endif #endif
/**
* Bed Probing rectangular bounds
* These can be further constrained in code for Delta and SCARA
*/
#if ENABLED(DELTA) #if ENABLED(DELTA)
// These will be further constrained in code, but UBL_PROBE_PT values #ifndef DELTA_PROBEABLE_RADIUS
// cannot be compile-time verified within the radius. #define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS
#define MIN_PROBE_X (-DELTA_PRINTABLE_RADIUS) #endif
#define MAX_PROBE_X ( DELTA_PRINTABLE_RADIUS) // Probing points may be verified at compile time within the radius
#define MIN_PROBE_Y (-DELTA_PRINTABLE_RADIUS) // using static_assert(HYPOT2(X2-X1,Y2-Y1)<=sq(DELTA_PRINTABLE_RADIUS),"bad probe point!")
#define MAX_PROBE_Y ( DELTA_PRINTABLE_RADIUS) // so that may be added to SanityCheck.h in the future.
#define MIN_PROBE_X (X_CENTER - (DELTA_PROBEABLE_RADIUS))
#define MIN_PROBE_Y (Y_CENTER - (DELTA_PROBEABLE_RADIUS))
#define MAX_PROBE_X (X_CENTER + DELTA_PROBEABLE_RADIUS)
#define MAX_PROBE_Y (Y_CENTER + DELTA_PROBEABLE_RADIUS)
#elif IS_SCARA #elif IS_SCARA
#define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2) #define SCARA_PRINTABLE_RADIUS (SCARA_LINKAGE_1 + SCARA_LINKAGE_2)
#define MIN_PROBE_X (-SCARA_PRINTABLE_RADIUS) #define MIN_PROBE_X (X_CENTER - (SCARA_PRINTABLE_RADIUS))
#define MAX_PROBE_X ( SCARA_PRINTABLE_RADIUS) #define MIN_PROBE_Y (Y_CENTER - (SCARA_PRINTABLE_RADIUS))
#define MIN_PROBE_Y (-SCARA_PRINTABLE_RADIUS) #define MAX_PROBE_X (X_CENTER + SCARA_PRINTABLE_RADIUS)
#define MAX_PROBE_Y ( SCARA_PRINTABLE_RADIUS) #define MAX_PROBE_Y (Y_CENTER + SCARA_PRINTABLE_RADIUS)
#else
// Boundaries for Cartesian probing based on set limits
#if ENABLED(BED_CENTER_AT_0_0)
#define MIN_PROBE_X (max(X_PROBE_OFFSET_FROM_EXTRUDER, 0) - (X_BED_SIZE) / 2)
#define MIN_PROBE_Y (max(Y_PROBE_OFFSET_FROM_EXTRUDER, 0) - (Y_BED_SIZE) / 2)
#define MAX_PROBE_X (min(X_BED_SIZE + X_PROBE_OFFSET_FROM_EXTRUDER, X_BED_SIZE) - (X_BED_SIZE) / 2)
#define MAX_PROBE_Y (min(Y_BED_SIZE + Y_PROBE_OFFSET_FROM_EXTRUDER, Y_BED_SIZE) - (Y_BED_SIZE) / 2)
#else #else
// Boundaries for probing based on set limits #define MIN_PROBE_X (max(X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER, 0))
#define MIN_PROBE_X (max(X_MIN_POS, X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER)) #define MIN_PROBE_Y (max(Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER, 0))
#define MAX_PROBE_X (min(X_MAX_POS, X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER)) #define MAX_PROBE_X (min(X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER, X_BED_SIZE))
#define MIN_PROBE_Y (max(Y_MIN_POS, Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER)) #define MAX_PROBE_Y (min(Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER, Y_BED_SIZE))
#define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER)) #endif
#endif #endif
// Stepper pulse duration, in cycles // Stepper pulse duration, in cycles
@ -835,7 +869,7 @@
#endif #endif
/** /**
* DELTA_SEGMENT_MIN_LENGTH and DELTA_PROBEABLE_RADIUS for UBL_DELTA * DELTA_SEGMENT_MIN_LENGTH for UBL_DELTA
*/ */
#if UBL_DELTA #if UBL_DELTA
#ifndef DELTA_SEGMENT_MIN_LENGTH #ifndef DELTA_SEGMENT_MIN_LENGTH
@ -847,9 +881,6 @@
#define DELTA_SEGMENT_MIN_LENGTH 1.00 // mm (similar to G2/G3 arc segmentation) #define DELTA_SEGMENT_MIN_LENGTH 1.00 // mm (similar to G2/G3 arc segmentation)
#endif #endif
#endif #endif
#ifndef DELTA_PROBEABLE_RADIUS
#define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS
#endif
#endif #endif
// Shorthand // Shorthand

@ -755,12 +755,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 200 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 200 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200 #define Z_MAX_POS 200
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -968,8 +972,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -755,7 +755,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -456,8 +456,8 @@ float filament_size[EXTRUDERS], volumetric_multiplier[EXTRUDERS];
#if HAS_SOFTWARE_ENDSTOPS #if HAS_SOFTWARE_ENDSTOPS
bool soft_endstops_enabled = true; bool soft_endstops_enabled = true;
#endif #endif
float soft_endstop_min[XYZ] = { X_MIN_POS, Y_MIN_POS, Z_MIN_POS }, float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
soft_endstop_max[XYZ] = { X_MAX_POS, Y_MAX_POS, Z_MAX_POS }; soft_endstop_max[XYZ] = { X_MAX_BED, Y_MAX_BED, Z_MAX_POS };
#if FAN_COUNT > 0 #if FAN_COUNT > 0
int16_t fanSpeeds[FAN_COUNT] = { 0 }; int16_t fanSpeeds[FAN_COUNT] = { 0 };
@ -6905,13 +6905,14 @@ inline void gcode_M42() {
for (uint8_t n = 0; n < n_samples; n++) { for (uint8_t n = 0; n < n_samples; n++) {
if (n_legs) { if (n_legs) {
int dir = (random(0, 10) > 5.0) ? -1 : 1; // clockwise or counter clockwise const int dir = (random(0, 10) > 5.0) ? -1 : 1; // clockwise or counter clockwise
float angle = random(0.0, 360.0), float angle = random(0.0, 360.0);
radius = random( const float radius = random(
#if ENABLED(DELTA) #if ENABLED(DELTA)
DELTA_PROBEABLE_RADIUS / 8, DELTA_PROBEABLE_RADIUS / 3 0.1250000000 * (DELTA_PROBEABLE_RADIUS),
0.3333333333 * (DELTA_PROBEABLE_RADIUS)
#else #else
5, X_MAX_LENGTH / 8 5.0, 0.125 * min(X_BED_SIZE, Y_BED_SIZE)
#endif #endif
); );

@ -50,7 +50,9 @@
/** /**
* Warnings for old configurations * Warnings for old configurations
*/ */
#if WATCH_TEMP_PERIOD > 500 #if !defined(X_BED_SIZE) || !defined(Y_BED_SIZE)
#error "X_BED_SIZE and BED_Y_SIZE are now required! Please update your configuration."
#elif WATCH_TEMP_PERIOD > 500
#error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds." #error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds."
#elif DISABLED(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD)) #elif DISABLED(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
#error "Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS." #error "Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS."

@ -770,12 +770,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 298
#define Y_BED_SIZE 275
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 298 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 275 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 250 #define Z_MAX_POS 250
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -983,8 +987,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -748,7 +748,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -752,12 +752,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 220
#define Y_BED_SIZE 220
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 220 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 220 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 260 #define Z_MAX_POS 260
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -965,8 +969,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -839,47 +839,52 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
//#define X_BED_SIZE 200
//#define Y_BED_SIZE 200
// Travel limits (mm) after homing, corresponding to endstop positions.
//#define X_MIN_POS 0 //#define X_MIN_POS 0
//#define Y_MIN_POS 0 //#define Y_MIN_POS 0
//#define X_MAX_POS X_BED_SIZE
//#define Y_MAX_POS Y_BED_SIZE
//#define Z_MIN_POS 0 //#define Z_MIN_POS 0
//#define X_MAX_POS 200
//#define Y_MAX_POS 200
//#define Z_MAX_POS 200 //#define Z_MAX_POS 200
// ANET A6 Firmware V2.0 defaults: // ANET A6 Firmware V2.0 defaults:
//#define X_BED_SIZE 220
//#define Y_BED_SIZE 220
//#define X_MIN_POS 0 //#define X_MIN_POS 0
//#define Y_MIN_POS 0 //#define Y_MIN_POS 0
//#define Z_MIN_POS 0 //#define Z_MIN_POS 0
//#define X_MAX_POS 220
//#define Y_MAX_POS 220
//#define Z_MAX_POS 250 //#define Z_MAX_POS 250
// ANET A6, X0/Y0 0 front left bed edge : // ANET A6, X0/Y0 0 front left bed edge :
#define X_BED_SIZE 222
#define Y_BED_SIZE 222
#define X_MIN_POS -3 #define X_MIN_POS -3
#define Y_MIN_POS -5 #define Y_MIN_POS -5
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 222
#define Y_MAX_POS 222
#define Z_MAX_POS 230 #define Z_MAX_POS 230
// ANET A6 with new X-Axis / modded Y-Axis: // ANET A6 with new X-Axis / modded Y-Axis:
//#define X_BED_SIZE 235
//#define Y_BED_SIZE 230
//#define X_MIN_POS 0 //#define X_MIN_POS 0
//#define Y_MIN_POS 0 //#define Y_MIN_POS 0
//#define Z_MIN_POS 0 //#define Z_MIN_POS 0
//#define X_MAX_POS 235
//#define Y_MAX_POS 230
//#define Z_MAX_POS 230 //#define Z_MAX_POS 230
// ANET A6 with new X-Axis / modded Y-Axis, X0/Y0 0 front left bed edge : // ANET A6 with new X-Axis / modded Y-Axis, X0/Y0 0 front left bed edge :
//#define X_BED_SIZE 227
//#define Y_BED_SIZE 224
//#define X_MIN_POS -8 //#define X_MIN_POS -8
//#define Y_MIN_POS -6 //#define Y_MIN_POS -6
//#define Z_MIN_POS 0 //#define Z_MIN_POS 0
//#define X_MAX_POS 227
//#define Y_MAX_POS 224
//#define Z_MAX_POS 230 //#define Z_MAX_POS 230
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
#define MIN_SOFTWARE_ENDSTOPS #define MIN_SOFTWARE_ENDSTOPS
@ -1115,8 +1120,8 @@
#define Z_SAFE_HOMING #define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
//Anet A6 with new X-Axis //Anet A6 with new X-Axis
//#define Z_SAFE_HOMING_X_POINT 113 // X point for Z homing when homing all axis (G28). //#define Z_SAFE_HOMING_X_POINT 113 // X point for Z homing when homing all axis (G28).

@ -755,7 +755,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -761,12 +761,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 220
#define Y_BED_SIZE 220
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -33 #define X_MIN_POS -33
#define Y_MIN_POS -10 #define Y_MIN_POS -10
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 220 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 220 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 240 #define Z_MAX_POS 240
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -974,8 +978,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -755,7 +755,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -741,12 +741,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 215
#define Y_BED_SIZE 210
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 215 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 210 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 180 #define Z_MAX_POS 180
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -954,8 +958,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -748,7 +748,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -752,12 +752,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 210
#define Y_BED_SIZE 297
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 210 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 297 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 210 #define Z_MAX_POS 210
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -965,8 +969,8 @@
#define Z_SAFE_HOMING #define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -731,7 +731,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
#define ADVANCED_OK #define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -741,12 +741,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 297
#define Y_BED_SIZE 210
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 297 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 210 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200 #define Z_MAX_POS 200
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -954,8 +958,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -748,7 +748,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -749,12 +749,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 435
#define Y_BED_SIZE 270
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 435 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 270 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 400 #define Z_MAX_POS 400
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -962,8 +966,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -748,7 +748,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -765,12 +765,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 300
#define Y_BED_SIZE 300
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 300 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 300 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 400 #define Z_MAX_POS 400
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -977,8 +981,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -733,12 +733,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 255
#define Y_BED_SIZE 205
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 255 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 205 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 235 #define Z_MAX_POS 235
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -946,8 +950,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -748,7 +748,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -733,12 +733,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 255
#define Y_BED_SIZE 205
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 255 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 205 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 235 #define Z_MAX_POS 235
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -946,8 +950,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -754,13 +754,18 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 207
#define Y_BED_SIZE 182
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 6 #define X_MIN_POS 6
#define Y_MIN_POS 3 #define Y_MIN_POS 3
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 207 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 182 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 175 #define Z_MAX_POS 175
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
//#define MIN_SOFTWARE_ENDSTOPS //#define MIN_SOFTWARE_ENDSTOPS
// If enabled, axes won't move above MAX_POS in response to movement commands. // If enabled, axes won't move above MAX_POS in response to movement commands.
@ -968,8 +973,8 @@
#define Z_SAFE_HOMING #define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -755,7 +755,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -759,12 +759,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 205
#define Y_BED_SIZE 205
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 205 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 205 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 185 #define Z_MAX_POS 185
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -972,8 +976,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -745,7 +745,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -774,12 +774,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 200 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 200 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 180 #define Z_MAX_POS 180
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -991,8 +995,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -755,7 +755,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -751,12 +751,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 200 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 200 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200 #define Z_MAX_POS 200
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -964,8 +968,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -749,12 +749,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 254 // RigidBot regular is 254mm, RigitBot Big is 406mm
#define Y_BED_SIZE 248 // RigidBot regular is 248mm, RigitBot Big is 304mm
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 254 // RigidBot regular is 254mm, RigitBot Big is 406mm #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 248 // RigidBot regular is 248mm, RigitBot Big is 304mm #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 254 // RigidBot regular and Big are 254mm #define Z_MAX_POS 254 // RigidBot regular and Big are 254mm
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -962,8 +966,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -748,7 +748,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -763,12 +763,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS MANUAL_Z_HOME_POS #define Z_MIN_POS MANUAL_Z_HOME_POS
#define X_MAX_POS 200 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 200 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 225 #define Z_MAX_POS 225
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -976,8 +980,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -748,7 +748,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -802,13 +802,17 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
// Tinyboy2: 100mm are marketed, actual length between endstop and end of rail is 98mm
#define X_BED_SIZE 98
#define Y_BED_SIZE 98
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
// Tinyboy2: 100mm are marketed, actual length between endstop and end of rail is 98mm #define X_MAX_POS X_BED_SIZE
#define X_MAX_POS 98 #define Y_MAX_POS Y_BED_SIZE
#define Y_MAX_POS 98
#if ENABLED(TB2_L10) #if ENABLED(TB2_L10)
#define Z_MAX_POS 98 #define Z_MAX_POS 98
#else #else
@ -1020,8 +1024,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -751,7 +751,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -780,12 +780,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 200 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 200 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200 #define Z_MAX_POS 200
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -993,8 +997,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -761,7 +761,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -751,12 +751,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 20 #define Y_MIN_POS 20
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 200 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 200 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 190 #define Z_MAX_POS 190
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -964,8 +968,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -748,7 +748,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -751,12 +751,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 20 #define Y_MIN_POS 20
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 200 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 200 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 190 #define Z_MAX_POS 190
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -964,8 +968,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -751,12 +751,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 200 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 200 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200 #define Z_MAX_POS 200
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -964,8 +968,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -875,7 +875,11 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
#define Y_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define X_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Z_MIN_POS 0 #define Z_MIN_POS 0

@ -753,7 +753,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -875,7 +875,11 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
#define Y_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define X_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Z_MIN_POS 0 #define Z_MIN_POS 0

@ -752,7 +752,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -862,7 +862,11 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
#define Y_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define X_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Z_MIN_POS 0 #define Z_MIN_POS 0

@ -750,7 +750,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -860,7 +860,11 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
#define Y_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define X_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Z_MIN_POS 0 #define Z_MIN_POS 0

@ -750,7 +750,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -865,7 +865,11 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
#define Y_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define X_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Z_MIN_POS 0 #define Z_MIN_POS 0

@ -755,7 +755,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -928,7 +928,11 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
#define Y_BED_SIZE ((DELTA_PRINTABLE_RADIUS) * 2)
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define X_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS) #define Y_MIN_POS -(DELTA_PRINTABLE_RADIUS)
#define Z_MIN_POS 0 #define Z_MIN_POS 0

@ -750,7 +750,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -766,13 +766,17 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 420 // These numbers are not accurate for an unaltered gMax 1.5+ printer. My print bed
#define Y_BED_SIZE 420 // is inset a noticable amount from the edge of the bed. Combined with the inset,
// the nozzle can reach all cordinates of the mesh.
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 420 // These numbers are not accurate for an unaltered gMax 1.5+ printer. My print bed #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 420 // is inset a noticable amount from the edge of the bed. Combined with the inset, #define Y_MAX_POS Y_BED_SIZE
// the nozzle can reach all cordinates of the mesh.
#define Z_MAX_POS 500 #define Z_MAX_POS 500
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.

@ -755,7 +755,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -754,12 +754,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 110
#define Y_BED_SIZE 150
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 110 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 150 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 86 #define Z_MAX_POS 86
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -967,8 +971,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -748,7 +748,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -746,12 +746,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 205
#define Y_BED_SIZE 205
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 205 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 205 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 120 #define Z_MAX_POS 120
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -959,8 +963,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -748,7 +748,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -757,12 +757,16 @@
// @section machine // @section machine
// Travel limits after homing (units are in mm) // The size of the print bed
#define X_BED_SIZE 150
#define Y_BED_SIZE 150
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define X_MAX_POS 150 #define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS 150 #define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 143.0 #define Z_MAX_POS 143.0
// If enabled, axes won't move below MIN_POS in response to movement commands. // If enabled, axes won't move below MIN_POS in response to movement commands.
@ -970,8 +974,8 @@
//#define Z_SAFE_HOMING //#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING) #if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axis (G28).
#endif #endif
// Homing speeds (mm/m) // Homing speeds (mm/m)

@ -755,7 +755,7 @@
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
//#define ADVANCED_OK //#define ADVANCED_OK
// @section fwretract // @section extras
/** /**
* Firmware-based and LCD-controlled retract * Firmware-based and LCD-controlled retract

@ -467,8 +467,8 @@
g29_x_pos = X_HOME_POS; g29_x_pos = X_HOME_POS;
g29_y_pos = Y_HOME_POS; g29_y_pos = Y_HOME_POS;
#else // cartesian #else // cartesian
g29_x_pos = X_PROBE_OFFSET_FROM_EXTRUDER > 0 ? X_MAX_POS : X_MIN_POS; g29_x_pos = X_PROBE_OFFSET_FROM_EXTRUDER > 0 ? X_BED_SIZE : 0;
g29_y_pos = Y_PROBE_OFFSET_FROM_EXTRUDER < 0 ? Y_MAX_POS : Y_MIN_POS; g29_y_pos = Y_PROBE_OFFSET_FROM_EXTRUDER < 0 ? Y_BED_SIZE : 0;
#endif #endif
} }
@ -1132,12 +1132,12 @@
SERIAL_PROTOCOLLNPGM("Both X & Y locations must be specified.\n"); SERIAL_PROTOCOLLNPGM("Both X & Y locations must be specified.\n");
err_flag = true; err_flag = true;
} }
if (!WITHIN(RAW_X_POSITION(g29_x_pos), X_MIN_POS, X_MAX_POS)) { if (!WITHIN(RAW_X_POSITION(g29_x_pos), X_MIN_BED, X_MAX_BED)) {
SERIAL_PROTOCOLLNPGM("Invalid X location specified.\n"); SERIAL_PROTOCOLLNPGM("Invalid X location specified.\n");
err_flag = true; err_flag = true;
} }
if (!WITHIN(RAW_Y_POSITION(g29_y_pos), Y_MIN_POS, Y_MAX_POS)) { if (!WITHIN(RAW_Y_POSITION(g29_y_pos), Y_MIN_BED, Y_MAX_BED)) {
SERIAL_PROTOCOLLNPGM("Invalid Y location specified.\n"); SERIAL_PROTOCOLLNPGM("Invalid Y location specified.\n");
err_flag = true; err_flag = true;
} }

Loading…
Cancel
Save