root.gwindow=printrun.gcview.GcodeViewFrame(None,wx.ID_ANY,'Gcode view, shift to move view, mousewheel to set layer',size=(600,600),build_dimensions=root.build_dimensions_list,objects=objects)
root.gwindow=printrun.gcview.GcodeViewFrame(None,wx.ID_ANY,'Gcode view, shift to move view, mousewheel to set layer',size=(600,600),build_dimensions=root.build_dimensions_list,objects=objects,root=root)
except:
use3dview=False
print"3D view mode requested, but we failed to initialize it."
@@ -203,6 +204,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self.settings._add(BooleanSetting("slic3rintegration",False,_("Enable Slic3r integration"),_("Add a menu to select Slic3r profiles directly from Pronterface"),"UI"))
self.settings._add(ComboSetting("mainviz","2D",["2D","3D","None"],_("Main visualization"),_("Select visualization for main window."),"UI"))
self.settings._add(BooleanSetting("viz3d",False,_("Use 3D in GCode viewer window"),_("Use 3D mode instead of 2D layered mode in the visualization window"),"UI"))
self.settings._add(BooleanSetting("light3d",True,_("Use a lighter 3D visualization"),_("Use a lighter visualization with simple lines instead of extruded paths for 3D viewer"),"UI"))
self.settings._add(BooleanSetting("tempgraph",True,_("Display temperature graph"),_("Display time-lapse temperature graph"),"UI"))
self.settings._add(BooleanSetting("tempgauges",False,_("Display temperature gauges"),_("Display graphical gauges for temperatures visualization"),"UI"))
self.settings._add(BooleanSetting("lockbox",False,_("Display interface lock checkbox"),_("Display a checkbox that, when check, locks most of Pronterface"),"UI"))
...
...
@@ -373,6 +375,9 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self.connectbtn.SetToolTip(wx.ToolTip("Disconnect from the printer"))