|
|
@ -21,27 +21,23 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include "../../../inc/MarlinConfig.h"
|
|
|
|
#include "../../../inc/MarlinConfigPre.h"
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
|
|
|
extern int bilinear_grid_spacing[2], bilinear_start[2];
|
|
|
|
|
|
|
|
extern float bilinear_grid_factor[2],
|
|
|
|
|
|
|
|
z_values[GRID_MAX_POINTS_X][GRID_MAX_POINTS_Y];
|
|
|
|
|
|
|
|
float bilinear_z_offset(const float raw[XYZ]);
|
|
|
|
|
|
|
|
|
|
|
|
#include "../bedlevel.h"
|
|
|
|
void extrapolate_unprobed_bed_level();
|
|
|
|
|
|
|
|
void print_bilinear_leveling_grid();
|
|
|
|
|
|
|
|
void refresh_bed_level();
|
|
|
|
|
|
|
|
#if ENABLED(ABL_BILINEAR_SUBDIVISION)
|
|
|
|
|
|
|
|
void print_bilinear_leveling_grid_virt();
|
|
|
|
|
|
|
|
void bed_level_virt_interpolate();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
extern int bilinear_grid_spacing[2], bilinear_start[2];
|
|
|
|
#if IS_CARTESIAN && DISABLED(SEGMENT_LEVELED_MOVES)
|
|
|
|
extern float bilinear_grid_factor[2],
|
|
|
|
void bilinear_line_to_destination(const float fr_mm_s, uint16_t x_splits=0xFFFF, uint16_t y_splits=0xFFFF);
|
|
|
|
z_values[GRID_MAX_POINTS_X][GRID_MAX_POINTS_Y];
|
|
|
|
#endif
|
|
|
|
float bilinear_z_offset(const float raw[XYZ]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void extrapolate_unprobed_bed_level();
|
|
|
|
#define Z_VALUES(X,Y) z_values[X][Y]
|
|
|
|
void print_bilinear_leveling_grid();
|
|
|
|
|
|
|
|
void refresh_bed_level();
|
|
|
|
|
|
|
|
#if ENABLED(ABL_BILINEAR_SUBDIVISION)
|
|
|
|
|
|
|
|
void print_bilinear_leveling_grid_virt();
|
|
|
|
|
|
|
|
void bed_level_virt_interpolate();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if IS_CARTESIAN && DISABLED(SEGMENT_LEVELED_MOVES)
|
|
|
|
|
|
|
|
void bilinear_line_to_destination(const float fr_mm_s, uint16_t x_splits=0xFFFF, uint16_t y_splits=0xFFFF);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // AUTO_BED_LEVELING_BILINEAR
|
|
|
|
|
|
|
|