return
self.currentZ = -1
if self.cam is not None and self.timelapsEnable.GetValue():
- self.cam.startTimelapse(self.filename[: self.filename.rfind('.')] + ".mpg")
+ self.cam.startTimelapse("c:/models/temp.mpg")
self.machineCom.printGCode(self.gcodeList)
self.UpdateButtonStates()
if self._focusObj is None:
return
obj = self._focusObj
- dlg = wx.NumberEntryDialog(self, "How many items do you want?", "Copies", "Multiply", 2, 1, 100)
+ dlg = wx.NumberEntryDialog(self, "How many copies do you want?", "Copies", "Multiply", 1, 1, 100)
if dlg.ShowModal() != wx.ID_OK:
dlg.Destroy()
return
- cnt = dlg.GetValue() - 1
+ cnt = dlg.GetValue()
dlg.Destroy()
n = 0
while True:
if n > cnt:
break
if n <= cnt:
- self.notification.message("Could not create more then %d items" % (n))
+ self.notification.message("Could not create more then %d items" % (n - 1))
self._scene.remove(newObj)
self._scene.centerAll()
self.sceneUpdated()