Commit 31316372 authored by Skateboss's avatar Skateboss

Edited pronterface.py via GitHub

parent af977d46
...@@ -1023,7 +1023,13 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -1023,7 +1023,13 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
threading.Thread(target=self.loadviz).start() threading.Thread(target=self.loadviz).start()
def loadviz(self): def loadviz(self):
print pronsole.totalelength(self.f), _("mm of filament used in this print") Xtot,Ytot,Ztot = pronsole.measurements(self.f)
Xmin,Xmax,Ymin,Ymax,Zmin,Zmax = pronsole.minmaxpoints(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")
print ("the print goes from"),_(Ymin),("mm to"),_(Ymax),("mm in Y\nand is"),_(Ytot),("mm wide\n")
print ("the print goes from"),_(Zmin),("mm to"),_(Zmax),("mm in Z\nand is"),_(Ztot),("mm high\n")
self.gviz.clear() self.gviz.clear()
self.gwindow.p.clear() self.gwindow.p.clear()
for i in self.f: for i in self.f:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment