|
@ -2226,11 +2226,11 @@ void lcd_quick_feedback(const bool clear_buttons) { |
|
|
void _lcd_ubl_custom_mesh() { |
|
|
void _lcd_ubl_custom_mesh() { |
|
|
START_MENU(); |
|
|
START_MENU(); |
|
|
MENU_BACK(MSG_UBL_BUILD_MESH_MENU); |
|
|
MENU_BACK(MSG_UBL_BUILD_MESH_MENU); |
|
|
MENU_ITEM_EDIT(int3, MSG_UBL_CUSTOM_HOTEND_TEMP, &custom_hotend_temp, EXTRUDE_MINTEMP, (HEATER_0_MAXTEMP - 10)); |
|
|
MENU_ITEM_EDIT(int3, MSG_UBL_HOTEND_TEMP_CUSTOM, &custom_hotend_temp, EXTRUDE_MINTEMP, (HEATER_0_MAXTEMP - 10)); |
|
|
#if HAS_HEATED_BED |
|
|
#if HAS_HEATED_BED |
|
|
MENU_ITEM_EDIT(int3, MSG_UBL_CUSTOM_BED_TEMP, &custom_bed_temp, BED_MINTEMP, (BED_MAXTEMP - 15)); |
|
|
MENU_ITEM_EDIT(int3, MSG_UBL_BED_TEMP_CUSTOM, &custom_bed_temp, BED_MINTEMP, (BED_MAXTEMP - 15)); |
|
|
#endif |
|
|
#endif |
|
|
MENU_ITEM(function, MSG_UBL_BUILD_CUSTOM_MESH, _lcd_ubl_build_custom_mesh); |
|
|
MENU_ITEM(function, MSG_UBL_BUILD_MESH_CUSTOM, _lcd_ubl_build_custom_mesh); |
|
|
END_MENU(); |
|
|
END_MENU(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -2301,8 +2301,8 @@ void lcd_quick_feedback(const bool clear_buttons) { |
|
|
* UBL Validate Mesh submenu |
|
|
* UBL Validate Mesh submenu |
|
|
* |
|
|
* |
|
|
* << UBL Tools |
|
|
* << UBL Tools |
|
|
* PLA Mesh Validation |
|
|
* Mesh Validation with Material 1 |
|
|
* ABS Mesh Validation |
|
|
* Mesh Validation with Material 2 |
|
|
* Validate Custom Mesh |
|
|
* Validate Custom Mesh |
|
|
* << Info Screen |
|
|
* << Info Screen |
|
|
*/ |
|
|
*/ |
|
@ -2310,13 +2310,13 @@ void lcd_quick_feedback(const bool clear_buttons) { |
|
|
START_MENU(); |
|
|
START_MENU(); |
|
|
MENU_BACK(MSG_UBL_TOOLS); |
|
|
MENU_BACK(MSG_UBL_TOOLS); |
|
|
#if HAS_HEATED_BED |
|
|
#if HAS_HEATED_BED |
|
|
MENU_ITEM(gcode, MSG_UBL_VALIDATE_PLA_MESH, PSTR("G28\nG26 C B" STRINGIFY(PREHEAT_1_TEMP_BED) " H" STRINGIFY(PREHEAT_1_TEMP_HOTEND) " P")); |
|
|
MENU_ITEM(gcode, MSG_UBL_VALIDATE_MESH_M1, PSTR("G28\nG26 C B" STRINGIFY(PREHEAT_1_TEMP_BED) " H" STRINGIFY(PREHEAT_1_TEMP_HOTEND) " P")); |
|
|
MENU_ITEM(gcode, MSG_UBL_VALIDATE_ABS_MESH, PSTR("G28\nG26 C B" STRINGIFY(PREHEAT_2_TEMP_BED) " H" STRINGIFY(PREHEAT_2_TEMP_HOTEND) " P")); |
|
|
MENU_ITEM(gcode, MSG_UBL_VALIDATE_MESH_M2, PSTR("G28\nG26 C B" STRINGIFY(PREHEAT_2_TEMP_BED) " H" STRINGIFY(PREHEAT_2_TEMP_HOTEND) " P")); |
|
|
#else |
|
|
#else |
|
|
MENU_ITEM(gcode, MSG_UBL_VALIDATE_PLA_MESH, PSTR("G28\nG26 C B0 H" STRINGIFY(PREHEAT_1_TEMP_HOTEND) " P")); |
|
|
MENU_ITEM(gcode, MSG_UBL_VALIDATE_MESH_M1, PSTR("G28\nG26 C B0 H" STRINGIFY(PREHEAT_1_TEMP_HOTEND) " P")); |
|
|
MENU_ITEM(gcode, MSG_UBL_VALIDATE_ABS_MESH, PSTR("G28\nG26 C B0 H" STRINGIFY(PREHEAT_2_TEMP_HOTEND) " P")); |
|
|
MENU_ITEM(gcode, MSG_UBL_VALIDATE_MESH_M2, PSTR("G28\nG26 C B0 H" STRINGIFY(PREHEAT_2_TEMP_HOTEND) " P")); |
|
|
#endif |
|
|
#endif |
|
|
MENU_ITEM(function, MSG_UBL_VALIDATE_CUSTOM_MESH, _lcd_ubl_validate_custom_mesh); |
|
|
MENU_ITEM(function, MSG_UBL_VALIDATE_MESH_CUSTOM, _lcd_ubl_validate_custom_mesh); |
|
|
MENU_ITEM(function, MSG_WATCH, lcd_return_to_status); |
|
|
MENU_ITEM(function, MSG_WATCH, lcd_return_to_status); |
|
|
END_MENU(); |
|
|
END_MENU(); |
|
|
} |
|
|
} |
|
@ -2400,8 +2400,8 @@ void lcd_quick_feedback(const bool clear_buttons) { |
|
|
* UBL Build Mesh submenu |
|
|
* UBL Build Mesh submenu |
|
|
* |
|
|
* |
|
|
* << UBL Tools |
|
|
* << UBL Tools |
|
|
* Build PLA Mesh |
|
|
* Build Mesh with Material 1 |
|
|
* Build ABS Mesh |
|
|
* Build Mesh with Material 2 |
|
|
* - Build Custom Mesh >> |
|
|
* - Build Custom Mesh >> |
|
|
* Build Cold Mesh |
|
|
* Build Cold Mesh |
|
|
* - Fill-in Mesh >> |
|
|
* - Fill-in Mesh >> |
|
@ -2414,7 +2414,7 @@ void lcd_quick_feedback(const bool clear_buttons) { |
|
|
START_MENU(); |
|
|
START_MENU(); |
|
|
MENU_BACK(MSG_UBL_TOOLS); |
|
|
MENU_BACK(MSG_UBL_TOOLS); |
|
|
#if HAS_HEATED_BED |
|
|
#if HAS_HEATED_BED |
|
|
MENU_ITEM(gcode, MSG_UBL_BUILD_PLA_MESH, PSTR( |
|
|
MENU_ITEM(gcode, MSG_UBL_BUILD_MESH_M1, PSTR( |
|
|
"G28\n" |
|
|
"G28\n" |
|
|
"M190 S" STRINGIFY(PREHEAT_1_TEMP_BED) "\n" |
|
|
"M190 S" STRINGIFY(PREHEAT_1_TEMP_BED) "\n" |
|
|
"M109 S" STRINGIFY(PREHEAT_1_TEMP_HOTEND) "\n" |
|
|
"M109 S" STRINGIFY(PREHEAT_1_TEMP_HOTEND) "\n" |
|
@ -2422,7 +2422,7 @@ void lcd_quick_feedback(const bool clear_buttons) { |
|
|
"M104 S0\n" |
|
|
"M104 S0\n" |
|
|
"M140 S0" |
|
|
"M140 S0" |
|
|
)); |
|
|
)); |
|
|
MENU_ITEM(gcode, MSG_UBL_BUILD_ABS_MESH, PSTR( |
|
|
MENU_ITEM(gcode, MSG_UBL_BUILD_MESH_M2, PSTR( |
|
|
"G28\n" |
|
|
"G28\n" |
|
|
"M190 S" STRINGIFY(PREHEAT_2_TEMP_BED) "\n" |
|
|
"M190 S" STRINGIFY(PREHEAT_2_TEMP_BED) "\n" |
|
|
"M109 S" STRINGIFY(PREHEAT_2_TEMP_HOTEND) "\n" |
|
|
"M109 S" STRINGIFY(PREHEAT_2_TEMP_HOTEND) "\n" |
|
@ -2431,20 +2431,20 @@ void lcd_quick_feedback(const bool clear_buttons) { |
|
|
"M140 S0" |
|
|
"M140 S0" |
|
|
)); |
|
|
)); |
|
|
#else |
|
|
#else |
|
|
MENU_ITEM(gcode, MSG_UBL_BUILD_PLA_MESH, PSTR( |
|
|
MENU_ITEM(gcode, MSG_UBL_BUILD_MESH_M1, PSTR( |
|
|
"G28\n" |
|
|
"G28\n" |
|
|
"M109 S" STRINGIFY(PREHEAT_1_TEMP_HOTEND) "\n" |
|
|
"M109 S" STRINGIFY(PREHEAT_1_TEMP_HOTEND) "\n" |
|
|
"G29 P1\n" |
|
|
"G29 P1\n" |
|
|
"M104 S0" |
|
|
"M104 S0" |
|
|
)); |
|
|
)); |
|
|
MENU_ITEM(gcode, MSG_UBL_BUILD_ABS_MESH, PSTR( |
|
|
MENU_ITEM(gcode, MSG_UBL_BUILD_MESH_M2, PSTR( |
|
|
"G28\n" |
|
|
"G28\n" |
|
|
"M109 S" STRINGIFY(PREHEAT_2_TEMP_HOTEND) "\n" |
|
|
"M109 S" STRINGIFY(PREHEAT_2_TEMP_HOTEND) "\n" |
|
|
"G29 P1\n" |
|
|
"G29 P1\n" |
|
|
"M104 S0" |
|
|
"M104 S0" |
|
|
)); |
|
|
)); |
|
|
#endif |
|
|
#endif |
|
|
MENU_ITEM(submenu, MSG_UBL_BUILD_CUSTOM_MESH, _lcd_ubl_custom_mesh); |
|
|
MENU_ITEM(submenu, MSG_UBL_BUILD_MESH_CUSTOM, _lcd_ubl_custom_mesh); |
|
|
MENU_ITEM(gcode, MSG_UBL_BUILD_COLD_MESH, PSTR("G28\nG29 P1")); |
|
|
MENU_ITEM(gcode, MSG_UBL_BUILD_COLD_MESH, PSTR("G28\nG29 P1")); |
|
|
MENU_ITEM(submenu, MSG_UBL_FILLIN_MESH, _lcd_ubl_fillin_menu); |
|
|
MENU_ITEM(submenu, MSG_UBL_FILLIN_MESH, _lcd_ubl_fillin_menu); |
|
|
MENU_ITEM(gcode, MSG_UBL_CONTINUE_MESH, PSTR("G29 P1 C")); |
|
|
MENU_ITEM(gcode, MSG_UBL_CONTINUE_MESH, PSTR("G29 P1 C")); |
|
|