UBL_DELTA => UBL_SEGMENTED
This commit is contained in:
@ -264,7 +264,7 @@ void buffer_line_to_destination(const float fr_mm_s) {
|
||||
|
||||
gcode.refresh_cmd_timeout();
|
||||
|
||||
#if UBL_DELTA
|
||||
#if UBL_SEGMENTED
|
||||
// ubl segmented line will do z-only moves in single segment
|
||||
ubl.prepare_segmented_line_to(destination, MMS_SCALED(fr_mm_s ? fr_mm_s : feedrate_mm_s));
|
||||
#else
|
||||
@ -495,7 +495,7 @@ float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
|
||||
|
||||
#endif
|
||||
|
||||
#if !UBL_DELTA
|
||||
#if !UBL_SEGMENTED
|
||||
#if IS_KINEMATIC
|
||||
|
||||
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||
@ -762,7 +762,7 @@ float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
|
||||
}
|
||||
|
||||
#endif // !IS_KINEMATIC
|
||||
#endif // !UBL_DELTA
|
||||
#endif // !UBL_SEGMENTED
|
||||
|
||||
#if ENABLED(DUAL_X_CARRIAGE) || ENABLED(DUAL_NOZZLE_DUPLICATION_MODE)
|
||||
bool extruder_duplication_enabled = false; // Used in Dual X mode 2
|
||||
@ -907,7 +907,7 @@ void prepare_move_to_destination() {
|
||||
#endif // PREVENT_COLD_EXTRUSION || PREVENT_LENGTHY_EXTRUDE
|
||||
|
||||
if (
|
||||
#if UBL_DELTA // Also works for CARTESIAN (smaller segments follow mesh more closely)
|
||||
#if UBL_SEGMENTED
|
||||
ubl.prepare_segmented_line_to(destination, MMS_SCALED(feedrate_mm_s))
|
||||
#elif IS_KINEMATIC
|
||||
prepare_kinematic_move_to(destination)
|
||||
|
@ -616,7 +616,7 @@ void Planner::calculate_volumetric_multipliers() {
|
||||
#endif
|
||||
|
||||
rz += (
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL) // UBL_DELTA
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||
ubl.get_z_correction(rx, ry) * fade_scaling_factor
|
||||
#elif ENABLED(MESH_BED_LEVELING)
|
||||
mbl.get_z(rx, ry
|
||||
|
Reference in New Issue
Block a user