chiark / gitweb /
Set machine dimensions
authornickthetait <tait@alephobjects.com>
Mon, 23 Nov 2015 18:07:07 +0000 (11:07 -0700)
committernickthetait <tait@alephobjects.com>
Mon, 11 Jan 2016 15:37:18 +0000 (08:37 -0700)
Cura/gui/configWizard.py
Cura/util/profile.py

index 4d230336d2fc7c2fe776801af64fe1f47f0c69d4..9a6b1a73e51da1d686d2cc60f2e2b3a837febbae 100644 (file)
@@ -1544,7 +1544,8 @@ class LulzbotChangeToolheadWizard(wx.wizard.Wizard):
 
                if profile.getMachineSetting('machine_type').startswith('lulzbot_mini'):
                        self.RunWizard(self.lulzbotMiniToolheadPage)
-               elif profile.getMachineSetting('machine_type').startswith('lulzbot_TAZ_5'):
+               elif profile.getMachineSetting('machine_type').startswith('lulzbot_TAZ_5') or /
+                     profile.getMachineSetting('machine_type').startswith('lulzbot_TAZ_4'):
                        self.RunWizard(self.lulzbotTazHotendPage)
                elif profile.getMachineSetting('machine_type').startswith('lulzbot_TAZ_6'):
                        self.RunWizard(self.lulzbotTaz6ToolheadPage)
index d170dc71d4730fbd24ec815d3aa804520578f7b3..f830b3906c7e549a2de8eab5a2e430c4293a8092 100644 (file)
@@ -1213,8 +1213,7 @@ def calculateObjectSizeOffsets():
 def getMachineCenterCoords():
        if getMachineSetting('machine_center_is_zero') == 'True':
                return [0, 0]
-       elif getMachineSetting('machine_type') == 'lulzbot_mini' or \
-                getMachineSetting('machine_type') == 'lulzbot_TAZ_6':
+       elif getMachineSetting('machine_type') == 'lulzbot_mini':
                return [(getMachineSettingFloat('machine_width') / 2) + 2.5,
                            (getMachineSettingFloat('machine_width') / 2) + 0.5]
        return [getMachineSettingFloat('machine_width') / 2, getMachineSettingFloat('machine_depth') / 2]