Added user defined menues
This commit is contained in:
parent
4053a22357
commit
b912d1cad8
@ -3735,33 +3735,45 @@
|
||||
// @section custom main menu
|
||||
|
||||
// Custom Menu: Main Menu
|
||||
//#define CUSTOM_MENU_MAIN
|
||||
#define CUSTOM_MENU_MAIN
|
||||
#if ENABLED(CUSTOM_MENU_MAIN)
|
||||
//#define CUSTOM_MENU_MAIN_TITLE "Custom Commands"
|
||||
#define CUSTOM_MENU_MAIN_SCRIPT_DONE "M117 User Script Done"
|
||||
#define CUSTOM_MENU_MAIN_TITLE "MPCNC"
|
||||
#define CUSTOM_MENU_MAIN_SCRIPT_DONE "M117 Ausgefuehrt"
|
||||
#define CUSTOM_MENU_MAIN_SCRIPT_AUDIBLE_FEEDBACK
|
||||
//#define CUSTOM_MENU_MAIN_SCRIPT_RETURN // Return to status screen after a script
|
||||
#define CUSTOM_MENU_MAIN_ONLY_IDLE // Only show custom menu when the machine is idle
|
||||
|
||||
#define MAIN_MENU_ITEM_1_DESC "Home & UBL Info"
|
||||
#define MAIN_MENU_ITEM_1_GCODE "G28\nG29 W"
|
||||
#define MAIN_MENU_ITEM_1_DESC "XY Pos. nullen (G54)"
|
||||
#define MAIN_MENU_ITEM_1_GCODE "G54\nG92 X0 Y0\nG53"
|
||||
//#define MAIN_MENU_ITEM_1_CONFIRM // Show a confirmation dialog before this action
|
||||
|
||||
#define MAIN_MENU_ITEM_2_DESC "Preheat for " PREHEAT_1_LABEL
|
||||
#define MAIN_MENU_ITEM_2_GCODE "M140 S" STRINGIFY(PREHEAT_1_TEMP_BED) "\nM104 S" STRINGIFY(PREHEAT_1_TEMP_HOTEND)
|
||||
#define MAIN_MENU_ITEM_2_DESC "Z Pos. nullen (G54)"
|
||||
#define MAIN_MENU_ITEM_2_GCODE "G54\nG92 Z0\nG53"
|
||||
//#define MAIN_MENU_ITEM_2_CONFIRM
|
||||
|
||||
//#define MAIN_MENU_ITEM_3_DESC "Preheat for " PREHEAT_2_LABEL
|
||||
//#define MAIN_MENU_ITEM_3_GCODE "M140 S" STRINGIFY(PREHEAT_2_TEMP_BED) "\nM104 S" STRINGIFY(PREHEAT_2_TEMP_HOTEND)
|
||||
#define MAIN_MENU_ITEM_3_DESC "Z antasten (G54)"
|
||||
#define MAIN_MENU_ITEM_3_GCODE "G90\nG54\nG38.2 Z10\nG92 Z18.0\nG53"
|
||||
//#define MAIN_MENU_ITEM_3_CONFIRM
|
||||
|
||||
//#define MAIN_MENU_ITEM_4_DESC "Heat Bed/Home/Level"
|
||||
//#define MAIN_MENU_ITEM_4_GCODE "M140 S" STRINGIFY(PREHEAT_2_TEMP_BED) "\nG28\nG29"
|
||||
#define MAIN_MENU_ITEM_4_DESC "Druckluft ein"
|
||||
#define MAIN_MENU_ITEM_4_GCODE "M7"
|
||||
//#define MAIN_MENU_ITEM_4_CONFIRM
|
||||
|
||||
//#define MAIN_MENU_ITEM_5_DESC "Home & Info"
|
||||
//#define MAIN_MENU_ITEM_5_GCODE "G28\nM503"
|
||||
#define MAIN_MENU_ITEM_5_DESC "Staubsauger ein"
|
||||
#define MAIN_MENU_ITEM_5_GCODE "M8"
|
||||
//#define MAIN_MENU_ITEM_5_CONFIRM
|
||||
|
||||
#define MAIN_MENU_ITEM_6_DESC "Sauger/Luft aus"
|
||||
#define MAIN_MENU_ITEM_6_GCODE "M9"
|
||||
//#define MAIN_MENU_ITEM_6_CONFIRM
|
||||
|
||||
#define MAIN_MENU_ITEM_7_DESC "Workspace 0 (G53)"
|
||||
#define MAIN_MENU_ITEM_7_GCODE "G53"
|
||||
//#define MAIN_MENU_ITEM_7_CONFIRM
|
||||
|
||||
#define MAIN_MENU_ITEM_8_DESC "Workspace 1 (G54)"
|
||||
#define MAIN_MENU_ITEM_8_GCODE "G54"
|
||||
//#define MAIN_MENU_ITEM_8_CONFIRM
|
||||
#endif
|
||||
|
||||
// @section custom config menu
|
||||
|
Loading…
Reference in New Issue
Block a user