chiark / gitweb /
Re-enable print one at a time options and set Mini gantry settings
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 22 May 2015 21:58:04 +0000 (17:58 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 22 May 2015 21:58:04 +0000 (17:58 -0400)
This fixes issue #104

Cura/gui/configWizard.py
Cura/gui/mainWindow.py

index 4ca47cba7cb35d1dfe62618b4eaafc71497a000a..09436ad79167e65b48927ee2b51819c824c3caf0 100644 (file)
@@ -517,6 +517,12 @@ class MachineSelectPage(InfoPage):
                                profile.putMachineSetting('machine_name', 'LulzBot Mini')
                                profile.putMachineSetting('machine_type', 'lulzbot_mini')
                                profile.putMachineSetting('serial_baud', '115200')
+                               profile.putMachineSetting('extruder_head_size_min_x', '40')
+                               profile.putMachineSetting('extruder_head_size_max_x', '75')
+                               profile.putMachineSetting('extruder_head_size_min_y', '25')
+                               profile.putMachineSetting('extruder_head_size_max_y', '55')
+                               profile.putMachineSetting('extruder_head_size_height', '17')
+
                        profile.putMachineSetting('machine_center_is_zero', 'False')
                        profile.putMachineSetting('gcode_flavor', 'RepRap (Marlin/Sprinter)')
                        profile.putMachineSetting('has_heated_bed', 'True')
index 23f79c45f56dc0fef9f6df56d11597da130bcdc2..27223f21539b7615ac410a69c4594ff755a1a0d6 100644 (file)
@@ -384,11 +384,6 @@ class mainWindow(wx.Frame):
                   profile.getMachineSetting('machine_type').startswith('lulzbot_'):
                        self.bedLevelWizardMenuItem.Enable(False)
                        self.headOffsetWizardMenuItem.Enable(False)
-                       self.oneAtATime.Enable(False)
-                       self.allAtOnceItem.Check(True)
-                       # Force the gantry height to 0 so we don't get a "info: print one at a time re-enabled"
-                       # notification since we're disabling that option
-                       profile.putMachineSetting('extruder_head_size_height', '0.0')
                else:
                        self.bedLevelWizardMenuItem.Enable(True)
                        self.headOffsetWizardMenuItem.Enable(False)