from Cura.util import gcodeGenerator
from Cura.util.resources import getPathForImage
+
class InfoBox(wx.Panel):
def __init__(self, parent):
super(InfoBox, self).__init__(parent)
def OnOtherSelect(self, e):
wx.wizard.WizardPageSimple.Chain(self, self.GetParent().repRapInfoPage)
+ def AllowNext(self):
+ wx.wizard.WizardPageSimple.Chain(self, self.GetParent().ultimaker2ReadyPage)
+ return True
+
def StoreData(self):
if self.Ultimaker2Radio.GetValue():
profile.putMachineSetting('machine_width', '230')
else:
profile.putPreference('submit_slice_information', 'False')
+
class SelectParts(InfoPage):
def __init__(self, parent):
super(SelectParts, self).__init__(parent, _("Select upgraded parts you have"))
self.ultimaker2ReadyPage = Ultimaker2ReadyPage(self)
wx.wizard.WizardPageSimple.Chain(self.firstInfoPage, self.machineSelectPage)
- wx.wizard.WizardPageSimple.Chain(self.machineSelectPage, self.ultimaker2ReadyPage)
+ #wx.wizard.WizardPageSimple.Chain(self.machineSelectPage, self.ultimaker2ReadyPage)
+ wx.wizard.WizardPageSimple.Chain(self.machineSelectPage, self.ultimakerSelectParts)
wx.wizard.WizardPageSimple.Chain(self.ultimakerSelectParts, self.ultimakerFirmwareUpgradePage)
wx.wizard.WizardPageSimple.Chain(self.ultimakerFirmwareUpgradePage, self.ultimakerCheckupPage)
wx.wizard.WizardPageSimple.Chain(self.ultimakerCheckupPage, self.bedLevelPage)