+class LulzbotTaz6SelectPage(InfoPage):
+ def __init__(self, parent):
+ super(LulzbotTaz6SelectPage, self).__init__(parent, _("LulzBot TAZ 6 Selection"))
+
+ self.panel = self.AddPanel()
+ image_size=(LulzbotMachineSelectPage.IMAGE_WIDTH, LulzbotMachineSelectPage.IMAGE_HEIGHT)
+ self.taz6 = self.AddImageButton(self.panel, 0, 0, _('Tilapia'),
+ 'Lulzbot_Toolhead_TAZ_Tilapia.jpg', image_size,
+ style=ImageButton.IB_GROUP)
+ self.taz6.OnSelected(self.OnTilapiaSelected)
+ self.taz6.SetValue(True)
+
+ def OnPageShown(self):
+ self.taz6.TriggerGroupCallbacks()
+
+ def OnTilapiaSelected(self):
+ wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotReadyPage)
+
+ def StoreData(self):
+ profile.putProfileSetting('nozzle_size', '0.5')
+ profile.putMachineSetting('extruder_amount', '1')
+ profile.putMachineSetting('toolhead', 'Single Extruder Tilapia')
+ profile.putMachineSetting('toolhead_shortname', 'Tilapia')
+ profile.putMachineSetting('machine_type', 'lulzbot_TAZ_6_Single_Tilapia')
+ profile.putMachineSetting('machine_name', 'LulzBot TAZ 6')