chiark / gitweb /
Do not change mini gantry settings in version upgrade
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 26 Jun 2015 18:04:04 +0000 (14:04 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 26 Jun 2015 18:04:04 +0000 (14:04 -0400)
This is because the print-one-at-a-time feature is incomplete
and has been temporarily disabled

Cura/util/profile.py

index 733a953746559a5dc7acd9b82bb994cf171d698e..8cb87ba508cb06b7e2d2cf3303ced4984b742d33 100644 (file)
@@ -1359,22 +1359,4 @@ def getAlterationFileContents(filename, extruderCount = 1):
        return unicode(prefix + re.sub("(.)\{([^\}]*)\}", replaceTagMatch, alterationContents).rstrip() + '\n' + postfix).strip().encode('utf-8') + '\n'
 
 def performVersionUpgrade():
-       for n in xrange(0, getMachineCount()):
-               # This is a hack around an issue where the machine type in the wizard
-               # changed and causes some people to have it set to lulzbot_TAZ and some
-               # people have it set to lulzbot_TAZ_4.
-               if getMachineSetting('machine_type', n) == 'lulzbot_TAZ':
-                       putMachineSetting('machine_type', 'lulzbot_TAZ_4', n)
-
-               # Upgrade gantry settings for Lulzbot Mini if untouched by user
-               if getMachineSetting('machine_type', n) == 'lulzbot_mini' and \
-                  getMachineSetting('extruder_head_size_min_x', n) == '0.0' and \
-                  getMachineSetting('extruder_head_size_max_x', n) == '0.0' and \
-                  getMachineSetting('extruder_head_size_min_y', n) == '0.0' and \
-                  getMachineSetting('extruder_head_size_max_y', n) == '0.0' and \
-                  getMachineSetting('extruder_head_size_height', n) == '0.0':
-                       putMachineSetting('extruder_head_size_min_x', '40', n)
-                       putMachineSetting('extruder_head_size_max_x', '75', n)
-                       putMachineSetting('extruder_head_size_min_y', '25', n)
-                       putMachineSetting('extruder_head_size_max_y', '55', n)
-                       putMachineSetting('extruder_head_size_height', '17', n)
+       pass