Fix value/default_value errors

This commit is contained in:
MarkMan0 2021-02-15 17:27:40 +01:00
parent acf79aa31d
commit d925c28eb8
6 changed files with 36 additions and 83 deletions

View File

@ -26,57 +26,46 @@
"default_value": "G28 ;Home\nG29\nG0 X0 Y0 Z30 F6000\nM84 E\nM0\nG1 Z15.0 F6000 ;Move the platform down 15mm\n;Prime the extruder\nG92 E0\nG1 F200 E3\nG92 E0\n" "default_value": "G28 ;Home\nG29\nG0 X0 Y0 Z30 F6000\nM84 E\nM0\nG1 Z15.0 F6000 ;Move the platform down 15mm\n;Prime the extruder\nG92 E0\nG1 F200 E3\nG92 E0\n"
}, },
"machine_end_gcode": { "machine_end_gcode": {
"default_value": "M400\nM104 S0\nM140 S0\n;Retract the filament\nG92 E1\nG1 E-1 F300\nG28 X R5\nG0 Y300 F2000\nM84\n" "default_value": "M400\nM104 S0\nM140 S0\nM107\n;Retract the filament\nG92 E1\nG1 E-1 F300\nG28 X R5\nG0 Y300 F2000\nM84\n"
}, },
"material_diameter": { "material_diameter": {
"value": 1.75 "default_value": 1.75
},
"machine_width": {
"value": 304
},
"machine_depth": {
"value": 304
}, },
"machine_shape": { "machine_shape": {
"value": "rectangular" "default_value": "rectangular"
},
"machine_height": {
"value": 430
}, },
"machine_heated_bed": { "machine_heated_bed": {
"value": true "default_value": true
}, },
"machine_heated_build_volume": { "machine_heated_build_volume": {
"value": false "default_value": false
}, },
"machine_gcode_flavor": { "machine_gcode_flavor": {
"value": "RepRap (Marlin/Sprinter)" "default_value": "RepRap (Marlin/Sprinter)"
}, },
"machine_head_with_fans_polygon": { "machine_head_with_fans_polygon": {
"value": [ "default_value": [
[ [
-20, -86,
10 66
], ],
[ [
10, 44,
10 66
], ],
[ [
10, 44,
-10 -96
], ],
[ [
-20, -86,
-10 -96
] ]
] ]
}, },
"gantry_height": { "gantry_height": { "default_value": 34 },
"value": 99999999999
},
"machine_nozzle_size": { "machine_nozzle_size": {
"value": 0.4 "default_value": 0.4
}, },
"machine_max_feedrate_x": { "machine_max_feedrate_x": {
"value": 200 "value": 200

View File

@ -10,32 +10,22 @@
"platform_offset": [ 0, 0, 0] "platform_offset": [ 0, 0, 0]
}, },
"overrides": { "overrides": {
"machine_name": { "value": "Proton X" }, "machine_name": { "default_value": "Proton X Rail" },
"machine_width": { "value": 304 }, "machine_width": { "default_value": 304 },
"machine_depth": { "value": 304 }, "machine_depth": { "default_value": 304 },
"machine_height": { "value": 650 }, "machine_height": { "default_value": 650 },
"machine_head_with_fans_polygon": { "machine_max_acceleration_x": {
"value": [ "value": 500
[
-86,
66
],
[
44,
66
],
[
44,
-96
],
[
-86,
-96
]
]
}, },
"machine_max_acceleration_y": {
"gantry_height": { "value": 34 } "value": 800
},
"machine_max_acceleration_z": {
"value": 200
},
"machine_max_jerk_xy": {
"value": 10
}
} }
} }

View File

@ -10,32 +10,9 @@
"platform_offset": [ 0, 0, 0] "platform_offset": [ 0, 0, 0]
}, },
"overrides": { "overrides": {
"machine_name": { "value": "Proton X" }, "machine_name": { "default_value": "Proton X Rod" },
"machine_width": { "value": 304 }, "machine_width": { "default_value": 304 },
"machine_depth": { "value": 304 }, "machine_depth": { "default_value": 304 },
"machine_height": { "value": 650 }, "machine_height": { "default_value": 650 }
"machine_head_with_fans_polygon": {
"value": [
[
-86,
66
],
[
44,
66
],
[
44,
-96
],
[
-86,
-96
]
]
},
"gantry_height": { "value": 34 }
} }
} }

View File

@ -11,5 +11,4 @@ weight = 0
global_quality = True global_quality = True
[values] [values]
layer_height = 0.2
speed_print = 80 speed_print = 80

View File

@ -11,7 +11,6 @@ weight = -3
global_quality = True global_quality = True
[values] [values]
layer_height = 0.2
speed_print = 50 speed_print = 50
speed_layer_0 = 20 speed_layer_0 = 20
wall_thickness = =8*wall_line_width wall_thickness = =8*wall_line_width

View File

@ -11,7 +11,6 @@ weight = -2
global_quality = True global_quality = True
[values] [values]
layer_height = 0.2
support_structure = tree support_structure = tree
support_type = buildplate support_type = buildplate
support_enable = True support_enable = True