chiark / gitweb /
Updated print window with statistics about the print. Filament used, and estimated...
[cura.git] / Cura / gui / preferencesDialog.py
index 564a583c5728457373c0943e2897165ed742a21b..782ee338667782238b859967d4c79b31b0a3c06d 100644 (file)
@@ -25,6 +25,10 @@ class preferencesDialog(configBase.configWindowBase):
                c = configBase.SettingRow(left, 'Machine height (mm)', 'machine_height', '200', 'Size of the machine in mm', type = 'preference')\r
                validators.validFloat(c, 10.0)\r
 \r
+               configBase.TitleRow(left, 'Filament settings')\r
+               c = configBase.SettingRow(left, 'Filament density (kg/m3)', 'filament_density', '1300', 'Weight of the filament per m3. Around 1300 for PLA. And around 1040 for ABS. This value is used to estimate the weight if the filament used for the print.', type = 'preference')\r
+               validators.validFloat(c, 500.0, 3000.0)\r
+               \r
                configBase.TitleRow(left, 'Communication settings')\r
                c = configBase.SettingRow(left, 'Serial port', 'serial_port', ['AUTO'] + machineCom.serialList(), 'Serial port to use for communication with the printer', type = 'preference')\r
                c = configBase.SettingRow(left, 'Baudrate', 'serial_baud', '250000', 'Speed of the serial port communication\nNeeds to match your firmware settings\nCommon values are 250000, 115200, 57600', type = 'preference')\r