Make small feature max length a child setting of small hole max size

The small hole max size is not used in CuraEngine. It may not be a leaf setting then. Instead, Small Feature Max Length is used which is directly dependent on Small Hole Max Size. They are simply different units of the same thing. This is how we should structure these settings then.
This commit is contained in:
Ghostkeeper 2019-11-03 02:20:18 +01:00
parent 0c846d76a1
commit d25ca84c6c
No known key found for this signature in database
GPG key ID: B47E36CF62F1D06E

View file

@ -7559,18 +7559,21 @@
"type": "float",
"minimum_value": "0",
"default_value": 0,
"settable_per_mesh": true
},
"small_feature_max_length":
{
"label": "Small Feature Max Length",
"description": "Feature outlines that are shorter than this length will be printed using Small Feature Speed.",
"unit": "mm",
"type": "float",
"minimum_value": "0",
"default_value": 0,
"value": "small_hole_max_size * math.pi",
"settable_per_mesh": true
"settable_per_mesh": true,
"children":
{
"small_feature_max_length":
{
"label": "Small Feature Max Length",
"description": "Feature outlines that are shorter than this length will be printed using Small Feature Speed.",
"unit": "mm",
"type": "float",
"minimum_value": "0",
"default_value": 0,
"value": "small_hole_max_size * math.pi",
"settable_per_mesh": true
}
}
},
"small_feature_speed_factor":
{