|
|
@ -2537,15 +2537,23 @@ void kill_screen(const char* lcd_msg) { |
|
|
|
void _goto_tower_z() { _man_probe_pt(cos(RADIANS( 90)) * delta_calibration_radius, sin(RADIANS( 90)) * delta_calibration_radius); } |
|
|
|
void _goto_center() { _man_probe_pt(0,0); } |
|
|
|
|
|
|
|
void lcd_delta_G33_settings() { |
|
|
|
static float _delta_height = DELTA_HEIGHT; |
|
|
|
void _lcd_set_delta_height() { |
|
|
|
home_offset[Z_AXIS] = _delta_height - DELTA_HEIGHT; |
|
|
|
update_software_endstops(Z_AXIS); |
|
|
|
} |
|
|
|
|
|
|
|
void lcd_delta_settings() { |
|
|
|
START_MENU(); |
|
|
|
MENU_BACK(MSG_DELTA_CALIBRATE); |
|
|
|
float delta_height = DELTA_HEIGHT + home_offset[Z_AXIS], Tz = 0.00; |
|
|
|
MENU_ITEM_EDIT(float52, "Height", &delta_height, delta_height, delta_height); |
|
|
|
float Tz = 0.00; |
|
|
|
MENU_ITEM_EDIT(float52, MSG_DELTA_DIAG_ROG, &delta_diagonal_rod, DELTA_DIAGONAL_ROD - 5.0, DELTA_DIAGONAL_ROD + 5.0); |
|
|
|
_delta_height = DELTA_HEIGHT + home_offset[Z_AXIS]; |
|
|
|
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float52, MSG_DELTA_HEIGHT, &_delta_height, _delta_height - 10.0, _delta_height + 10.0, _lcd_set_delta_height); |
|
|
|
MENU_ITEM_EDIT(float43, "Ex", &endstop_adj[A_AXIS], -5.0, 5.0); |
|
|
|
MENU_ITEM_EDIT(float43, "Ey", &endstop_adj[B_AXIS], -5.0, 5.0); |
|
|
|
MENU_ITEM_EDIT(float43, "Ez", &endstop_adj[C_AXIS], -5.0, 5.0); |
|
|
|
MENU_ITEM_EDIT(float52, "Radius", &delta_radius, DELTA_RADIUS - 5.0, DELTA_RADIUS + 5.0); |
|
|
|
MENU_ITEM_EDIT(float52, MSG_DELTA_RADIUS, &delta_radius, DELTA_RADIUS - 5.0, DELTA_RADIUS + 5.0); |
|
|
|
MENU_ITEM_EDIT(float43, "Tx", &delta_tower_angle_trim[A_AXIS], -5.0, 5.0); |
|
|
|
MENU_ITEM_EDIT(float43, "Ty", &delta_tower_angle_trim[B_AXIS], -5.0, 5.0); |
|
|
|
MENU_ITEM_EDIT(float43, "Tz", &Tz, -5.0, 5.0); |
|
|
@ -2556,7 +2564,7 @@ void kill_screen(const char* lcd_msg) { |
|
|
|
START_MENU(); |
|
|
|
MENU_BACK(MSG_MAIN); |
|
|
|
#if ENABLED(DELTA_AUTO_CALIBRATION) |
|
|
|
MENU_ITEM(submenu, MSG_DELTA_SETTINGS, lcd_delta_G33_settings); |
|
|
|
MENU_ITEM(submenu, MSG_DELTA_SETTINGS, lcd_delta_settings); |
|
|
|
MENU_ITEM(gcode, MSG_DELTA_AUTO_CALIBRATE, PSTR("G33")); |
|
|
|
MENU_ITEM(gcode, MSG_DELTA_HEIGHT_CALIBRATE, PSTR("G33 P1")); |
|
|
|
#if ENABLED(EEPROM_SETTINGS) |
|
|
|