chiark / gitweb /
Some small fixes suggested by Erik after testing.
authordaid303 <daid303@gmail.com>
Tue, 29 Jan 2013 08:38:46 +0000 (09:38 +0100)
committerdaid303 <daid303@gmail.com>
Tue, 29 Jan 2013 08:38:46 +0000 (09:38 +0100)
Cura/gui/configWizard.py
Cura/gui/pluginPanel.py
Cura/gui/util/openglGui.py
package.sh

index 5b007acdfb2a8db09e3a05e115f8dba14423c2d9..8e2871ed467b7a411a3bb936e56d9b3a76e5213b 100644 (file)
@@ -294,11 +294,11 @@ class SelectParts(InfoPage):
                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):
@@ -859,6 +859,7 @@ class bedLevelWizardMain(InfoPage):
                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():
index e816de8c37194180512f2cea7928754ce0226ebe..e665f14b2b0a04ca14df264cdafe0f1424cd2101 100644 (file)
@@ -69,7 +69,7 @@ class pluginPanel(wx.Panel):
                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)
@@ -127,6 +127,7 @@ class pluginPanel(wx.Panel):
        
        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': {}}
index 58db2535c1123e1cdf3110eb675e202a6490f8c7..ee1426db9d785d640c6ddf62369ae636d74106a4 100644 (file)
@@ -41,6 +41,19 @@ class glGuiPanel(glcanvas.GLCanvas):
                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)
index 5f601ab4d168b09830dc2d63f5cd95cdbfb793b9..cb1c1484054be0f61f797cad8658308c2885dcb5 100755 (executable)
@@ -90,6 +90,8 @@ fi
 #############################
 
 if [ "$BUILD_TARGET" = "darwin" ]; then
+    TARGET_DIR=Cura-${BUILD_NAME}-MacOS
+
        rm -rf scripts/darwin/build
        rm -rf scripts/darwin/dist