|
|
@ -163,11 +163,13 @@ static float probe_G33_points(float z_at_pt[NPP + 1], const int8_t probe_points,
|
|
|
|
if (!_0p_calibration) {
|
|
|
|
if (!_0p_calibration) {
|
|
|
|
|
|
|
|
|
|
|
|
if (!_7p_no_intermediates && !_7p_4_intermediates && !_7p_11_intermediates) { // probe the center
|
|
|
|
if (!_7p_no_intermediates && !_7p_4_intermediates && !_7p_11_intermediates) { // probe the center
|
|
|
|
#if ENABLED(PROBE_MANUALLY)
|
|
|
|
z_at_pt[CEN] +=
|
|
|
|
z_at_pt[CEN] += lcd_probe_pt(0, 0);
|
|
|
|
#if ENABLED(PROBE_MANUALLY)
|
|
|
|
#else
|
|
|
|
lcd_probe_pt(0, 0)
|
|
|
|
z_at_pt[CEN] += probe_pt(dx, dy, stow_after_each, 1, false);
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
probe_pt(dx, dy, stow_after_each, 1, false)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (_7p_calibration) { // probe extra center points
|
|
|
|
if (_7p_calibration) { // probe extra center points
|
|
|
@ -176,11 +178,13 @@ static float probe_G33_points(float z_at_pt[NPP + 1], const int8_t probe_points,
|
|
|
|
I_LOOP_CAL_PT(axis, start, steps) {
|
|
|
|
I_LOOP_CAL_PT(axis, start, steps) {
|
|
|
|
const float a = RADIANS(210 + (360 / NPP) * (axis - 1)),
|
|
|
|
const float a = RADIANS(210 + (360 / NPP) * (axis - 1)),
|
|
|
|
r = delta_calibration_radius * 0.1;
|
|
|
|
r = delta_calibration_radius * 0.1;
|
|
|
|
#if ENABLED(PROBE_MANUALLY)
|
|
|
|
z_at_pt[CEN] +=
|
|
|
|
z_at_pt[CEN] += lcd_probe_pt(cos(a) * r, sin(a) * r);
|
|
|
|
#if ENABLED(PROBE_MANUALLY)
|
|
|
|
#else
|
|
|
|
lcd_probe_pt(cos(a) * r, sin(a) * r)
|
|
|
|
z_at_pt[CEN] += probe_pt(cos(a) * r + dx, sin(a) * r + dy, stow_after_each, 1);
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
probe_pt(cos(a) * r + dx, sin(a) * r + dy, stow_after_each, 1)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
z_at_pt[CEN] /= float(_7p_2_intermediates ? 7 : probe_points);
|
|
|
|
z_at_pt[CEN] /= float(_7p_2_intermediates ? 7 : probe_points);
|
|
|
|
}
|
|
|
|
}
|
|
|
|