Merge branch 'master' into fix_jobname_editing

This commit is contained in:
Lipu Fei 2019-12-16 10:40:03 +01:00 committed by GitHub
commit dd9395792f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 278 additions and 47 deletions

View file

@ -2073,6 +2073,36 @@
"settable_per_mesh": true
}
}
},
"skin_edge_support_thickness":
{
"label": "Skin Edge Support Thickness",
"description": "The thickness of the extra infill that supports skin edges.",
"unit": "mm",
"default_value": 0.8,
"minimum_value": "0",
"maximum_value": "machine_height",
"type": "float",
"value": "0",
"comment": "This was put at 0 to keep the default behaviour the same, but in the original PR the 'value' was: resolveOrValue('infill_sparse_thickness') * (4 if infill_sparse_density < 12.5 else (3 if infill_sparse_density < 25 else (2 if infill_sparse_density < 50 else 1)))",
"limit_to_extruder": "infill_extruder_nr",
"enabled": "infill_sparse_density > 0",
"settable_per_mesh": true,
"children":
{
"skin_edge_support_layers":
{
"label": "Skin Edge Support Layers",
"description": "The number of infill layers that supports skin edges.",
"default_value": 4,
"minimum_value": "0",
"type": "int",
"value": "math.ceil(round(skin_edge_support_thickness / resolveOrValue('infill_sparse_thickness'), 4))",
"limit_to_extruder": "infill_extruder_nr",
"enabled": "infill_sparse_density > 0",
"settable_per_mesh": true
}
}
}
}
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View file

@ -12,7 +12,7 @@ UM.Dialog
id: base
//: About dialog title
title: catalog.i18nc("@title:window","About Cura")
title: catalog.i18nc("@title:window","About " + catalog.i18nc("@title:window", CuraApplication.applicationDisplayName))
minimumWidth: 500 * screenScaleFactor
minimumHeight: 650 * screenScaleFactor

View file

@ -101,6 +101,8 @@ bottom_skin_expand_distance
max_skin_angle_for_expansion
min_skin_width_for_expansion
infill_randomize_start_location
skin_edge_support_thickness
skin_edge_support_layers
[material]
default_material_print_temperature