Add machine_file_format setting

This will determine which file formats a machine is able to save to. The setting is currently not yet used. It will be used to filter the output formats under the Save to File dialogue.

Contributes to issue CURA-611.
This commit is contained in:
Ghostkeeper 2016-02-09 13:50:02 +01:00
parent 5693d639f1
commit 80698c47de
14 changed files with 49 additions and 4 deletions

View file

@ -78,6 +78,9 @@
"default": "M104 S0 ;extruder heater off\nM140 S0 ;heated bed heater off (if you have it)\nG91 ;relative positioning\nG1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure\nG1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more\nG28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way\nM84 ;steppers off\nG90 ;absolute positioning"
},
"machine_extruder_drive_upgrade": { "default": false }
"machine_extruder_drive_upgrade": { "default": false },
"machine_file_formats": {
"default": "text/x-gcode",
}
}
}