static void lcd_menu_first_run_bed_level_center_adjust() { LED_GLOW(); if (lcd_lib_encoder_pos == ENCODER_NO_SELECTION) lcd_lib_encoder_pos = 0; if (printing_state == PRINT_STATE_NORMAL && lcd_lib_encoder_pos != 0 && movesplanned() < 4) { current_position[Z_AXIS] -= float(lcd_lib_encoder_pos) * 0.05; plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 60, 0); } lcd_lib_encoder_pos = 0; if (movesplanned() > 0) lcd_info_screen(NULL, NULL, PSTR("POKRACOVAT")); else lcd_info_screen(lcd_menu_first_run_bed_level_left_adjust, parkHeadForLeftAdjustment, PSTR("POKRACOVAT")); DRAW_PROGRESS_NR_IF_NOT_DONE(4); lcd_lib_draw_string_centerP(10, PSTR("Otacejte tlacitkem")); lcd_lib_draw_string_centerP(20, PSTR("dokud nebude tryska")); lcd_lib_draw_string_centerP(30, PSTR("priblizne milimetr")); lcd_lib_draw_string_centerP(40, PSTR("od tiskove podlozky.")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_paper_center() { LED_GLOW(); if (lcd_lib_encoder_pos == ENCODER_NO_SELECTION) lcd_lib_encoder_pos = 0; if (printing_state == PRINT_STATE_NORMAL && lcd_lib_encoder_pos != 0 && movesplanned() < 4) { current_position[Z_AXIS] -= float(lcd_lib_encoder_pos) * 0.05; lcd_lib_encoder_pos = 0; plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 60, 0); } if (movesplanned() > 0) lcd_info_screen(NULL, NULL, PSTR("POKRACOVAT")); else lcd_info_screen(lcd_menu_first_run_bed_level_paper_left, parkHeadForLeftAdjustment, PSTR("POKRACOVAT")); DRAW_PROGRESS_NR_IF_NOT_DONE(8); lcd_lib_draw_string_centerP(10, PSTR("Zasunte papir mezi")); lcd_lib_draw_string_centerP(20, PSTR("trysku a podlozku,")); lcd_lib_draw_string_centerP(30, PSTR("otacejte dokud")); lcd_lib_draw_string_centerP(40, PSTR("papir neklade odpor")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_paper_center() { LED_GLOW(); if (lcd_lib_encoder_pos == ENCODER_NO_SELECTION) lcd_lib_encoder_pos = 0; if (printing_state == PRINT_STATE_NORMAL && lcd_lib_encoder_pos != 0 && movesplanned() < 4) { current_position[Z_AXIS] -= float(lcd_lib_encoder_pos) * 0.05; lcd_lib_encoder_pos = 0; plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 60, 0); } if (movesplanned() > 0) lcd_info_screen(NULL, NULL, PSTR("CONTINUE")); else lcd_info_screen(lcd_menu_first_run_bed_level_paper_left, parkHeadForLeftAdjustment, PSTR("CONTINUE")); DRAW_PROGRESS_NR_IF_NOT_DONE(8); lcd_lib_draw_string_centerP(10, PSTR("Slide a paper between")); lcd_lib_draw_string_centerP(20, PSTR("buildplate and nozzle")); lcd_lib_draw_string_centerP(30, PSTR("until you feel a")); lcd_lib_draw_string_centerP(40, PSTR("bit resistance.")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_center_adjust() { LED_GLOW(); if (lcd_lib_encoder_pos == ENCODER_NO_SELECTION) lcd_lib_encoder_pos = 0; if (printing_state == PRINT_STATE_NORMAL && lcd_lib_encoder_pos != 0 && movesplanned() < 4) { current_position[Z_AXIS] -= float(lcd_lib_encoder_pos) * 0.05; plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 60, 0); } lcd_lib_encoder_pos = 0; if (movesplanned() > 0) lcd_info_screen(NULL, NULL, PSTR("CONTINUE")); else lcd_info_screen(lcd_menu_first_run_bed_level_left_adjust, parkHeadForLeftAdjustment, PSTR("CONTINUE")); DRAW_PROGRESS_NR_IF_NOT_DONE(4); lcd_lib_draw_string_centerP(10, PSTR("Rotate the button")); lcd_lib_draw_string_centerP(20, PSTR("until the nozzle is")); lcd_lib_draw_string_centerP(30, PSTR("a millimeter away")); lcd_lib_draw_string_centerP(40, PSTR("from the buildplate.")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_init_2() { SELECT_MAIN_MENU_ITEM(0); lcd_info_screen(lcd_menu_first_run_init_3, homeAndRaiseBed, PSTR("CONTINUE")); DRAW_PROGRESS_NR_IF_NOT_DONE(2); lcd_lib_draw_string_centerP(10, PSTR("Because this is the")); lcd_lib_draw_string_centerP(20, PSTR("first startup I will")); lcd_lib_draw_string_centerP(30, PSTR("walk you through")); lcd_lib_draw_string_centerP(40, PSTR("a first run wizard.")); lcd_lib_update_screen(); }
//Run the first time you start-up the machine or after a factory reset. void lcd_menu_first_run_init() { SELECT_MAIN_MENU_ITEM(0); lcd_info_screen(lcd_menu_first_run_init_2, NULL, PSTR("CONTINUE")); DRAW_PROGRESS_NR_IF_NOT_DONE(1); lcd_lib_draw_string_centerP(10, PSTR("Welcome to the first")); lcd_lib_draw_string_centerP(20, PSTR("startup of your")); lcd_lib_draw_string_centerP(30, PSTR("Ultimaker! Press the")); lcd_lib_draw_string_centerP(40, PSTR("button to continue")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_paper_left() { LED_GLOW(); SELECT_MAIN_MENU_ITEM(0); lcd_info_screen(lcd_menu_first_run_bed_level_paper_right, parkHeadForRightAdjustment, PSTR("POKRACOVAT")); DRAW_PROGRESS_NR_IF_NOT_DONE(9); lcd_lib_draw_string_centerP(20, PSTR("Opakujte to stejne")); lcd_lib_draw_string_centerP(30, PSTR("pro levy roh...")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_paper() { SELECT_MAIN_MENU_ITEM(0); lcd_info_screen(lcd_menu_first_run_bed_level_paper_center, parkHeadForCenterAdjustment, PSTR("POKRACOVAT")); DRAW_PROGRESS_NR_IF_NOT_DONE(7); lcd_lib_draw_string_centerP(10, PSTR("Pro presnou kalibraci")); lcd_lib_draw_string_centerP(20, PSTR("zopakujte tyto kroky")); lcd_lib_draw_string_centerP(30, PSTR("za pomoci kousku")); lcd_lib_draw_string_centerP(40, PSTR("papiru.")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_init_3() { SELECT_MAIN_MENU_ITEM(0); lcd_info_screen(lcd_menu_first_run_bed_level_center_adjust, homeAndParkHeadForCenterAdjustment, PSTR("CONTINUE")); DRAW_PROGRESS_NR_IF_NOT_DONE(3); lcd_lib_draw_string_centerP(10, PSTR("After transportation")); lcd_lib_draw_string_centerP(20, PSTR("we need to do some")); lcd_lib_draw_string_centerP(30, PSTR("adjustments, we are")); lcd_lib_draw_string_centerP(40, PSTR("going to do that now.")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_paper_left() { LED_GLOW(); SELECT_MAIN_MENU_ITEM(0); lcd_info_screen(lcd_menu_first_run_bed_level_paper_right, parkHeadForRightAdjustment, PSTR("CONTINUE")); DRAW_PROGRESS_NR_IF_NOT_DONE(9); lcd_lib_draw_string_centerP(20, PSTR("Repeat this for")); lcd_lib_draw_string_centerP(30, PSTR("the left corner...")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_paper() { SELECT_MAIN_MENU_ITEM(0); lcd_info_screen(lcd_menu_first_run_bed_level_paper_center, parkHeadForCenterAdjustment, PSTR("CONTINUE")); DRAW_PROGRESS_NR_IF_NOT_DONE(7); lcd_lib_draw_string_centerP(10, PSTR("Repeat this step, but")); lcd_lib_draw_string_centerP(20, PSTR("now use a sheet of")); lcd_lib_draw_string_centerP(30, PSTR("paper to fine-tune")); lcd_lib_draw_string_centerP(40, PSTR("the buildplate level.")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_right_adjust() { LED_GLOW(); SELECT_MAIN_MENU_ITEM(0); lcd_info_screen(lcd_menu_first_run_bed_level_paper, NULL, PSTR("POKRACOVAT")); DRAW_PROGRESS_NR_IF_NOT_DONE(6); lcd_lib_draw_string_centerP(10, PSTR("Otacejte pravym pred-")); lcd_lib_draw_string_centerP(20, PSTR("nim sroubem, dokud")); lcd_lib_draw_string_centerP(30, PSTR("nebude tryska asi")); lcd_lib_draw_string_centerP(40, PSTR("milimetr od podlozky")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_right_adjust() { LED_GLOW(); SELECT_MAIN_MENU_ITEM(0); lcd_info_screen(lcd_menu_first_run_bed_level_paper, NULL, PSTR("CONTINUE")); DRAW_PROGRESS_NR_IF_NOT_DONE(6); lcd_lib_draw_string_centerP(10, PSTR("Turn right buildplate")); lcd_lib_draw_string_centerP(20, PSTR("screw till the nozzle")); lcd_lib_draw_string_centerP(30, PSTR("is a millimeter away")); lcd_lib_draw_string_centerP(40, PSTR("from the buildplate.")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_paper_right() { LED_GLOW(); SELECT_MAIN_MENU_ITEM(0); if (IS_FIRST_RUN_DONE()) lcd_info_screen(lcd_menu_main, homeBed, PSTR("HOTOVO")); else lcd_info_screen(lcd_menu_first_run_material_load, homeBed, PSTR("POKRACOVAT")); DRAW_PROGRESS_NR_IF_NOT_DONE(10); lcd_lib_draw_string_centerP(20, PSTR("Opakujte to stejne")); lcd_lib_draw_string_centerP(30, PSTR("pro levy roh...")); lcd_lib_update_screen(); }
static void lcd_menu_first_run_bed_level_paper_right() { LED_GLOW(); SELECT_MAIN_MENU_ITEM(0); if (IS_FIRST_RUN_DONE()) lcd_info_screen(lcd_menu_main, homeBed, PSTR("DONE")); else lcd_info_screen(lcd_menu_first_run_material_load, homeBed, PSTR("CONTINUE")); DRAW_PROGRESS_NR_IF_NOT_DONE(10); lcd_lib_draw_string_centerP(20, PSTR("Repeat this for")); lcd_lib_draw_string_centerP(30, PSTR("the right corner...")); lcd_lib_update_screen(); }