Pārlūkot izejas kodu

PLA / ABS => Material 1 / 2

Scott Lahteine 8 gadus atpakaļ
vecāks
revīzija
bb4529f7d2
1 mainītis faili ar 44 papildinājumiem un 44 dzēšanām
  1. 44
    44
      Marlin/ultralcd.cpp

+ 44
- 44
Marlin/ultralcd.cpp Parādīt failu

120
   void lcd_move_menu();
120
   void lcd_move_menu();
121
   void lcd_control_menu();
121
   void lcd_control_menu();
122
   void lcd_control_temperature_menu();
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
   void lcd_control_motion_menu();
125
   void lcd_control_motion_menu();
126
   void lcd_control_volumetric_menu();
126
   void lcd_control_volumetric_menu();
127
 
127
 
908
   }
908
   }
909
 
909
 
910
   #if TEMP_SENSOR_0 != 0
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
   #endif
913
   #endif
914
 
914
 
915
   #if HOTENDS > 1
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
     #if HOTENDS > 2
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
       #if HOTENDS > 3
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
       #endif
924
       #endif
925
     #endif
925
     #endif
926
 
926
 
927
-    void lcd_preheat_pla0123() {
927
+    void lcd_preheat_material1_hotend0123() {
928
       #if HOTENDS > 1
928
       #if HOTENDS > 1
929
         thermalManager.setTargetHotend(lcd_preheat_hotend_temp[0], 1);
929
         thermalManager.setTargetHotend(lcd_preheat_hotend_temp[0], 1);
930
         #if HOTENDS > 2
930
         #if HOTENDS > 2
934
           #endif
934
           #endif
935
         #endif
935
         #endif
936
       #endif
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
       #if HOTENDS > 1
940
       #if HOTENDS > 1
941
         thermalManager.setTargetHotend(lcd_preheat_hotend_temp[1], 1);
941
         thermalManager.setTargetHotend(lcd_preheat_hotend_temp[1], 1);
942
         #if HOTENDS > 2
942
         #if HOTENDS > 2
946
           #endif
946
           #endif
947
         #endif
947
         #endif
948
       #endif
948
       #endif
949
-      lcd_preheat_abs0();
949
+      lcd_preheat_material2_hotend0();
950
     }
950
     }
951
 
951
 
952
   #endif // HOTENDS > 1
952
   #endif // HOTENDS > 1
953
 
953
 
954
   #if TEMP_SENSOR_BED != 0
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
   #endif
957
   #endif
958
 
958
 
959
   #if TEMP_SENSOR_0 != 0 && (TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 || TEMP_SENSOR_3 != 0 || TEMP_SENSOR_BED != 0)
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
       START_MENU();
962
       START_MENU();
963
       MENU_BACK(MSG_PREPARE);
963
       MENU_BACK(MSG_PREPARE);
964
       #if HOTENDS == 1
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
       #else
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
         #if HOTENDS > 2
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
           #if HOTENDS > 3
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
           #endif
973
           #endif
974
         #endif
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
       #endif
976
       #endif
977
       #if TEMP_SENSOR_BED != 0
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
       #endif
979
       #endif
980
       END_MENU();
980
       END_MENU();
981
     }
981
     }
982
 
982
 
983
-    void lcd_preheat_abs_menu() {
983
+    void lcd_preheat_material2_menu() {
984
       START_MENU();
984
       START_MENU();
985
       MENU_BACK(MSG_PREPARE);
985
       MENU_BACK(MSG_PREPARE);
986
       #if HOTENDS == 1
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
       #else
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
         #if HOTENDS > 2
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
           #if HOTENDS > 3
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
           #endif
995
           #endif
996
         #endif
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
       #endif
998
       #endif
999
       #if TEMP_SENSOR_BED != 0
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
       #endif
1001
       #endif
1002
       END_MENU();
1002
       END_MENU();
1003
     }
1003
     }
1273
     //
1273
     //
1274
     #if TEMP_SENSOR_0 != 0
1274
     #if TEMP_SENSOR_0 != 0
1275
       #if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 || TEMP_SENSOR_3 != 0 || TEMP_SENSOR_BED != 0
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
       #else
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
       #endif
1281
       #endif
1282
     #endif
1282
     #endif
1283
 
1283
 
1776
     #endif //PIDTEMP
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
     END_MENU();
1787
     END_MENU();
1788
   }
1788
   }
1789
 
1789
 
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
   void _reset_acceleration_rates() { planner.reset_acceleration_rates(); }
1820
   void _reset_acceleration_rates() { planner.reset_acceleration_rates(); }
1821
   void _planner_refresh_positioning() { planner.refresh_positioning(); }
1821
   void _planner_refresh_positioning() { planner.refresh_positioning(); }

Notiek ielāde…
Atcelt
Saglabāt