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)
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)
except:
use3dview=False
print"3D view mode requested, but we failed to initialize it."