@ -5450,9 +5450,7 @@ void home_all_axes() { gcode_G28(true); }
# endif // HAS_BED_PROBE
# if PROBE_SELECTED
# if ENABLED(DELTA_AUTO_CALIBRATION)
# if ENABLED(DELTA_AUTO_CALIBRATION)
constexpr uint8_t _7P_STEP = 1 , // 7-point step - to change number of calibration points
_4P_STEP = _7P_STEP * 2 , // 4-point step
@ -5567,7 +5565,7 @@ void home_all_axes() { gcode_G28(true); }
_7p_6_centre = probe_points > = 5 & & probe_points < = 7 ,
_7p_9_centre = probe_points > = 8 ;
# if DISABLED(PROBE_MANUALLY)
# if HAS_BED_PROBE
const float dx = ( X_PROBE_OFFSET_FROM_EXTRUDER ) ,
dy = ( Y_PROBE_OFFSET_FROM_EXTRUDER ) ;
# endif
@ -5578,10 +5576,10 @@ void home_all_axes() { gcode_G28(true); }
if ( ! _7p_no_intermediates & & ! _7p_4_intermediates & & ! _7p_11_intermediates ) { // probe the center
z_at_pt [ CEN ] + =
# if ENABLED(PROBE_MANUALLY)
lcd_probe_pt ( 0 , 0 )
# else
# if HAS_BED_PROBE
probe_pt ( dx , dy , stow_after_each , 1 , false )
# else
lcd_probe_pt ( 0 , 0 )
# endif
;
}
@ -5593,10 +5591,10 @@ void home_all_axes() { gcode_G28(true); }
const float a = RADIANS ( 210 + ( 360 / NPP ) * ( axis - 1 ) ) ,
r = delta_calibration_radius * 0.1 ;
z_at_pt [ CEN ] + =
# if ENABLED(PROBE_MANUALLY)
lcd_probe_pt ( cos ( a ) * r , sin ( a ) * r )
# else
# if HAS_BED_PROBE
probe_pt ( cos ( a ) * r + dx , sin ( a ) * r + dy , stow_after_each , 1 )
# else
lcd_probe_pt ( cos ( a ) * r , sin ( a ) * r )
# endif
;
}
@ -5622,10 +5620,10 @@ void home_all_axes() { gcode_G28(true); }
r = delta_calibration_radius * ( 1 + 0.1 * ( zig_zag ? circle : - circle ) ) ,
interpol = fmod ( axis , 1 ) ;
const float z_temp =
# if ENABLED(PROBE_MANUALLY)
lcd_probe_pt ( cos ( a ) * r , sin ( a ) * r )
# else
# if HAS_BED_PROBE
probe_pt ( cos ( a ) * r + dx , sin ( a ) * r + dy , stow_after_each , 1 )
# else
lcd_probe_pt ( cos ( a ) * r , sin ( a ) * r )
# endif
;
// split probe point to neighbouring calibration points
@ -5656,7 +5654,7 @@ void home_all_axes() { gcode_G28(true); }
return 0.00001 ;
}
# if DISABLED(PROBE_MANUALLY)
# if HAS_BED_PROBE
static void G33_auto_tune ( ) {
float z_at_pt [ NPP + 1 ] = { 0.0 } ,
@ -5780,7 +5778,7 @@ void home_all_axes() { gcode_G28(true); }
SERIAL_EOL ( ) ;
}
# endif // !PROBE_MANUALLY
# endif // HAS_BED_PROBE
/**
* G33 - Delta ' 1 - 4 - 7 - point ' Auto - Calibration
@ -5902,10 +5900,10 @@ void home_all_axes() { gcode_G28(true); }
}
if ( auto_tune ) {
# if ENABLED(PROBE_MANUALLY)
SERIAL_PROTOCOLLNPGM ( " A probe is needed for auto-tune " ) ;
# else
# if HAS_BED_PROBE
G33_auto_tune ( ) ;
# else
SERIAL_PROTOCOLLNPGM ( " A probe is needed for auto-tune " ) ;
# endif
G33_CLEANUP ( ) ;
return ;
@ -5970,7 +5968,7 @@ void home_all_axes() { gcode_G28(true); }
# define Z2(I) ZP(2, I)
# define Z1(I) ZP(1, I)
# if ENABLED(PROBE_MANUALLY)
# if !HAS_BED_PROBE
test_precision = 0.00 ; // forced end
# endif
@ -6052,7 +6050,7 @@ void home_all_axes() { gcode_G28(true); }
if ( ( zero_std_dev > = test_precision & & iterations > force_iterations ) | | zero_std_dev < = calibration_precision ) { // end iterations
SERIAL_PROTOCOLPGM ( " Calibration OK " ) ;
SERIAL_PROTOCOL_SP ( 32 ) ;
# if DISABLED(PROBE_MANUALLY)
# if HAS_BED_PROBE
if ( zero_std_dev > = test_precision & & ! _1p_calibration )
SERIAL_PROTOCOLPGM ( " rolling back. " ) ;
else
@ -6117,9 +6115,7 @@ void home_all_axes() { gcode_G28(true); }
G33_CLEANUP ( ) ;
}
# endif // DELTA_AUTO_CALIBRATION
# endif // PROBE_SELECTED
# endif // DELTA_AUTO_CALIBRATION
# if ENABLED(G38_PROBE_TARGET)