@@ -808,13 +808,14 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
self.settings._add(ComboSetting("controlsmode","Standard",["Standard","Mini"],_("Controls mode"),_("Standard controls include all controls needed for printer setup and calibration, while Mini controls are limited to the ones needed for daily printing"),"UI"),self.reload_ui)
self.settings._add(BooleanSetting("slic3rintegration",False,_("Enable Slic3r integration"),_("Add a menu to select Slic3r profiles directly from Pronterface"),"UI"),self.reload_ui)
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"),"3D"),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"),"3D"),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"),"3D"))
self.settings._add(FloatSpinSetting("gcview_path_width",0.4,0.01,2,0.05,_("Extrusion width for 3D viewer"),_("Width of printed path in 3D viewer"),"3D"),self.update_gcview_params)
self.settings._add(FloatSpinSetting("gcview_path_height",0.3,0.01,2,0.05,_("Layer height for 3D viewer"),_("Height of printed path in 3D viewer"),"3D"),self.update_gcview_params)
self.settings._add(ComboSetting("mainviz","2D",["2D","3D","None"],_("Main visualization"),_("Select visualization for main window."),"Viewer"),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"),"Viewer"),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"),"Viewer"),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"),"Viewer"),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"),"Viewer"))
self.settings._add(FloatSpinSetting("gcview_path_width",0.4,0.01,2,_("Extrusion width for 3D viewer"),_("Width of printed path in 3D viewer"),"Viewer",increment=0.05),self.update_gcview_params)
self.settings._add(FloatSpinSetting("gcview_path_height",0.3,0.01,2,_("Layer height for 3D viewer"),_("Height of printed path in 3D viewer"),"Viewer",increment=0.05),self.update_gcview_params)
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)
self.settings._add(BooleanSetting("lockbox",False,_("Display interface lock checkbox"),_("Display a checkbox that, when check, locks most of Pronterface"),"UI"),self.reload_ui)
...
...
@@ -825,9 +826,10 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
self.settings._add(FloatSpinSetting("preview_extrusion_width",0.5,0,10,0.1,_("Preview extrusion width"),_("Width of Extrusion in Preview"),"UI"),self.update_gviz_params)
self.settings._add(FloatSpinSetting("preview_extrusion_width",0.5,0,10,_("Preview extrusion width"),_("Width of Extrusion in Preview"),"Viewer",increment=0.1),self.update_gviz_params)
self.settings._add(StringSetting("gcview_color_background","#FAFAC7FF",_("3D view background color"),_("Color of the 3D view background"),"Colors"),self.update_gcview_colors,validate=check_rgba_color)
self.settings._add(StringSetting("gcview_color_travel","#99999999",_("3D view travel moves color"),_("Color of travel moves in 3D view"),"Colors"),self.update_gcview_colors,validate=check_rgba_color)
...
...
@@ -839,7 +841,7 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
self.settings._add(StringSetting("gcview_color_printed","#33BF0099",_("3D view printed moves color"),_("Color of printed moves in 3D view"),"Colors"),self.update_gcview_colors,validate=check_rgba_color)
self.settings._add(StringSetting("gcview_color_current","#00E5FFCC",_("3D view current layer moves color"),_("Color of moves in current layer in 3D view"),"Colors"),self.update_gcview_colors,validate=check_rgba_color)
self.settings._add(StringSetting("gcview_color_current_printed","#196600CC",_("3D view printed current layer moves color"),_("Color of already printed moves from current layer in 3D view"),"Colors"),self.update_gcview_colors,validate=check_rgba_color)
self.settings._add(StaticTextSetting("note1",_("Note:"),_("Changing most settings here will require restart to get effect"),group="UI"))
self.settings._add(StaticTextSetting("note1",_("Note:"),_("Changing some of these settings might require a restart to get effect"),group="UI"))