|
|
@ -86,13 +86,23 @@ void recalc_delta_settings() {
|
|
|
|
* Get a safe radius for calibration
|
|
|
|
* Get a safe radius for calibration
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(DELTA_AUTO_CALIBRATION)
|
|
|
|
#if EITHER(DELTA_AUTO_CALIBRATION, DELTA_CALIBRATION_MENU)
|
|
|
|
float calibration_radius_factor = 1;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
float delta_calibration_radius() {
|
|
|
|
#if ENABLED(DELTA_AUTO_CALIBRATION)
|
|
|
|
return FLOOR((DELTA_PRINTABLE_RADIUS - _MAX(HYPOT(probe_offset_xy.x, probe_offset_xy.y), MIN_PROBE_EDGE)) * calibration_radius_factor);
|
|
|
|
float calibration_radius_factor = 1;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
float delta_calibration_radius() {
|
|
|
|
|
|
|
|
return calibration_radius_factor * (
|
|
|
|
|
|
|
|
#if HAS_BED_PROBE
|
|
|
|
|
|
|
|
FLOOR((DELTA_PRINTABLE_RADIUS) - _MAX(HYPOT(probe_offset_xy.x, probe_offset_xy.y), MIN_PROBE_EDGE))
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
DELTA_PRINTABLE_RADIUS
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Delta Inverse Kinematics
|
|
|
|
* Delta Inverse Kinematics
|
|
|
|