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,circular=root.settings.circular_bed)
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,circular=root.settings.circular_bed,antialias_samples=int(root.settings.antialias3dsamples))
except:
use3dview=False
print"3D view mode requested, but we failed to initialize it."
@@ -798,7 +798,8 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
self.settings._add(BooleanSetting("slic3rupdate",False,_("Update Slic3r default presets"),_("When selecting a profile in Slic3r integration menu, also save it as the default Slic3r preset"),"UI"))
self.settings._add(ComboSetting("mainviz","2D",["2D","3D","None"],_("Main visualization"),_("Select visualization for main window."),"UI"),self.reload_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.reload_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("light3d",True,_("Use a lighter 3D visualization"),_("Use a lighter visualization with simple lines instead of extruded paths for 3D viewer"),"UI"),self.reload_ui)
self.settings._add(ComboSetting("antialias3dsamples","0",["0","2","4","8"],_("Number of anti-aliasing samples"),_("Amount of anti-aliasing samples used in the 3D viewer"),"UI"),self.reload_ui)
self.settings._add(BooleanSetting("trackcurrentlayer3d",False,_("Track current layer in main 3D view"),_("Track the currently printing layer in the main 3D visualization"),"UI"))
self.settings._add(BooleanSetting("tempgraph",True,_("Display temperature graph"),_("Display time-lapse temperature graph"),"UI"),self.reload_ui)
self.settings._add(BooleanSetting("tempgauges",False,_("Display temperature gauges"),_("Display graphical gauges for temperatures visualization"),"UI"),self.reload_ui)