ENH: disable slow down for overhang when fuzzy skin is used

When fuzzy skin is used, it's unmeaning to calculate
the overhang degree of extrusion line, because there
are a lot of random fuzzy point which change the line.

Disable in this case. This can also speed slicing up
when fuzzy skin is used.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia65e20e24fd7a5cd224635fd69a272387135ba12
This commit is contained in:
salt.wei 2023-01-05 09:27:11 +08:00 committed by Lane.Wei
parent 49eb40b711
commit ebaae57b01

View file

@ -270,7 +270,8 @@ static ExtrusionEntityCollection traverse_loops(const PerimeterGenerator &perime
// get non 100% overhang paths by intersecting this loop with the grown lower slices
Polylines remain_polines;
if (perimeter_generator.config->enable_overhang_speed) {
//BBS: don't calculate overhang degree when enable fuzzy skin. It's unmeaning
if (perimeter_generator.config->enable_overhang_speed && perimeter_generator.config->fuzzy_skin == FuzzySkinType::None) {
for (auto it = lower_polygons_series->begin();
it != lower_polygons_series->end(); it++)
{