Przeglądaj źródła

PLA / ABS => Material 1 / 2

Scott Lahteine 8 lat temu
rodzic
commit
bb4529f7d2
1 zmienionych plików z 44 dodań i 44 usunięć
  1. 44
    44
      Marlin/ultralcd.cpp

+ 44
- 44
Marlin/ultralcd.cpp Wyświetl plik

@@ -120,8 +120,8 @@ uint8_t lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; // Set when the LCD needs to
120 120
   void lcd_move_menu();
121 121
   void lcd_control_menu();
122 122
   void lcd_control_temperature_menu();
123
-  void lcd_control_temperature_preheat_pla_settings_menu();
124
-  void lcd_control_temperature_preheat_abs_settings_menu();
123
+  void lcd_control_temperature_preheat_material1_settings_menu();
124
+  void lcd_control_temperature_preheat_material2_settings_menu();
125 125
   void lcd_control_motion_menu();
126 126
   void lcd_control_volumetric_menu();
127 127
 
@@ -908,23 +908,23 @@ void kill_screen(const char* lcd_msg) {
908 908
   }
909 909
 
910 910
   #if TEMP_SENSOR_0 != 0
911
-    void lcd_preheat_pla0() { _lcd_preheat(0, lcd_preheat_hotend_temp[0], lcd_preheat_bed_temp[0], lcd_preheat_fan_speed[0]); }
912
-    void lcd_preheat_abs0() { _lcd_preheat(0, lcd_preheat_hotend_temp[1], lcd_preheat_bed_temp[1], lcd_preheat_fan_speed[1]); }
911
+    void lcd_preheat_material1_hotend0() { _lcd_preheat(0, lcd_preheat_hotend_temp[0], lcd_preheat_bed_temp[0], lcd_preheat_fan_speed[0]); }
912
+    void lcd_preheat_material2_hotend0() { _lcd_preheat(0, lcd_preheat_hotend_temp[1], lcd_preheat_bed_temp[1], lcd_preheat_fan_speed[1]); }
913 913
   #endif
914 914
 
915 915
   #if HOTENDS > 1
916
-    void lcd_preheat_pla1() { _lcd_preheat(1, lcd_preheat_hotend_temp[0], lcd_preheat_bed_temp[0], lcd_preheat_fan_speed[0]); }
917
-    void lcd_preheat_abs1() { _lcd_preheat(1, lcd_preheat_hotend_temp[1], lcd_preheat_bed_temp[1], lcd_preheat_fan_speed[1]); }
916
+    void lcd_preheat_material1_hotend1() { _lcd_preheat(1, lcd_preheat_hotend_temp[0], lcd_preheat_bed_temp[0], lcd_preheat_fan_speed[0]); }
917
+    void lcd_preheat_material2_hotend1() { _lcd_preheat(1, lcd_preheat_hotend_temp[1], lcd_preheat_bed_temp[1], lcd_preheat_fan_speed[1]); }
918 918
     #if HOTENDS > 2
919
-      void lcd_preheat_pla2() { _lcd_preheat(2, lcd_preheat_hotend_temp[0], lcd_preheat_bed_temp[0], lcd_preheat_fan_speed[0]); }
920
-      void lcd_preheat_abs2() { _lcd_preheat(2, lcd_preheat_hotend_temp[1], lcd_preheat_bed_temp[1], lcd_preheat_fan_speed[1]); }
919
+      void lcd_preheat_material1_hotend2() { _lcd_preheat(2, lcd_preheat_hotend_temp[0], lcd_preheat_bed_temp[0], lcd_preheat_fan_speed[0]); }
920
+      void lcd_preheat_material2_hotend2() { _lcd_preheat(2, lcd_preheat_hotend_temp[1], lcd_preheat_bed_temp[1], lcd_preheat_fan_speed[1]); }
921 921
       #if HOTENDS > 3
922
-        void lcd_preheat_pla3() { _lcd_preheat(3, lcd_preheat_hotend_temp[0], lcd_preheat_bed_temp[0], lcd_preheat_fan_speed[0]); }
923
-        void lcd_preheat_abs3() { _lcd_preheat(3, lcd_preheat_hotend_temp[1], lcd_preheat_bed_temp[1], lcd_preheat_fan_speed[1]); }
922
+        void lcd_preheat_material1_hotend3() { _lcd_preheat(3, lcd_preheat_hotend_temp[0], lcd_preheat_bed_temp[0], lcd_preheat_fan_speed[0]); }
923
+        void lcd_preheat_material2_hotend3() { _lcd_preheat(3, lcd_preheat_hotend_temp[1], lcd_preheat_bed_temp[1], lcd_preheat_fan_speed[1]); }
924 924
       #endif
925 925
     #endif
926 926
 
927
-    void lcd_preheat_pla0123() {
927
+    void lcd_preheat_material1_hotend0123() {
928 928
       #if HOTENDS > 1
929 929
         thermalManager.setTargetHotend(lcd_preheat_hotend_temp[0], 1);
930 930
         #if HOTENDS > 2
@@ -934,9 +934,9 @@ void kill_screen(const char* lcd_msg) {
934 934
           #endif
935 935
         #endif
936 936
       #endif
937
-      lcd_preheat_pla0();
937
+      lcd_preheat_material1_hotend0();
938 938
     }
939
-    void lcd_preheat_abs0123() {
939
+    void lcd_preheat_material2_hotend0123() {
940 940
       #if HOTENDS > 1
941 941
         thermalManager.setTargetHotend(lcd_preheat_hotend_temp[1], 1);
942 942
         #if HOTENDS > 2
@@ -946,58 +946,58 @@ void kill_screen(const char* lcd_msg) {
946 946
           #endif
947 947
         #endif
948 948
       #endif
949
-      lcd_preheat_abs0();
949
+      lcd_preheat_material2_hotend0();
950 950
     }
951 951
 
952 952
   #endif // HOTENDS > 1
953 953
 
954 954
   #if TEMP_SENSOR_BED != 0
955
-    void lcd_preheat_pla_bedonly() { _lcd_preheat(0, 0, lcd_preheat_bed_temp[0], lcd_preheat_fan_speed[0]); }
956
-    void lcd_preheat_abs_bedonly() { _lcd_preheat(0, 0, lcd_preheat_bed_temp[1], lcd_preheat_fan_speed[1]); }
955
+    void lcd_preheat_material1_bedonly() { _lcd_preheat(0, 0, lcd_preheat_bed_temp[0], lcd_preheat_fan_speed[0]); }
956
+    void lcd_preheat_material2_bedonly() { _lcd_preheat(0, 0, lcd_preheat_bed_temp[1], lcd_preheat_fan_speed[1]); }
957 957
   #endif
958 958
 
959 959
   #if TEMP_SENSOR_0 != 0 && (TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 || TEMP_SENSOR_3 != 0 || TEMP_SENSOR_BED != 0)
960 960
 
961
-    void lcd_preheat_pla_menu() {
961
+    void lcd_preheat_material1_menu() {
962 962
       START_MENU();
963 963
       MENU_BACK(MSG_PREPARE);
964 964
       #if HOTENDS == 1
965
-        MENU_ITEM(function, MSG_PREHEAT_1, lcd_preheat_pla0);
965
+        MENU_ITEM(function, MSG_PREHEAT_1, lcd_preheat_material1_hotend0);
966 966
       #else
967
-        MENU_ITEM(function, MSG_PREHEAT_1_N MSG_H1, lcd_preheat_pla0);
968
-        MENU_ITEM(function, MSG_PREHEAT_1_N MSG_H2, lcd_preheat_pla1);
967
+        MENU_ITEM(function, MSG_PREHEAT_1_N MSG_H1, lcd_preheat_material1_hotend0);
968
+        MENU_ITEM(function, MSG_PREHEAT_1_N MSG_H2, lcd_preheat_material1_hotend1);
969 969
         #if HOTENDS > 2
970
-          MENU_ITEM(function, MSG_PREHEAT_1_N MSG_H3, lcd_preheat_pla2);
970
+          MENU_ITEM(function, MSG_PREHEAT_1_N MSG_H3, lcd_preheat_material1_hotend2);
971 971
           #if HOTENDS > 3
972
-            MENU_ITEM(function, MSG_PREHEAT_1_N MSG_H4, lcd_preheat_pla3);
972
+            MENU_ITEM(function, MSG_PREHEAT_1_N MSG_H4, lcd_preheat_material1_hotend3);
973 973
           #endif
974 974
         #endif
975
-        MENU_ITEM(function, MSG_PREHEAT_1_ALL, lcd_preheat_pla0123);
975
+        MENU_ITEM(function, MSG_PREHEAT_1_ALL, lcd_preheat_material1_hotend0123);
976 976
       #endif
977 977
       #if TEMP_SENSOR_BED != 0
978
-        MENU_ITEM(function, MSG_PREHEAT_1_BEDONLY, lcd_preheat_pla_bedonly);
978
+        MENU_ITEM(function, MSG_PREHEAT_1_BEDONLY, lcd_preheat_material1_bedonly);
979 979
       #endif
980 980
       END_MENU();
981 981
     }
982 982
 
983
-    void lcd_preheat_abs_menu() {
983
+    void lcd_preheat_material2_menu() {
984 984
       START_MENU();
985 985
       MENU_BACK(MSG_PREPARE);
986 986
       #if HOTENDS == 1
987
-        MENU_ITEM(function, MSG_PREHEAT_2, lcd_preheat_abs0);
987
+        MENU_ITEM(function, MSG_PREHEAT_2, lcd_preheat_material2_hotend0);
988 988
       #else
989
-        MENU_ITEM(function, MSG_PREHEAT_2_N MSG_H1, lcd_preheat_abs0);
990
-        MENU_ITEM(function, MSG_PREHEAT_2_N MSG_H2, lcd_preheat_abs1);
989
+        MENU_ITEM(function, MSG_PREHEAT_2_N MSG_H1, lcd_preheat_material2_hotend0);
990
+        MENU_ITEM(function, MSG_PREHEAT_2_N MSG_H2, lcd_preheat_material2_hotend1);
991 991
         #if HOTENDS > 2
992
-          MENU_ITEM(function, MSG_PREHEAT_2_N MSG_H3, lcd_preheat_abs2);
992
+          MENU_ITEM(function, MSG_PREHEAT_2_N MSG_H3, lcd_preheat_material2_hotend2);
993 993
           #if HOTENDS > 3
994
-            MENU_ITEM(function, MSG_PREHEAT_2_N MSG_H4, lcd_preheat_abs3);
994
+            MENU_ITEM(function, MSG_PREHEAT_2_N MSG_H4, lcd_preheat_material2_hotend3);
995 995
           #endif
996 996
         #endif
997
-        MENU_ITEM(function, MSG_PREHEAT_2_ALL, lcd_preheat_abs0123);
997
+        MENU_ITEM(function, MSG_PREHEAT_2_ALL, lcd_preheat_material2_hotend0123);
998 998
       #endif
999 999
       #if TEMP_SENSOR_BED != 0
1000
-        MENU_ITEM(function, MSG_PREHEAT_2_BEDONLY, lcd_preheat_abs_bedonly);
1000
+        MENU_ITEM(function, MSG_PREHEAT_2_BEDONLY, lcd_preheat_material2_bedonly);
1001 1001
       #endif
1002 1002
       END_MENU();
1003 1003
     }
@@ -1273,11 +1273,11 @@ void kill_screen(const char* lcd_msg) {
1273 1273
     //
1274 1274
     #if TEMP_SENSOR_0 != 0
1275 1275
       #if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 || TEMP_SENSOR_3 != 0 || TEMP_SENSOR_BED != 0
1276
-        MENU_ITEM(submenu, MSG_PREHEAT_1, lcd_preheat_pla_menu);
1277
-        MENU_ITEM(submenu, MSG_PREHEAT_2, lcd_preheat_abs_menu);
1276
+        MENU_ITEM(submenu, MSG_PREHEAT_1, lcd_preheat_material1_menu);
1277
+        MENU_ITEM(submenu, MSG_PREHEAT_2, lcd_preheat_material2_menu);
1278 1278
       #else
1279
-        MENU_ITEM(function, MSG_PREHEAT_1, lcd_preheat_pla0);
1280
-        MENU_ITEM(function, MSG_PREHEAT_2, lcd_preheat_abs0);
1279
+        MENU_ITEM(function, MSG_PREHEAT_1, lcd_preheat_material1_hotend0);
1280
+        MENU_ITEM(function, MSG_PREHEAT_2, lcd_preheat_material2_hotend0);
1281 1281
       #endif
1282 1282
     #endif
1283 1283
 
@@ -1776,14 +1776,14 @@ void kill_screen(const char* lcd_msg) {
1776 1776
     #endif //PIDTEMP
1777 1777
 
1778 1778
     //
1779
-    // Preheat PLA conf
1779
+    // Preheat Material 1 conf
1780 1780
     //
1781
-    MENU_ITEM(submenu, MSG_PREHEAT_1_SETTINGS, lcd_control_temperature_preheat_pla_settings_menu);
1781
+    MENU_ITEM(submenu, MSG_PREHEAT_1_SETTINGS, lcd_control_temperature_preheat_material1_settings_menu);
1782 1782
 
1783 1783
     //
1784
-    // Preheat ABS conf
1784
+    // Preheat Material 2 conf
1785 1785
     //
1786
-    MENU_ITEM(submenu, MSG_PREHEAT_2_SETTINGS, lcd_control_temperature_preheat_abs_settings_menu);
1786
+    MENU_ITEM(submenu, MSG_PREHEAT_2_SETTINGS, lcd_control_temperature_preheat_material2_settings_menu);
1787 1787
     END_MENU();
1788 1788
   }
1789 1789
 
@@ -1805,17 +1805,17 @@ void kill_screen(const char* lcd_msg) {
1805 1805
 
1806 1806
   /**
1807 1807
    *
1808
-   * "Temperature" > "Preheat PLA conf" submenu
1808
+   * "Temperature" > "Preheat Material 1 conf" submenu
1809 1809
    *
1810 1810
    */
1811
-  void lcd_control_temperature_preheat_pla_settings_menu() { _lcd_control_temperature_preheat_settings_menu(0); }
1811
+  void lcd_control_temperature_preheat_material1_settings_menu() { _lcd_control_temperature_preheat_settings_menu(0); }
1812 1812
 
1813 1813
   /**
1814 1814
    *
1815
-   * "Temperature" > "Preheat ABS conf" submenu
1815
+   * "Temperature" > "Preheat Material 2 conf" submenu
1816 1816
    *
1817 1817
    */
1818
-  void lcd_control_temperature_preheat_abs_settings_menu() { _lcd_control_temperature_preheat_settings_menu(1); }
1818
+  void lcd_control_temperature_preheat_material2_settings_menu() { _lcd_control_temperature_preheat_settings_menu(1); }
1819 1819
 
1820 1820
   void _reset_acceleration_rates() { planner.reset_acceleration_rates(); }
1821 1821
   void _planner_refresh_positioning() { planner.refresh_positioning(); }

Ładowanie…
Anuluj
Zapisz