From 928d13b1e56fb8593eba19a508bafbe65fe2d0bd Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 10 Feb 2017 09:59:36 +0100 Subject: [PATCH] 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. --- resources/definitions/renkforce_rf100.def.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/definitions/renkforce_rf100.def.json b/resources/definitions/renkforce_rf100.def.json index 1f0137c562..7df1fa46fd 100644 --- a/resources/definitions/renkforce_rf100.def.json +++ b/resources/definitions/renkforce_rf100.def.json @@ -13,7 +13,7 @@ "overrides": { "adhesion_type": { - "value": "skirt" + "default_value": "skirt" }, "bottom_thickness": { "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" }, "machine_gcode_flavor": { - "value": "RepRap (Marlin/Sprinter)" + "default_value": "RepRap (Marlin/Sprinter)" }, "machine_height": { "value": "100" }, "machine_name": { - "value": "Renkforce RF100" + "default_value": "Renkforce RF100" }, "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..." @@ -127,7 +127,7 @@ "value": "2.0" }, "retraction_combing": { - "value": "all" + "default_value": "all" }, "retraction_enable": { "value": "True" @@ -184,10 +184,10 @@ "value": "15.0" }, "support_pattern": { - "value": "lines" + "default_value": "lines" }, "support_type": { - "value": "everywhere" + "default_value": "everywhere" }, "support_xy_distance": { "value": "0.5"