condensed measurements code.

master
Skateboss 2011-08-27 09:15:22 +02:00
parent 4f8cffd9b0
commit d01621d5e5
1 changed files with 1 additions and 2 deletions

View File

@ -1023,8 +1023,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
threading.Thread(target=self.loadviz).start()
def loadviz(self):
Xtot,Ytot,Ztot = pronsole.measurements(self.f)
Xmin,Xmax,Ymin,Ymax,Zmin,Zmax = pronsole.minmaxpoints(self.f)
Xtot,Ytot,Ztot,Xmin,Xmax,Ymin,Ymax,Zmin,Zmax = pronsole.measurements(self.f)
print pronsole.totalelength(self.f), _("mm of filament used in this print\n")
Xtot,Ytot,Ztot= pronsole.measurements(self.f)
print ("the print goes from"),_(Xmin),("mm to"),_(Xmax),("mm in X\nand is"),_(Xtot),("mm wide\n")