New Special Menus Added for BLTouch Builds

This commit is contained in:
DenLIa
2025-01-09 18:20:18 -05:00
parent 6734173854
commit aa60b6870b
6 changed files with 854 additions and 449 deletions

View File

@@ -1169,6 +1169,10 @@
// Radius around the center where the arm cannot reach // Radius around the center where the arm cannot reach
#define MIDDLE_DEAD_ZONE_R 0 // (mm) #define MIDDLE_DEAD_ZONE_R 0 // (mm)
// Calculated from Calibration Guide and M360 / M114. See https://www.morgan3dp.com/morgan-calibration-guide/
#define THETA_HOMING_OFFSET 0
#define PSI_HOMING_OFFSET 0
#endif #endif
// @section machine // @section machine
@@ -1838,7 +1842,7 @@
* O-- FRONT --+ * O-- FRONT --+
*/ */
#if ENABLED(KNUTWURST_BLTOUCH) #if ENABLED(KNUTWURST_BLTOUCH)
#define NOZZLE_TO_PROBE_OFFSET { -2, -25, -0.4 } // https://www.thingiverse.com/thing:2824005 #define NOZZLE_TO_PROBE_OFFSET { 10, -54, 0 } //dsl ZOffset will be calculated using Special Menu Auto Level Probe and Nozzle Dn
// #define NOZZLE_TO_PROBE_OFFSET { 29, -15, 0 } //X-Carriage // #define NOZZLE_TO_PROBE_OFFSET { 29, -15, 0 } //X-Carriage
#endif #endif
@@ -2580,7 +2584,7 @@
// Set the number of grid points per dimension. // Set the number of grid points per dimension.
#define GRID_MAX_POINTS_X 5 #define GRID_MAX_POINTS_X 5
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X #define GRID_MAX_POINTS_Y 4
// Probe along the Y axis, advancing X after each column // Probe along the Y axis, advancing X after each column
//#define PROBE_Y_FIRST //#define PROBE_Y_FIRST
@@ -2864,6 +2868,8 @@
//#define PREHEAT_2_TEMP_CHAMBER 35 //#define PREHEAT_2_TEMP_CHAMBER 35
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255 #define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
// @section motion
/** /**
* @section nozzle park * @section nozzle park
* *
@@ -3434,7 +3440,7 @@
// //
// Cartesio UI // Cartesio UI
// https://web.archive.org/web/20180605050442/mauk.cc/webshop/cartesio-shop/electronics/user-interface // https://web.archive.org/web/20180605050442/mauk.cc/webshop/cartesio-shop/electronics/user-interface
// //
//#define CARTESIO_UI //#define CARTESIO_UI

View File

@@ -2216,12 +2216,13 @@
* the probe to be unable to reach any points. * the probe to be unable to reach any points.
*/ */
#if ENABLED(KNUTWURST_BLTOUCH) #if ENABLED(KNUTWURST_BLTOUCH)
#if PROBE_SELECTED && !IS_KINEMATIC //dsl #if PROBE_SELECTED && !IS_KINEMATIC
#define PROBING_MARGIN_LEFT 10 //dsl Perform ABL with conservative border margin, I don't see where this is used in the code
#define PROBING_MARGIN_RIGHT 10 #define PROBING_MARGIN_LEFT 20 //dsl
#define PROBING_MARGIN_FRONT 10 #define PROBING_MARGIN_RIGHT 20 //dsl
#define PROBING_MARGIN_BACK 10 #define PROBING_MARGIN_FRONT 20 //dsl
#endif #define PROBING_MARGIN_BACK 0 //dsl
//dsl #endif
#endif #endif
#if EITHER(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL) #if EITHER(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL)
@@ -2327,7 +2328,7 @@
// //
// G60/G61 Position Save and Return // G60/G61 Position Save and Return
// //
//#define SAVED_POSITIONS 1 // Each saved position slot costs 12 bytes #define SAVED_POSITIONS 2 //dsl Use by G60 S0 in Z-Offset routine, Each saved position slot costs 12 bytes
// //
// G2/G3 Arc Support // G2/G3 Arc Support
@@ -2367,7 +2368,7 @@
* and optionally G38.4 and G38.5 (probe away from target). * and optionally G38.4 and G38.5 (probe away from target).
* Set MULTIPLE_PROBING for G38 to probe more than once. * Set MULTIPLE_PROBING for G38 to probe more than once.
*/ */
//#define G38_PROBE_TARGET #define G38_PROBE_TARGET 1 //dsl
#if ENABLED(G38_PROBE_TARGET) #if ENABLED(G38_PROBE_TARGET)
//#define G38_PROBE_AWAY // Include G38.4 and G38.5 to probe away from target //#define G38_PROBE_AWAY // Include G38.4 and G38.5 to probe away from target
#define G38_MINIMUM_MOVE 0.0275 // (mm) Minimum distance that will produce a move. #define G38_MINIMUM_MOVE 0.0275 // (mm) Minimum distance that will produce a move.

View File

@@ -41,7 +41,7 @@
* here we define this default string as the date where the latest release * here we define this default string as the date where the latest release
* version was tagged. * version was tagged.
*/ */
#define CUSTOM_BUILD_VERSION "1.5.4" #define CUSTOM_BUILD_VERSION "1.5.4 DSL2.5" //dsl"
#ifndef STRING_DISTRIBUTION_DATE #ifndef STRING_DISTRIBUTION_DATE
#define STRING_DISTRIBUTION_DATE "2024-06-05" #define STRING_DISTRIBUTION_DATE "2024-06-05"

File diff suppressed because it is too large Load Diff

View File

@@ -58,134 +58,195 @@ enum AnycubicMediaPauseState {
#define SM_PID_BED_S "<PIDTU~2.GCO" #define SM_PID_BED_S "<PIDTU~2.GCO"
#define SM_SAVE_EEPROM_S "<SAVEE~1.GCO" #define SM_SAVE_EEPROM_S "<SAVEE~1.GCO"
#define SM_LOAD_DEFAULTS_S "<LOADF~1.GCO" #define SM_LOAD_DEFAULTS_S "<LOADF~1.GCO"
#define SM_PREHEAT_BED_S "<PREHE~1.GCO" #define SM_LOAD_LAST_S "<LOADLAS.GCO" //dsl
#define SM_MESH_MENU_S "<MESHL~1.GCO" #define SM_PREHEAT_BED_S "<PREHEBD.GCO" //dsl
#define SM_MESH_START_S "<START~1.GCO" #define SM_HEAT_BED_S "<PREHEHT.GCO" //dsl
#define SM_MESH_NEXT_S "<NEXTM~1.GCO" #define SM_MMLVL_MENU_S "<MESHL~1.GCO"
#define SM_MMLVL_START_S "<START~1.GCO"
#define SM_MMLVL_NEXT_S "<NEXTM~1.GCO"
#define SM_Z_UP_01_S "<ZUP01~1.GCO" #define SM_Z_UP_01_S "<ZUP01~1.GCO"
#define SM_Z_DN_01_S "<ZDOWN~1.GCO" #define SM_Z_DN_01_S "<ZDOWN~1.GCO"
#define SM_Z_UP_002_S "<ZUP00~1.GCO" #define SM_Z_UP_002_S "<ZUP00~1.GCO"
#define SM_Z_DN_002_S "<ZDOWN~2.GCO" #define SM_Z_DN_002_S "<ZDOWN~2.GCO"
#define SM_Z_UP_001_S "<ZUP00~2.GCO" #define SM_Z_UP_001_S "<ZUP00~2.GCO"
#define SM_Z_DN_001_S "<ZDOWN~3.GCO" #define SM_Z_DN_001_S "<ZDOWN~3.GCO"
#define SM_BLTOUCH_S "<BLTOU~1.GCO" //dsl depricated #define SM_BLTOUCH_S "<BLTOU~1.GCO"
#define SM_RESETLV_S "<RSTLV~1.GCO" #define SM_RESETLV_S "<RSTLV~1.GCO"
#define SM_PAUSE_S "<FILCH~2.GCO" #define SM_FIL_PAUSE_S "<FILCHPS.GCO" //dsl
#define SM_RESUME_S "<FILCH~1.GCO" #define SM_FIL_RESUME_S "<FILCHRS.GCO" //dsl
#define SM_DIS_FILSENS_S "<DISAB~1.GCO" #define SM_DIS_FILSENS_S "<DISAB~1.GCO"
#define SM_EN_FILSENS_S "<ENABL~1.GCO" #define SM_EN_FILSENS_S "<ENABL~1.GCO"
#define SM_EXIT_S "<EXIT_~1.GCO" #define SM_SPECMENU_EXIT_S "<EXITSPE.GCO"
#define SM_BACK_S "<BACK_~1.GCO" #define SM_MMLVL_EXIT_S "<EXITMMM.GCO"
#define SM_FLOWMENU_S "<SETFLO1.GCO" #define SM_FLOWMENU_S "<SETFLO1.GCO"
#define SM_FLOW_DISP_S "<FLDISPL.GCO" #define SM_FLOW_DISP_S "<FLDISPL.GCO"
#define SM_FLOW_UP_S "<UPFLOW1.GCO" #define SM_FLOW_UP_S "<UPFLOW1.GCO"
#define SM_FLOW_DN_S "<DWNFLOW.GCO" #define SM_FLOW_DN_S "<DWNFLOW.GCO"
#define SM_FLOW_EXIT_S "<EXTFLW1.GCO" #define SM_FLOW_EXIT_S "<EXTFLW1.GCO"
#define SM_EZLVL_MENU_S "<EZLVLM1.GCO" #define SM_4PLVL_MENU_S "<EZLVLM1.GCO" //dsl
#define SM_EZLVL_P1_S "<EZLPA01.GCO" #define SM_4PLVL_P1_S "<EZLPA01.GCO" //dsl
#define SM_EZLVL_P2_S "<EZLPB01.GCO" #define SM_4PLVL_P2_S "<EZLPB01.GCO" //dsl
#define SM_EZLVL_P3_S "<EZLPC01.GCO" #define SM_4PLVL_P3_S "<EZLPC01.GCO" //dsl
#define SM_EZLVL_P4_S "<EZLPD01.GCO" #define SM_4PLVL_P4_S "<EZLPD01.GCO" //dsl
#define SM_EZLVL_EXIT_S "<EZLEXT1.GCO" #define SM_4PLVL_EXIT_S "<EZLEXT1.GCO" //dsl
#define SM_BLTZMENU_S "<SETOFZ0.GCO" #define SM_PROBE_MENU_S "<PRBOMNU.GCO" //dsl
#define SM_BLTZ_DISP_S "<OFZDSP0.GCO" #define SM_ZOFF_DISP_S "<OFZDSP0.GCO"
#define SM_BLTZ_UP_S "<UPOFFZ0.GCO" #define SM_PRB_DN_S "<PBOFFZ0.GCO" //dsl
#define SM_BLTZ_DN_S "<DOWNOFZ.GCO" #define SM_NOZ_UP_S "<UPOFFZ0.GCO" //dsl
#define SM_BLTZ_EXIT_S "<EXTABLM.GCO" #define SM_NOZ_DN_S "<DOWNOFZ.GCO" //dsl
#define SM_HS_DISABLE_S "<HSDISAB.GCO" #define SM_PROBE_EXIT_S "<EXTABLM.GCO" //dsl
#define SM_HS_ENABLE_S "<HSENABL.GCO" #define SM_PROBE_ENA_HS_S "<HSENABL.GCO" //dsl
#define SM_BABYSTEP_UP_B_S "<BSTPUPB.GCO" //dsl
#define SM_BABYSTEP_UP_S_S "<BSTPUPS.GCO" //dsl
#define SM_BABYSTEP_DN_B_S "<BSTPDNB.GCO" //dsl
#define SM_BABYSTEP_DN_S_S "<BSTPDNS.GCO" //dsl
#define SM_AUTOMESH_MENU_S "<MSHLVLM.GCO" //dsl
#define SM_START_MESH_S "<BLTLMNU.GCO" //dsl
#define SM_ENA_FADE_MESH_S "<ENAFADE.GCO" //dsl
#define SM_MESH_LVL_EXIT_S "<MSHEXIT.GCO" //dsl
#define SM_TEST_MENU_S "<TESTMNU.GCO" //dsl
#define SM_TEST_ZOFFDISP_S "<TSTZOFF.GCO" //dsl
#define SM_TEST_NOZZLE_S "<TESTNOZ.GCO" //dsl
#define SM_TEST_NOZ_UP_S "<TSTBSUP.GCO" //dsl
#define SM_TEST_NOZ_DN_S "<TSTBSDN.GCO" //dsl
#define SM_TEST_PRT_PLA_S "<TESTPLA.GCO" //dsl
#define SM_TEST_PRT_ABS_S "<TESTABS.GCO" //dsl
#define SM_TEST_PRT_TPU_S "<TESTTPU.GCO" //dsl
#define SM_TESTMENU_EXIT_S "<EXTSMNU.GCO" //dsl
#define SM_NOOP_S "<NOOPXXX.GCO" //dsl
#if DISABLED(KNUTWURST_DGUS2_TFT) #if DISABLED(KNUTWURST_DGUS2_TFT)
#define SM_DIR_UP_L "/.." #define SM_DIR_UP_L "/.."
#define SM_SPECIAL_MENU_L "<Special Menu>" #define SM_SPECIAL_MENU_L "<SPECIAL MENU>" //dsl
#define SM_PID_HOTEND_L "<PID Tune Hotend>" #define SM_PID_HOTEND_L "<Tune Hotend 215C>" //dsl
#define SM_PID_BED_L "<PID Tune Ultrabase>" #define SM_PID_BED_L "<Tune Bed 60C>" //dsl
#define SM_SAVE_EEPROM_L "<Save EEPROM>" #define SM_SAVE_EEPROM_L "<SAVE to EEPROM>" //dsl
#define SM_LOAD_DEFAULTS_L "<Load FW Defaults>" #define SM_LOAD_DEFAULTS_L "<Restore to FACTORYs>" //dsl
#define SM_PREHEAT_BED_L "<Preheat Ultrabase>" #define SM_LOAD_LAST_L "<Restore to LAST>" //dsl
#define SM_MESH_MENU_L "<Mesh Leveling>" #define SM_PREHEAT_BED_L "<Preheat Bed 60C>" //dsl
#define SM_MESH_START_L "<Start Mesh Leveling>" #define SM_HEAT_BED_L "<60C/OC Heat Bed>" //dsl
#define SM_MESH_NEXT_L "<Next Mesh Point>" #define SM_MMLVL_MENU_L "<MANL MESH LVL MENU>" //dsl
#define SM_Z_UP_01_L "<Z Up 0.1>" #define SM_MMLVL_START_L "<Start Mesh Leveling>"
#define SM_MMLVL_NEXT_L "<Next Mesh Point>"
#define SM_Z_UP_01_L "<Z Up 0.1>" //dsl
#define SM_Z_DN_01_L "<Z Down 0.1>" #define SM_Z_DN_01_L "<Z Down 0.1>"
#define SM_Z_UP_002_L "<Z Up 0.02>" #define SM_Z_UP_002_L "<Z Up 0.02>" //dsl
#define SM_Z_DN_002_L "<Z Down 0.02>" #define SM_Z_DN_002_L "<Z Down 0.02>"
#define SM_Z_UP_001_L "<Z Up 0.01>" #define SM_Z_UP_001_L "<Z Up 0.01>" //dsl
#define SM_Z_DN_001_L "<Z Down 0.01>" #define SM_Z_DN_001_L "<Z Down 0.01>"
#define SM_BLTOUCH_L "<Start Auto Leveling>"
#define SM_RESETLV_L "<Reset Level Grid>" #define SM_RESETLV_L "<Reset Level Grid>"
#define SM_PAUSE_L "<Fil. Change Pause>" #define SM_FIL_PAUSE_L "<Fil. Change Pause>"
#define SM_RESUME_L "<Fil. Change Resume>" #define SM_FIL_RESUME_L "<Fil. Change Resume>"
#define SM_DIS_FILSENS_L "<Disable Fil. Sensor>" #define SM_DIS_FILSENS_L "<Disable Fil. Sensor>"
#define SM_EN_FILSENS_L "<Enable Fil. Sensor>" #define SM_EN_FILSENS_L "<Enable Fil. Sensor>"
#define SM_EXIT_L "<Exit>" #define SM_SPECMENU_EXIT_L "<Exit Special Menu>" //dsl
#define SM_BACK_L "<End Mesh Leveling>" #define SM_MMLVL_EXIT_L "<Exit ManlMesh Lvlg>"//dsl
#define SM_FLOWMENU_L "<Set Flowrate>" #define SM_FLOWMENU_L "<SET FLOWRATE MENU>" //dsl
#define SM_FLOW_DISP_L "<Flow is XXX>" #define SM_FLOW_DISP_L "<Flow is XXX>"
#define SM_FLOW_UP_L "<Up>" #define SM_FLOW_UP_L "<Up>"
#define SM_FLOW_DN_L "<Down>" #define SM_FLOW_DN_L "<Down>"
#define SM_FLOW_EXIT_L "<Exit Flow Settings>" #define SM_FLOW_EXIT_L "<Exit Flow Menu>"
#define SM_EZLVL_MENU_L "<Easy 4 Point Level>" #define SM_4PLVL_MENU_L "<4 POINT LEVEL MENU>"//dsl
#define SM_EZLVL_P1_L "<Point A>" #define SM_4PLVL_P1_L "<Point A to paper>" //dsl
#define SM_EZLVL_P2_L "<Point B>" #define SM_4PLVL_P2_L "<Point B to paper>" //dsl
#define SM_EZLVL_P3_L "<Point C>" #define SM_4PLVL_P3_L "<Point C to paper>" //dsl
#define SM_EZLVL_P4_L "<Point D>" #define SM_4PLVL_P4_L "<Point D to paper>" //dsl
#define SM_EZLVL_EXIT_L "<Exit Easy Level>" #define SM_4PLVL_EXIT_L "<Exit 4 Point Menu>" //dsl
#define SM_BLTZMENU_L "<Auto Leveling>" #define SM_PROBE_MENU_L "<PROBE Z-OFF MENU>" //dsl
#define SM_BLTZ_DISP_L "<Z Offset: XXXXX>" #define SM_ZOFF_DISP_L "<Z Offset: XXXXX>" //dsl
#define SM_BLTZ_UP_L "<Up>" #define SM_PRB_DN_L "<Probe Dn to paper>"//dsl
#define SM_BLTZ_DN_L "<Down>" #define SM_NOZ_UP_L "<Up>" //dsl
#define SM_BLTZ_EXIT_L "<SAVE and EXIT>" #define SM_NOZ_DN_L "<Down>" //dsl
#define SM_HS_DISABLE_L "<Disable HiSpeed Mode>" #define SM_PROBE_EXIT_L "<Exit Probe Menu>" //dsl
#define SM_HS_ENABLE_L "<Enable HiSpeed Mode>" #define SM_PROBE_ENA_HS_L "<Ena/Dis HiSpd Mesh>"//dsl
#define SM_BABYSTEP_UP_L_L "<BabyStep Up .1>" //dsl
#define SM_BABYSTEP_UP_S_L "<BabyStep Up .02>" //dsl
#define SM_BABYSTEP_DN_L_L "<BabyStep Dn .1>" //dsl
#define SM_BABYSTEP_DN_S_L "<BabyStep Dn .02>" //dsl
#define SM_AUTOMESH_MENU_L "<MESH LEVEL MENU>" //dsl
#define SM_START_MESH_L "<Start Mesh Level>" //dsl
#define SM_ENA_FADE_MESH_L "<Ena/Dis MeshFade 5>"//dsl
#define SM_MESH_LVL_EXIT_L "<Mesh Level Exit>" //dsl
#define SM_TEST_MENU_L "<TEST MENU>" //dsl
#define SM_TEST_ZOFFDISP_L "<Z Offset: XXXXX>" //dsl
#define SM_TEST_NOZZLE_L "<Test Nozzle paper>" //dsl
#define SM_TEST_NOZ_UP_L "<Baby Step Up .02>" //dsl
#define SM_TEST_NOZ_DN_L "<Baby Step DN .02>" //dsl
#define SM_TEST_PRT_PLA_L "<Test Print PLA>" //dsl
#define SM_TEST_PRT_ABS_L "<Test Print ABS>" //dsl
#define SM_TEST_PRT_TPU_L "<Test Print TPU>" //dsl
#define SM_TESTMENU_EXIT_L "<Exit Test Menu>" //dsl
#define SM_NOOP_L "<noop>" //dsl
#endif // !KNUTWURST_DGUS2_TFT #endif // !KNUTWURST_DGUS2_TFT
#if ENABLED(KNUTWURST_DGUS2_TFT) #if ENABLED(KNUTWURST_DGUS2_TFT)
#define SM_DIR_UP_L "/.. .gcode" #define SM_DIR_UP_L "/.. .gcode"
#define SM_SPECIAL_MENU_L "<Special Menu> .gcode" #define SM_SPECIAL_MENU_L "<SPECIAL MENU> .gcode" //dsl
#define SM_PID_HOTEND_L "<PID Tune Hotend> .gcode" #define SM_PID_HOTEND_L "<Tune HotEnd 215C> .gcode" //dsl
#define SM_PID_BED_L "<PID Tune Ultrabase>.gcode" #define SM_PID_BED_L "<Tune Bed 60C> .gcode" //dsl
#define SM_SAVE_EEPROM_L "<Save EEPROM> .gcode" #define SM_SAVE_EEPROM_L "<SAVE to EEPROM> .gcode" //dsl
#define SM_LOAD_DEFAULTS_L "<Load FW Defaults> .gcode" #define SM_LOAD_DEFAULTS_L "<Restore to FACTORY>.gcode" //dsl
#define SM_PREHEAT_BED_L "<Preheat Ultrabase> .gcode" #define SM_LOAD_LAST_L "<Restore to LAST> .gcode" //dsl
#define SM_MESH_MENU_L "<Mesh Leveling> .gcode" #define SM_PREHEAT_BED_L "<Preheat Bed 60C> .gcode" //dsl
#define SM_MESH_START_L "<Start MeshLeveling>.gcode" #define SM_HEAT_BED_L "<60C/OC Heat Bed> .gcode" //dsl
#define SM_MESH_NEXT_L "<Next Mesh Point> .gcode" #define SM_MMLVL_MENU_L "<MANL MESH LVL MENU>.gcode" //dsl
#define SM_MMLVL_START_L "<Start MeshLeveling>.gcode"
#define SM_MMLVL_NEXT_L "<Next Mesh Point> .gcode"
#define SM_Z_UP_01_L "<Z Up 0.1> .gcode" #define SM_Z_UP_01_L "<Z Up 0.1> .gcode"
#define SM_Z_DN_01_L "<Z Down 0.1> .gcode" #define SM_Z_DN_01_L "<Z Dn 0.1> .gcode" //dsl
#define SM_Z_UP_002_L "<Z Up 0.02> .gcode" #define SM_Z_UP_002_L "<Z Up 0.02> .gcode"
#define SM_Z_DN_002_L "<Z Down 0.02> .gcode" #define SM_Z_DN_002_L "<Z Dn 0.02> .gcode" //dsl
#define SM_Z_UP_001_L "<Z Up 0.01> .gcode" #define SM_Z_UP_001_L "<Z Up 0.01> .gcode"
#define SM_Z_DN_001_L "<Z Down 0.01> .gcode" #define SM_Z_DN_001_L "<Z Dn 0.01> .gcode" //dsl
#define SM_BLTOUCH_L "<Start AutoLeveling>.gcode"
#define SM_RESETLV_L "<Reset Level Grid> .gcode" #define SM_RESETLV_L "<Reset Level Grid> .gcode"
#define SM_PAUSE_L "<Fil. Change Pause> .gcode" #define SM_FIL_PAUSE_L "<Fil. Change Pause> .gcode"
#define SM_RESUME_L "<Fil. Change Resume>.gcode" #define SM_FIL_RESUME_L "<Fil. Change Resume>.gcode"
#define SM_DIS_FILSENS_L "<Disable Fil.Sensor>.gcode" #define SM_DIS_FILSENS_L "<Disable Fil.Sensor>.gcode"
#define SM_EN_FILSENS_L "<Enable Fil. Sensor>.gcode" #define SM_EN_FILSENS_L "<Enable Fil. Sensor>.gcode"
#define SM_EXIT_L "<Exit> .gcode" #define SM_SPECMENU_EXIT_L "<Exit Special Menu> .gcode" //dsl
#define SM_BACK_L "<End Mesh Leveling> .gcode" #define SM_MMLVL_EXIT_L "<Exit ManlMesh Lvl> .gcode" //dsl
#define SM_FLOWMENU_L "<Set Flowrate> .gcode" #define SM_FLOWMENU_L "<SET FLOWRATE MENU> .gcode" //dsl
#define SM_FLOW_DISP_L "<Flow is XXX%> .gcode" #define SM_FLOW_DISP_L "<Flow is XXX%> .gcode"
#define SM_FLOW_UP_L "<Up> .gcode" #define SM_FLOW_UP_L "<Up> .gcode"
#define SM_FLOW_DN_L "<Down> .gcode" #define SM_FLOW_DN_L "<Down> .gcode"
#define SM_FLOW_EXIT_L "<Exit Flow Settings>.gcode" #define SM_FLOW_EXIT_L "<Exit Flow Menu> .gcode"
#define SM_EZLVL_MENU_L "<Easy 4 Point Level>.gcode" #define SM_4PLVL_MENU_L "<4 POINT LEVEL MENU>.gcode" //dsl
#define SM_EZLVL_P1_L "<Point A> .gcode" #define SM_4PLVL_P1_L "<Point A to paper> .gcode" //dsl
#define SM_EZLVL_P2_L "<Point B> .gcode" #define SM_4PLVL_P2_L "<Point B to paper> .gcode" //dsl
#define SM_EZLVL_P3_L "<Point C> .gcode" #define SM_4PLVL_P3_L "<Point C to paper> .gcode" //dsl
#define SM_EZLVL_P4_L "<Point D> .gcode" #define SM_4PLVL_P4_L "<Point D to paper> .gcode" //dsl
#define SM_EZLVL_EXIT_L "<Exit Easy Leveling>.gcode" #define SM_4PLVL_EXIT_L "<Exit 4 Point Menu> .gcode" //dsl
#define SM_BLTZMENU_L "<Auto Leveling> .gcode" #define SM_PROBE_MENU_L "<PROBE Z-OFF MENU> .gcode" //dsl
#define SM_BLTZ_DISP_L "<Z Offset: XXXXX> .gcode" #define SM_ZOFF_DISP_L "<Z Offset: XXXXX> .gcode" //dsl
#define SM_BLTZ_UP_L "<Up> .gcode" #define SM_PRB_DN_L "<Probe Dn to paper>.gcode" //dsl
#define SM_BLTZ_DN_L "<Down> .gcode" #define SM_NOZ_UP_L "<Nozzle Up to paper>.gcode" //dsl
#define SM_BLTZ_EXIT_L "<SAVE and EXIT> .gcode" #define SM_NOZ_DN_L "<Nozzle Dn to paper>.gcode" //dsl
#define SM_HS_DISABLE_L "<Disable HiSpeed> .gcode" #define SM_PROBE_EXIT_L "<Exit Probe Menu> .gcode" //dsl
#define SM_HS_ENABLE_L "<Enable HiSpeed> .gcode" #define SM_PROBE_ENA_HS_L "<Ena/Dis HiSpd Mesh>.gcode" //dsl
#define SM_BABYSTEP_UP_L_L "<BabyStep Up .1> .gcode" //dsl
#define SM_BABYSTEP_UP_S_L "<BabyStep Up .02> .gcode" //dsl
#define SM_BABYSTEP_DN_L_L "<BabyStep Dn .1> .gcode" //dsl
#define SM_BABYSTEP_DN_S_L "<BabyStep Dn .02> .gcode" //dsl
#define SM_AUTOMESH_MENU_L "<AUTO MESH LVL MENU>.gcode" //dsl
#define SM_START_MESH_L "<Start Mesh Level> .gcode" //dsl
#define SM_ENA_FADE_MESH_L "<Ena/Dis MeshFade 5>.gcode" //dsl
#define SM_MESH_LVL_EXIT_L "<Mesh Level Exit> .gcode" //dsl
#define SM_TEST_MENU_L "<TEST MENU> .gcode" //dsl
#define SM_TEST_ZOFFDISP_L "<Z Offset: XXXXX> .gcode" //dsl
#define SM_TEST_NOZZLE_L "<Test Nozzle paper> .gcode" //dsl
#define SM_TEST_NOZ_UP_L "<Noz Up .02 paper> .gcode" //dsl
#define SM_TEST_NOZ_DN_L "<Noz DN .02 paper> .gcode" //dsl
#define SM_TEST_PRT_PLA_L "<Test Print PLA> .gcode" //dsl
#define SM_TEST_PRT_ABS_L "<Test Print ABS> .gcode" //dsl
#define SM_TEST_PRT_TPU_L "<Test Print TPU> .gcode" //dsl
#define SM_TESTMENU_EXIT_L "<Exit Test Menu> .gcode" //dsl
#define SM_NOOP_L "<noop> .gcode" //dsl
#endif // KNUTWURST_DGUS2_TFT #endif // KNUTWURST_DGUS2_TFT
#define ENTER_MENU_SOUND BUZZ(200, 1108); BUZZ(200, 1661); BUZZ(200, 1108); BUZZ(600, 1661); //dsl
#define EXIT_MENU_SOUND BUZZ(200, 1661); BUZZ(200, 1108); BUZZ(600, 1661); BUZZ(200, 1108); //dsl
class AnycubicTouchscreenClass { class AnycubicTouchscreenClass {
public: public:
@@ -262,12 +323,22 @@ class AnycubicTouchscreenClass {
String flowRateBuffer; String flowRateBuffer;
String zOffsetBuffer; String zOffsetBuffer;
//dsl Menu booleans
uint8_t SpecialMenu = false; uint8_t SpecialMenu = false;
uint8_t MMLMenu = false; uint8_t ManualMeshLevelMenu = false; //dsl
uint8_t FlowMenu = false; uint8_t FlowMenu = false;
uint8_t BLTouchMenu = false; uint8_t ProbeMenu = false; //dsl
uint8_t LevelMenu = false; uint8_t Manual4PntLevelMenu = false; //dsl
uint8_t CaseLight = true; uint8_t CaseLight = true;
uint8_t TestMenu = false; //dsl
uint8_t AutoMeshLevelMenu = false; //dsl
//dsl Menu item toggles
uint8_t HeatBed = false; //dsl
uint8_t EnableHighSpeedProbe = false; //dsl
uint8_t EnableMeshFade = false; //dsl
#if ENABLED(KNUTWURST_MEGA_P_LASER) #if ENABLED(KNUTWURST_MEGA_P_LASER)
typedef struct { typedef struct {

View File

@@ -19,66 +19,16 @@ extra_configs =
ini/features.ini ini/features.ini
ini/i3_mega.ini ini/i3_mega.ini
default_envs = default_envs =
MEGA_1G
MEGA_1G_TMC
MEGA_1G_BLT_10
MEGA_1G_BLT_11
MEGA_1G_TMC_BLT_10
MEGA_1G_TMC_BLT_11
MEGA
MEGA_TMC
MEGA_BLT_10
MEGA_BLT_11
MEGA_TMC_BLT_10
MEGA_TMC_BLT_11
MEGA_S
MEGA_S_TMC
MEGA_S_BLT_10
MEGA_S_BLT_11
MEGA_S_TMC_BLT_10
MEGA_S_TMC_BLT_11
MEGA_S_DGUS
MEGA_S_DGUS_TMC
MEGA_S_DGUS_BLT_10
MEGA_S_DGUS_BLT_11
MEGA_S_DGUS_TMC_BLT_10
MEGA_S_DGUS_TMC_BLT_11
MEGA_X
MEGA_X_TMC
MEGA_X_BLT_10
MEGA_X_BLT_11
MEGA_X_TMC_BLT_10
MEGA_X_TMC_BLT_11
MEGA_X_DGUS
MEGA_X_DGUS_TMC
MEGA_X_DGUS_BLT_10
MEGA_X_DGUS_BLT_11
MEGA_X_DGUS_TMC_BLT_10
MEGA_X_DGUS_TMC_BLT_11
MEGA_P_DGUS
MEGA_P_DGUS_TMC
MEGA_P_DGUS_BLT_10
MEGA_P_DGUS_BLT_11
MEGA_P_DGUS_TMC_BLT_10
MEGA_P_DGUS_TMC_BLT_11
CHIRON
CHIRON_TMC
CHIRON_DGUS
CHIRON_DGUS_TMC
4MAXP2
4MAXP2_TMC
4MAXP2_BLT_10 4MAXP2_BLT_10
4MAXP2_BLT_11 4MAXP2_BLT_11
4MAXP2_TMC_BLT_10 4MAXP2_TMC_BLT_10
4MAXP2_TMC_BLT_11 4MAXP2_TMC_BLT_11
4MAXP2_DGUS
4MAXP2_DGUS_TMC
4MAXP2_DGUS_BLT_10 4MAXP2_DGUS_BLT_10
4MAXP2_DGUS_BLT_11 4MAXP2_DGUS_BLT_11
4MAXP2_DGUS_TMC_BLT_10 4MAXP2_DGUS_TMC_BLT_10
4MAXP2_DGUS_TMC_BLT_11 4MAXP2_DGUS_TMC_BLT_11
# //dsl Above: removed all but those with 4MAXP2 + BLT in it
# #
# The 'common' section applies to most Marlin builds. # The 'common' section applies to most Marlin builds.
# #