Fix material_diameter handling in ExtruderStacks

CURA-4898
This commit is contained in:
Lipu Fei 2018-01-31 13:31:48 +01:00
parent 68366ccc8d
commit 3927c70625
3 changed files with 59 additions and 9 deletions

View file

@ -216,6 +216,30 @@
"enabled": false
}
}
},
"material":
{
"label": "Material",
"icon": "category_material",
"description": "Material",
"type": "category",
"children":
{
"material_diameter":
{
"label": "Diameter",
"description": "Adjusts the diameter of the filament used. Match this value with the diameter of the used filament.",
"unit": "mm",
"type": "float",
"default_value": 2.85,
"minimum_value": "0.0001",
"minimum_value_warning": "0.4",
"maximum_value_warning": "3.5",
"enabled": "machine_gcode_flavor != \"UltiGCode\"",
"settable_per_mesh": false,
"settable_per_extruder": true
}
}
}
}
}