Commit 7da8a713 authored by Guillaume Seguin's avatar Guillaume Seguin

Merge branch 'experimental' of github.com:iXce/Printrun into experimental

parents fd08509b eddb60dc
...@@ -35,7 +35,7 @@ from printrun.printrun_utils import pixmapfile ...@@ -35,7 +35,7 @@ from printrun.printrun_utils import pixmapfile
glview = False glview = False
if "-nogl" not in sys.argv: if "-nogl" not in sys.argv:
try: try:
import stlview from printrun import stlview
glview = True glview = True
except: except:
pass pass
......
...@@ -410,7 +410,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -410,7 +410,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
return baselist+glob.glob('/dev/ttyUSB*') + glob.glob('/dev/ttyACM*') +glob.glob("/dev/tty.*")+glob.glob("/dev/cu.*")+glob.glob("/dev/rfcomm*") return baselist+glob.glob('/dev/ttyUSB*') + glob.glob('/dev/ttyACM*') +glob.glob("/dev/tty.*")+glob.glob("/dev/cu.*")+glob.glob("/dev/rfcomm*")
def project(self,event): def project(self,event):
import projectlayer from printrun import projectlayer
if(self.p.online): if(self.p.online):
projectlayer.setframe(self,self.p).Show() projectlayer.setframe(self,self.p).Show()
else: else:
...@@ -794,7 +794,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -794,7 +794,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self.gviz.showall=1 self.gviz.showall=1
try: try:
raise "" raise ""
import stlview from printrun import stlview
self.gwindow=stlview.GCFrame(None, wx.ID_ANY, 'Gcode view, shift to move view, mousewheel to set layer', size=(600,600)) self.gwindow=stlview.GCFrame(None, wx.ID_ANY, 'Gcode view, shift to move view, mousewheel to set layer', size=(600,600))
except: except:
self.gwindow=gviz.window([], self.gwindow=gviz.window([],
......
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