chiark / gitweb /
Add temperature settings for nozzles 2 to 4.
authordaid303 <daid303@gmail.com>
Fri, 15 Mar 2013 09:15:25 +0000 (10:15 +0100)
committerdaid303 <daid303@gmail.com>
Fri, 15 Mar 2013 09:15:25 +0000 (10:15 +0100)
Cura/gui/mainWindow.py

index c95078321561737c373d8dbe2ae6347ecc7003c8..915c84278ce633d804fc6f0534eb96a3a870f7ee 100644 (file)
@@ -567,6 +567,18 @@ class normalSettingsPanel(configBase.configPanelBase):
                c = configBase.SettingRow(right, "Printing temperature", 'print_temperature', '0', 'Temperature used for printing. Set at 0 to pre-heat yourself')
                validators.validFloat(c, 0.0, 340.0)
                validators.warningAbove(c, 260.0, "Temperatures above 260C could damage your machine, be careful!")
+               if int(profile.getPreference('extruder_amount')) > 1:
+                       c = configBase.SettingRow(right, "2nd nozzle temperature", 'print_temperature2', '0', 'Temperature used for printing with the 2nd nozzle. Set at 0 to use the same temperature as for nozzle 1')
+                       validators.validFloat(c, 0.0, 340.0)
+                       validators.warningAbove(c, 260.0, "Temperatures above 260C could damage your machine, be careful!")
+               if int(profile.getPreference('extruder_amount')) > 2:
+                       c = configBase.SettingRow(right, "3th nozzle temperature", 'print_temperature3', '0', 'Temperature used for printing with the 3th nozzle. Set at 0 to use the same temperature as for nozzle 1')
+                       validators.validFloat(c, 0.0, 340.0)
+                       validators.warningAbove(c, 260.0, "Temperatures above 260C could damage your machine, be careful!")
+               if int(profile.getPreference('extruder_amount')) > 3:
+                       c = configBase.SettingRow(right, "4th nozzle temperature", 'print_temperature4', '0', 'Temperature used for printing with the 4th nozzle. Set at 0 to use the same temperature as for nozzle 1')
+                       validators.validFloat(c, 0.0, 340.0)
+                       validators.warningAbove(c, 260.0, "Temperatures above 260C could damage your machine, be careful!")
                if profile.getPreference('has_heated_bed') == 'True':
                        c = configBase.SettingRow(right, "Bed temperature", 'print_bed_temperature', '0', 'Temperature used for the heated printer bed. Set at 0 to pre-heat yourself')
                        validators.validFloat(c, 0.0, 340.0)