chiark / gitweb /
Add slice toolbar button to project planner.
authordaid <daid303@gmail.com>
Thu, 10 May 2012 11:59:52 +0000 (13:59 +0200)
committerdaid <daid303@gmail.com>
Thu, 10 May 2012 11:59:52 +0000 (13:59 +0200)
Cura/gui/projectPlanner.py
Cura/images/slice.png [new file with mode: 0644]

index aae4681c5c5a6b6ebbcd9e9152b19267e753f2bd..67958a111681e4205fa2a67c5c05989cb7b5856d 100644 (file)
@@ -181,10 +181,13 @@ class projectPlanner(wx.Frame):
                self.toolbar2 = toolbarUtil.Toolbar(self)\r
                toolbarUtil.NormalButton(self.toolbar2, self.OnAddModel, 'object-add.png', 'Add model')\r
                toolbarUtil.NormalButton(self.toolbar2, self.OnRemModel, 'object-remove.png', 'Remove model')\r
+               self.toolbar2.AddSeparator()\r
                toolbarUtil.NormalButton(self.toolbar2, self.OnMoveUp, 'move-up.png', 'Move model up in print list')\r
                toolbarUtil.NormalButton(self.toolbar2, self.OnMoveDown, 'move-down.png', 'Move model down in print list')\r
                toolbarUtil.NormalButton(self.toolbar2, self.OnCopy, 'copy.png', 'Make a copy of the current selected object')\r
+               self.toolbar2.AddSeparator()\r
                toolbarUtil.NormalButton(self.toolbar2, self.OnAutoPlace, 'autoplace.png', 'Automaticly organize the objects on the platform.')\r
+               toolbarUtil.NormalButton(self.toolbar2, self.OnSlice, 'slice.png', 'Slice to project into a gcode file.')\r
                self.toolbar2.Realize()\r
                \r
                sizer = wx.GridBagSizer(2,2)\r
diff --git a/Cura/images/slice.png b/Cura/images/slice.png
new file mode 100644 (file)
index 0000000..e217245
Binary files /dev/null and b/Cura/images/slice.png differ