Auto bed level 3-point February 23, 2015 11:56AM |
Registered: 9 years ago Posts: 8 |
//============================= Bed Auto Leveling =========================== #define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line) #define Z_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled. #ifdef ENABLE_AUTO_BED_LEVELING // There are 2 different ways to pick the X and Y locations to probe: // - "grid" mode // Probe every point in a rectangular grid // You must specify the rectangle, and the density of sample points // This mode is preferred because there are more measurements. // It used to be called ACCURATE_BED_LEVELING but "grid" is more descriptive // - "3-point" mode // Probe 3 arbitrary points on the bed (that aren't colinear) // You must specify the X & Y coordinates of all 3 points #define AUTO_BED_LEVELING_GRID // with AUTO_BED_LEVELING_GRID, the bed is sampled in a // AUTO_BED_LEVELING_GRID_POINTSxAUTO_BED_LEVELING_GRID_POINTS grid // and least squares solution is calculated // Note: this feature occupies 10'206 byte #ifdef AUTO_BED_LEVELING_GRID // set the rectangle in which to probe #define DELTA_PROBABLE_RADIUS (DELTA_PRINTABLE_RADIUS-40) // #define LEFT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS #define RIGHT_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS #define BACK_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS #define FRONT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS // probe at the points of a lattice grid #define AUTO_BED_LEVELING_GRID_POINTS 2 // oli 7 #define AUTO_BED_LEVELING_GRID_X ((RIGHT_PROBE_BED_POSITION - LEFT_PROBE_BED_POSITION) / (AUTO_BED_LEVELING_GRID_POINTS - 1)) #define AUTO_BED_LEVELING_GRID_Y ((BACK_PROBE_BED_POSITION - FRONT_PROBE_BED_POSITION) / (AUTO_BED_LEVELING_GRID_POINTS - 1)) // NONLINEAR_BED_LEVELING means: don't try to calculate linear coefficients but instead // compensate by interpolating between the nearest four Z probe values for each point. // Useful for deltabots where the print surface may appear like a bowl or dome shape. // Works best with AUTO_BED_LEVELING_GRID_POINTS 5 or higher. #define NONLINEAR_BED_LEVELING #else // not AUTO_BED_LEVELING_GRID // with no grid, just probe 3 arbitrary points. A simple cross-product // is used to esimate the plane of the print bed #define ABL_PROBE_PT_1_X 15 #define ABL_PROBE_PT_1_Y 100 #define ABL_PROBE_PT_2_X 15 #define ABL_PROBE_PT_2_Y 20 #define ABL_PROBE_PT_3_X 100 #define ABL_PROBE_PT_3_Y 20 #endif // AUTO_BED_LEVELING_GRID
Re: Auto bed level 3-point February 23, 2015 12:51PM |
Registered: 9 years ago Posts: 4,977 |
#define AUTO_BED_LEVELING_GRIDComment this line.
Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |
Re: Auto bed level 3-point February 23, 2015 01:03PM |
Registered: 9 years ago Posts: 8 |
This report would have more information with "Show verbose output during compilation" enabled in File > Preferences. Arduino: 1.0.6 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK" Marlin_main.cpp: In function 'void adjust_delta(float*)': Marlin_main.cpp:4154: error: 'AUTO_BED_LEVELING_GRID_POINTS' was not declared in this scope Marlin_main.cpp:4155: error: 'AUTO_BED_LEVELING_GRID_X' was not declared in this scope Marlin_main.cpp:4156: error: 'AUTO_BED_LEVELING_GRID_Y' was not declared in this scope Marlin_main.cpp:4161: error: 'bed_level' was not declared in this scope
Re: Auto bed level 3-point February 24, 2015 06:28AM |
Registered: 9 years ago Posts: 4,977 |
Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |
Re: Auto bed level 3-point February 24, 2015 12:49PM |
Registered: 9 years ago Posts: 8 |
Re: Auto bed level 3-point February 24, 2015 12:57PM |
Registered: 10 years ago Posts: 14,672 |