confirmation=wx.MessageDialog(None,_("Are you sure you want to reset the setting to the default value: {0!r} ?").format(self.default),_("Confirm set default"),wx.ICON_EXCLAMATION|wx.YES_NO|wx.NO_DEFAULT)
self._add(SpinSetting("bedtemp_abs",110,0,400,_("Bed temperature for ABS"),_("Heated Build Platform temp for ABS (default: 110 deg C)"),"Printer"))
self._add(SpinSetting("bedtemp_abs",110,0,400,_("Bed temperature for ABS"),_("Heated Build Platform temp for ABS (deg C)"),"Printer"))
self._add(SpinSetting("bedtemp_pla",60,0,400,_("Bed temperature for PLA"),_("Heated Build Platform temp for PLA (default: 60 deg C)"),"Printer"))
self._add(SpinSetting("bedtemp_pla",60,0,400,_("Bed temperature for PLA"),_("Heated Build Platform temp for PLA (deg C)"),"Printer"))
self._add(SpinSetting("temperature_abs",230,0,400,_("Extruder temperature for ABS"),_("Extruder temp for ABS (default: 230 deg C)"),"Printer"))
self._add(SpinSetting("temperature_abs",230,0,400,_("Extruder temperature for ABS"),_("Extruder temp for ABS (deg C)"),"Printer"))
self._add(SpinSetting("temperature_pla",185,0,400,_("Extruder temperature for PLA"),_("Extruder temp for PLA (default: 185 deg C)"),"Printer"))
self._add(SpinSetting("temperature_pla",185,0,400,_("Extruder temperature for PLA"),_("Extruder temp for PLA (deg C)"),"Printer"))
self._add(SpinSetting("xy_feedrate",3000,0,50000,_("X && Y manual feedrate"),_("Feedrate for Control Panel Moves in X and Y (default: 3000mm/min)"),"Printer"))
self._add(SpinSetting("xy_feedrate",3000,0,50000,_("X && Y manual feedrate"),_("Feedrate for Control Panel Moves in X and Y (mm/min)"),"Printer"))
self._add(SpinSetting("z_feedrate",200,0,50000,_("Z manual feedrate"),_("Feedrate for Control Panel Moves in Z (default: 200mm/min)"),"Printer"))
self._add(SpinSetting("z_feedrate",200,0,50000,_("Z manual feedrate"),_("Feedrate for Control Panel Moves in Z (mm/min)"),"Printer"))
self._add(SpinSetting("e_feedrate",100,0,1000,_("E manual feedrate"),_("Feedrate for Control Panel Moves in Extrusions (default: 300mm/min)"),"Printer"))
self._add(SpinSetting("e_feedrate",100,0,1000,_("E manual feedrate"),_("Feedrate for Control Panel Moves in Extrusions (mm/min)"),"Printer"))
self.settings._add(ComboSetting("uimode","Standard",["Standard","Compact","Tabbed"],_("Interface mode"),_("Standard interface is a one-page, three columns layout with controls/visualization/log\nCompact mode is a one-page, two columns layout with controls + log/visualization\nTabbed mode is a two-pages mode, where the first page shows controls and the second one shows visualization and log."),"UI"))
self.settings._add(ComboSetting("uimode","Standard",["Standard","Compact","Tabbed"],_("Interface mode"),_("Standard interface is a one-page, three columns layout with controls/visualization/log\nCompact mode is a one-page, two columns layout with controls + log/visualization\nTabbed mode is a two-pages mode, where the first page shows controls and the second one shows visualization and log."),"UI"))
self.settings._add(BooleanSetting("viz3d",False,_("Enable 3D viewer (requires restarting)"),_("Use 3D visualization instead of 2D layered visualization"),"UI"))
self.settings._add(BooleanSetting("viz3d",False,_("Enable 3D viewer"),_("Use 3D visualization instead of 2D layered visualization"),"UI"))
self.settings._add(ComboSetting("mainviz","2D",["2D","3D","None"],_("Main visualization"),_("Select visualization for main window."),"UI"))
self.settings._add(ComboSetting("mainviz","2D",["2D","3D","None"],_("Main visualization"),_("Select visualization for main window."),"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("tempgauges",False,_("Display temperature gauges"),_("Display graphical gauges for temperatures visualization"),"UI"))
self.settings._add(FloatSpinSetting("preview_extrusion_width",0.5,0,10,_("Preview extrusion width"),_("Width of Extrusion in Preview (default: 0.5)"),"UI"))
self.settings._add(FloatSpinSetting("preview_extrusion_width",0.5,0,10,_("Preview extrusion width"),_("Width of Extrusion in Preview"),"UI"))