Fix string-type settings by making them specify default_value

None of these settings get a 'value' property defined in fdmprinter, so they can safely use 'default_value' to specify their setting value.
This commit is contained in:
Ghostkeeper 2017-02-10 09:59:36 +01:00
parent f85e0f57ad
commit 928d13b1e5
No known key found for this signature in database
GPG Key ID: C5F96EE2BC0F7E75

View File

@ -13,7 +13,7 @@
"overrides": { "overrides": {
"adhesion_type": { "adhesion_type": {
"value": "skirt" "default_value": "skirt"
}, },
"bottom_thickness": { "bottom_thickness": {
"value": "0.5" "value": "0.5"
@ -61,13 +61,13 @@
"default_value": ";End GCode\nM104 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 F{speed_travel} ;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" "default_value": ";End GCode\nM104 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 F{speed_travel} ;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_gcode_flavor": { "machine_gcode_flavor": {
"value": "RepRap (Marlin/Sprinter)" "default_value": "RepRap (Marlin/Sprinter)"
}, },
"machine_height": { "machine_height": {
"value": "100" "value": "100"
}, },
"machine_name": { "machine_name": {
"value": "Renkforce RF100" "default_value": "Renkforce RF100"
}, },
"machine_start_gcode": { "machine_start_gcode": {
"default_value": ";Sliced at: {day} {date} {time}\nG21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 ;move X/Y to min endstops\nG28 Z0 ;move Z to min endstops\nG1 Z15.0 F{speed_travel} ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E3 ;extrude 3mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F{speed_travel}\nM117 Printing..." "default_value": ";Sliced at: {day} {date} {time}\nG21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 ;move X/Y to min endstops\nG28 Z0 ;move Z to min endstops\nG1 Z15.0 F{speed_travel} ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E3 ;extrude 3mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F{speed_travel}\nM117 Printing..."
@ -127,7 +127,7 @@
"value": "2.0" "value": "2.0"
}, },
"retraction_combing": { "retraction_combing": {
"value": "all" "default_value": "all"
}, },
"retraction_enable": { "retraction_enable": {
"value": "True" "value": "True"
@ -184,10 +184,10 @@
"value": "15.0" "value": "15.0"
}, },
"support_pattern": { "support_pattern": {
"value": "lines" "default_value": "lines"
}, },
"support_type": { "support_type": {
"value": "everywhere" "default_value": "everywhere"
}, },
"support_xy_distance": { "support_xy_distance": {
"value": "0.5" "value": "0.5"