chiark / gitweb /
Preparing to split out nozzle sizes. Clearly I'm doing something wrong. This does...
authornickthetait <tait@alephobjects.com>
Wed, 27 May 2015 14:09:15 +0000 (08:09 -0600)
committernickthetait <tait@alephobjects.com>
Tue, 2 Jun 2015 18:34:07 +0000 (12:34 -0600)
Cura/gui/configWizard.py
Cura/util/settings/__init__.py
Cura/util/settings/lulzbotTAZ5_nozzle35.py [new file with mode: 0644]
Cura/util/simpleModeSettings.py

index a78fb50fe786b12942702a48cff1c411377bdc6c..36c5d9c1b5268150aeb2bf62844b4607b5101214 100644 (file)
@@ -1038,21 +1038,12 @@ class Taz5NozzleSelectPage(InfoPage):
                        profile.putProfileSetting('nozzle_size', '0.5')
                        profile.putMachineSetting('machine_name', 'LulzBot TAZ 5 (0.5 nozzle)')
                        #TODO: Use new profiles
+                       
        
        def OnPageChanging(self, e):
                e.GetPage().StoreData()
 
-#      def OnPageChanged(self, e):
-#              if e.GetPage().AllowNext():
-#                      self.FindWindowById(wx.ID_FORWARD).Enable()
-#              else:
-#                      self.FindWindowById(wx.ID_FORWARD).Disable()
-#              if e.GetPage().AllowBack():
-#                      self.FindWindowById(wx.ID_BACKWARD).Enable()
-#              else:
-#                      self.FindWindowById(wx.ID_BACKWARD).Disable()
-
-       def OnCancel(self, e): #TODO: this is not being triggered
+       def OnCancel(self, e):
                profile.setActiveMachine(self._old_machine_index)
 
 class ConfigWizard(wx.wizard.Wizard):
@@ -1092,6 +1083,8 @@ class ConfigWizard(wx.wizard.Wizard):
                #wx.wizard.WizardPageSimple.Chain(self.ultimakerCalibrationPage, self.ultimakerCalibrateStepsPerEPage)
                wx.wizard.WizardPageSimple.Chain(self.printrbotSelectType, self.otherMachineInfoPage)
                wx.wizard.WizardPageSimple.Chain(self.otherMachineSelectPage, self.customRepRapInfoPage)
+               wx.wizard.WizardPageSimple.Chain(self.machineSelectPage, self.taz5NozzleSelectPage)
+               wx.wizard.WizardPageSimple.Chain(self.taz5NozzleSelectPage, self.lulzbotReadyPage)
 
                self.FitToPage(self.machineSelectPage)
                self.GetPageAreaSizer().Add(self.machineSelectPage)
index a4aa91e0189a75287a30150f9f4b959a14e26319..b6700a059719b3017926178351185749ec5c296f 100644 (file)
@@ -1,3 +1,3 @@
 from lulzbotMini import lulzbot_mini_settings
 from lulzbotTAZ4 import lulzbot_taz4_settings
-from lulzbotTAZ5 import lulzbot_taz5_settings
+from lulzbotTAZ5_nozzle35 import lulzbot_taz5_nozzle35_settings
diff --git a/Cura/util/settings/lulzbotTAZ5_nozzle35.py b/Cura/util/settings/lulzbotTAZ5_nozzle35.py
new file mode 100644 (file)
index 0000000..a04445b
--- /dev/null
@@ -0,0 +1,75 @@
+hips_low_settings = [('infill_speed', '70'),
+                                        ('inset0_speed', '40'),
+                                        ('insetx_speed', '45')]
+hips_normal_settings = [('infill_speed', '50'),
+                                               ('inset0_speed', '30'),
+                                               ('insetx_speed', '35')]
+hips_high_settings = [('infill_speed', '30'),
+                                         ('inset0_speed', '20'),
+                                         ('insetx_speed', '25')]
+
+abs_low_settings = [('infill_speed', '60'),
+                                       ('inset0_speed', '50'),
+                                       ('insetx_speed', '55'),
+                                       ('cool_min_layer_time', '15')]
+abs_normal_settings = [('infill_speed', '55'),
+                                          ('inset0_speed', '45'),
+                                          ('insetx_speed', '50'),
+                                          ('cool_min_layer_time', '15')]
+abs_high_settings = [('infill_speed', '40'),
+                                        ('inset0_speed', '30'),
+                                        ('insetx_speed', '35'),
+                                        ('cool_min_layer_time', '20')]
+
+pla_low_settings = [('infill_speed', '80'),
+                                       ('inset0_speed', '60'),
+                                       ('insetx_speed', '70'),
+                                       ('cool_min_layer_time', '15'),
+                                       ('cool_min_feedrate', '15')]
+pla_normal_settings = [('infill_speed', '60'),
+                                          ('inset0_speed', '50'),
+                                          ('insetx_speed', '55'),
+                                          ('cool_min_layer_time', '15'),
+                                          ('cool_min_feedrate', '10')]
+pla_high_settings = [('infill_speed', '50'),
+                                        ('inset0_speed', '40'),
+                                        ('insetx_speed', '45'),
+                                        ('cool_min_layer_time', '20'),
+                                        ('cool_min_feedrate', '5')]
+
+# LulzBot TAZ 5 slice settings for use with the simple slice selection.
+lulzbot_taz5_nozzle35_settings = [{'Ini': 'taz5_nozzle35'},
+                                                {'Material': '1_hips', 'Profile': '1_low',
+                                                 'Settings': hips_low_settings},
+                                                {'Material': '1_hips', 'Profile': '2_normal',
+                                                 'Settings': hips_normal_settings},
+                                                {'Material': '1_hips', 'Profile': '3_high',
+                                                 'Settings': hips_high_settings},
+
+                                                {'Material': '2_abs', 'Profile': '1_low',
+                                                 'Settings': abs_low_settings},
+                                                {'Material': '2_abs', 'Profile': '2_normal',
+                                                 'Settings': abs_normal_settings},
+                                                {'Material': '2_abs', 'Profile': '3_high',
+                                                 'Settings': abs_high_settings},
+
+                                                {'Material': '3_pla', 'Profile': '1_low',
+                                                 'Settings': pla_low_settings},
+                                                {'Material': '3_pla', 'Profile': '2_normal',
+                                                 'Settings': pla_normal_settings},
+                                                {'Material': '3_pla', 'Profile': '3_high',
+                                                 'Settings': pla_high_settings},
+
+                                                {'Profile': '2_normal',
+                                                 'Settings': [('layer_height', '0.22'),
+                                                                          ('solid_layer_thickness', '0.88')]},
+                                                {'Material': '3_pla', 'Profile': '2_normal',
+                                                 'Settings': [('layer_height', '0.21'),
+                                                                          ('solid_layer_thickness', '0.84')]},
+
+                                                {'Profile': '3_high',
+                                                 'Settings': [('layer_height', '0.14'),
+                                                                          ('solid_layer_thickness', '0.7')]},
+                                                {'Material': '2_abs', 'Profile': '3_high',
+                                                 'Settings': [('layer_height', '0.16'),
+                                                                          ('solid_layer_thickness', '0.74')]}]
index 4b97755a8cbe7cc5e9d6788e0dc06c53b44f389d..dd0349d9034cf7f6be9d557b7fd91d7a2a0a225a 100644 (file)
@@ -1,6 +1,6 @@
 from Cura.util.settings import lulzbot_mini_settings, \
                lulzbot_taz4_settings, \
-               lulzbot_taz5_settings
+               lulzbot_taz5_nozzle35_settings
 
 import ConfigParser as configparser
 from Cura.util import profile
@@ -44,7 +44,7 @@ class SimpleModeSettings(object):
 
        settings = {"lulzbot_mini": lulzbot_mini_settings,
                                "lulzbot_TAZ_4": lulzbot_taz4_settings,
-                               "lulzbot_TAZ_5": lulzbot_taz5_settings,
+                               "lulzbot_TAZ_5_nozzle35": lulzbot_taz5_nozzle35_settings,
                                None: {}}