Introduce "Maximum Extrusion Area Deviation" for arachne walls simplification

This setting denotes what is the maximum allowed area lost or gained when the middle junction of a
straight line is removed (due to the simplification). This area deviation exists due to the
difference of width of the colinear segments.

A             B                          C              A                                        C
---------------                                         ************** deviation_error / 2
|             |---------------------------  B removed   ------------------------------------------
|             |                          |  --------->  |            |                           |
|             |---------------------------              ------------------------------------------
---------------             ^                           **************     ^
      ^                    C.w                                            C.w
     B.w

CURA-7751
This commit is contained in:
Kostas Karmas 2020-11-20 14:30:02 +01:00
parent 1e05e168c0
commit 5e0f9dd5b1
2 changed files with 13 additions and 0 deletions

View file

@ -6126,6 +6126,18 @@
"minimum_value_warning": "0.01",
"maximum_value_warning": "0.3",
"settable_per_mesh": true
},
"meshfix_maximum_extrusion_area_deviation":
{
"label": "Maximum Extrusion Area Deviation",
"description": "The maximum deviation allowed when reducing the resolution for the Maximum Resolution setting. If you increase this, the print will be less accurate, but the g-code will be smaller. Maximum Deviation is a limit for Maximum Resolution, so if the two conflict the Maximum Deviation will always be held true.",
"type": "float",
"unit": "mm²",
"default_value": 2,
"minimum_value": "0.001",
"minimum_value_warning": "0.01",
"maximum_value_warning": "10",
"settable_per_mesh": true
}
}
},

View file

@ -330,6 +330,7 @@ meshfix_keep_open_polygons
meshfix_maximum_resolution
meshfix_maximum_travel_resolution
meshfix_maximum_deviation
meshfix_maximum_extrusion_area_deviation
multiple_mesh_overlap
carve_multiple_volumes
alternate_carve_order