Add an option to segment leveled moves

This commit is contained in:
Scott Lahteine
2017-11-29 15:30:42 -06:00
parent ca80564a78
commit ef2531558c
8 changed files with 169 additions and 76 deletions

View File

@ -357,7 +357,7 @@ float bilinear_z_offset(const float raw[XYZ]) {
return offset;
}
#if !IS_KINEMATIC
#if IS_CARTESIAN && DISABLED(SEGMENT_LEVELED_MOVES)
#define CELL_INDEX(A,V) ((V - bilinear_start[A##_AXIS]) * ABL_BG_FACTOR(A##_AXIS))
@ -420,6 +420,6 @@ float bilinear_z_offset(const float raw[XYZ]) {
bilinear_line_to_destination(fr_mm_s, x_splits, y_splits);
}
#endif // !IS_KINEMATIC
#endif // IS_CARTESIAN && !SEGMENT_LEVELED_MOVES
#endif // AUTO_BED_LEVELING_BILINEAR

View File

@ -42,7 +42,7 @@
void bed_level_virt_interpolate();
#endif
#if !IS_KINEMATIC
#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