Merge branch 'smartavionics-mb-skin-edge-support'

This commit is contained in:
Remco Burema 2019-12-11 17:02:36 +01:00
commit 1415db7b76
No known key found for this signature in database
GPG Key ID: 215C49431D43F98C
2 changed files with 32 additions and 0 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
}
}
}
}
},

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