chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
22ec6e7
)
Separate Taz5 into its own config page.
author
nickthetait
<tait@alephobjects.com>
Wed, 20 May 2015 17:31:38 +0000
(11:31 -0600)
committer
nickthetait
<tait@alephobjects.com>
Tue, 2 Jun 2015 18:34:07 +0000
(12:34 -0600)
Cura/gui/configWizard.py
patch
|
blob
|
history
diff --git
a/Cura/gui/configWizard.py
b/Cura/gui/configWizard.py
index 09436ad79167e65b48927ee2b51819c824c3caf0..fedd0b933da9a0a709dc73263b04d1c40d0deabd 100644
(file)
--- a/
Cura/gui/configWizard.py
+++ b/
Cura/gui/configWizard.py
@@
-386,7
+386,7
@@
class MachineSelectPage(InfoPage):
self.LulzbotMiniRadio.Bind(wx.EVT_RADIOBUTTON, self.OnLulzbotSelect)
self.LulzbotMiniRadio.SetValue(True)
self.LulzbotTaz5Radio = self.AddRadioButton("LulzBot TAZ 5")
self.LulzbotMiniRadio.Bind(wx.EVT_RADIOBUTTON, self.OnLulzbotSelect)
self.LulzbotMiniRadio.SetValue(True)
self.LulzbotTaz5Radio = self.AddRadioButton("LulzBot TAZ 5")
- self.LulzbotTaz5Radio.Bind(wx.EVT_RADIOBUTTON, self.On
Lulzbot
Select)
+ self.LulzbotTaz5Radio.Bind(wx.EVT_RADIOBUTTON, self.On
Taz5
Select)
self.LulzbotTaz4Radio = self.AddRadioButton("LulzBot TAZ 4")
self.LulzbotTaz4Radio.Bind(wx.EVT_RADIOBUTTON, self.OnLulzbotSelect)
self.Ultimaker2Radio = self.AddRadioButton("Ultimaker2")
self.LulzbotTaz4Radio = self.AddRadioButton("LulzBot TAZ 4")
self.LulzbotTaz4Radio.Bind(wx.EVT_RADIOBUTTON, self.OnLulzbotSelect)
self.Ultimaker2Radio = self.AddRadioButton("Ultimaker2")
@@
-419,6
+419,9
@@
class MachineSelectPage(InfoPage):
def OnLulzbotSelect(self, e):
wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotReadyPage)
def OnLulzbotSelect(self, e):
wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotReadyPage)
+ def OnTaz5Select(self, e):
+ wx.wizard.WizardPageSimple.Chain(self, self.GetParent().taz5NozzleSelectPage)
+
def OnOtherSelect(self, e):
wx.wizard.WizardPageSimple.Chain(self, self.GetParent().otherMachineSelectPage)
def OnOtherSelect(self, e):
wx.wizard.WizardPageSimple.Chain(self, self.GetParent().otherMachineSelectPage)
@@
-1001,12
+1004,18
@@
class Ultimaker2ReadyPage(InfoPage):
class LulzbotReadyPage(InfoPage):
def __init__(self, parent):
class LulzbotReadyPage(InfoPage):
def __init__(self, parent):
- super(LulzbotReadyPage, self).__init__(parent, _("LulzBot TAZ/Mini"))
+ super(LulzbotReadyPage, self).__init__(parent, _("LulzBot TAZ
4
/Mini"))
self.AddText(_('Cura is now ready to be used with your LulzBot 3D printer.'))
self.AddSeperator()
self.AddText(_('For more information about using Cura with your LulzBot'))
self.AddText(_('3D printer, please visit www.LulzBot.com/cura'))
self.AddSeperator()
self.AddText(_('Cura is now ready to be used with your LulzBot 3D printer.'))
self.AddSeperator()
self.AddText(_('For more information about using Cura with your LulzBot'))
self.AddText(_('3D printer, please visit www.LulzBot.com/cura'))
self.AddSeperator()
+
+class Taz5NozzleSelectPage(InfoPage):
+ def __init__(self, parent):
+ super(Taz5NozzleSelectPage, self).__init__(parent, _("LulzBot TAZ5"))
+ self.AddText(_('Please select nozzle size:'))
+ self.AddSeperator()
class ConfigWizard(wx.wizard.Wizard):
def __init__(self, addNew = False):
class ConfigWizard(wx.wizard.Wizard):
def __init__(self, addNew = False):
@@
-1035,6
+1044,7
@@
class ConfigWizard(wx.wizard.Wizard):
self.ultimaker2ReadyPage = Ultimaker2ReadyPage(self)
self.lulzbotReadyPage = LulzbotReadyPage(self)
self.ultimaker2ReadyPage = Ultimaker2ReadyPage(self)
self.lulzbotReadyPage = LulzbotReadyPage(self)
+ self.taz5NozzleSelectPage = Taz5NozzleSelectPage(self)
#wx.wizard.WizardPageSimple.Chain(self.machineSelectPage, self.ultimaker2ReadyPage)
wx.wizard.WizardPageSimple.Chain(self.machineSelectPage, self.ultimakerSelectParts)
#wx.wizard.WizardPageSimple.Chain(self.machineSelectPage, self.ultimaker2ReadyPage)
wx.wizard.WizardPageSimple.Chain(self.machineSelectPage, self.ultimakerSelectParts)