Add bed size as a configuration option

This commit is contained in:
Scott Lahteine
2017-07-21 22:54:39 -05:00
parent dc7c95e07b
commit 51864fd365
37 changed files with 378 additions and 210 deletions

View File

@ -766,13 +766,17 @@
// @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 Y_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 Y_MAX_POS 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.
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 500
// If enabled, axes won't move below MIN_POS in response to movement commands.