self.AddText('To assist you in having better default settings for your Ultimaker\nCura would like to know which upgrades you have in your machine.')
self.AddSeperator()
self.springExtruder = self.AddCheckbox('Extruder drive upgrade')
- self.heatedBed = self.AddCheckbox('Heated printer bed (self build)')
+ self.heatedBed = self.AddCheckbox('Heated printer bed (self built)')
self.dualExtrusion = self.AddCheckbox('Dual extrusion (experimental)')
self.AddSeperator()
- self.AddText('If you have an Ultimaker bought after october 2012 you will have the\nExtruder drive upgrade. If you do not have this upgrade,\nit is highly recommended to improve reliablity.')
- self.AddText('This upgrade can be bought from the Ultimaker webshop shop\nor found on thingiverse as thing:26094')
+ self.AddText('If you have an Ultimaker bought after october 2012 you will have the\nExtruder drive upgrade. If you do not have this upgrade,\nit is highly recommended to improve reliability.')
+ self.AddText('This upgrade can be bought from the Ultimaker webshop\nor found on thingiverse as thing:26094')
self.springExtruder.SetValue(True)
def StoreData(self):
if self.comm.isOperational():
if self._wizardState == 0:
wx.CallAfter(self.infoBox.SetInfo, 'Homing printer...')
+ self.comm.sendCommand('M105')
self.comm.sendCommand('G28')
self._wizardState = 1
elif self._wizardState == 10 and not self.comm.isPrinting():
for pluginTest in self.pluginList:
if pluginTest['filename'] == pluginConfig['filename']:
plugin = pluginTest
- if plugin == None:
+ if plugin is None:
return False
pluginPanel = wx.Panel(self.pluginEnabledPanel)
def OnAdd(self, e):
if self.listbox.GetSelection() < 0:
+ wx.MessageBox('You need to select a plugin before you can add anything.', 'Error: no plugin selected', wx.OK | wx.ICON_INFORMATION)
return
plugin = self.pluginList[self.listbox.GetSelection()]
newConfig = {'filename': plugin['filename'], 'params': {}}
self.OnMouseMotion(e)
def _OnGuiPaint(self, e):
+ h = self.GetSize().GetHeight()
+ w = self.GetSize().GetWidth()
+ if h / 3 > w / 4:
+ w = h * 4 / 3
+ if w < 64 * 10:
+ self._buttonSize = 48
+ elif w < 64 * 15:
+ self._buttonSize = 64
+ elif w < 64 * 20:
+ self._buttonSize = 80
+ else:
+ self._buttonSize = 96
+
dc = wx.PaintDC(self)
self.SetCurrent(self._context)
self.OnPaint(e)
#############################
if [ "$BUILD_TARGET" = "darwin" ]; then
+ TARGET_DIR=Cura-${BUILD_NAME}-MacOS
+
rm -rf scripts/darwin/build
rm -rf scripts/darwin/dist