Add setting for wall transition filter distance

This is a nice setting, compared to the other libArachne settings. Pretty clear what it does.

Contributes to issue CURA-7686.
This commit is contained in:
Ghostkeeper 2020-11-30 17:15:02 +01:00
parent 32bdd284f9
commit 9ecb951786
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -1092,6 +1092,18 @@
"maximum_value_warning": "50",
"maximum_value": "59"
},
"wall_transition_filter_distance":
{
"label": "Wall Transition Distance Filter",
"description": "If it would be transitioning back and forth between different numbers of walls in quick succession, don't transition at all. Remove transitions if they are closer together than this distance.",
"type": "float",
"unit": "mm",
"default_value": 0.7,
"value": "2 * math.cos(wall_transition_angle / 180 * math.pi) * wall_line_width_x",
"minimum_value": "wall_transition_length",
"minimum_value_warning": "math.cos(wall_transition_angle / 180 * math.pi) * wall_line_width_x",
"maximum_value_warning": "8 * math.cos(wall_transition_angle / 180 * math.pi) * wall_line_width_x"
},
"wall_0_wipe_dist":
{
"label": "Outer Wall Wipe Distance",