fix SPE-1711 Vertical holes in bridging over infill
This commit is contained in:
parent
a35e013111
commit
c60a10b7e4
@ -278,7 +278,7 @@ ThickPolylines make_fill_polylines(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
reconstructed_area = closing(reconstructed_area, float(SCALED_EPSILON), float(SCALED_EPSILON));
|
reconstructed_area = union_safety_offset(reconstructed_area);
|
||||||
ExPolygons gaps_for_additional_filling = diff_ex(filled_area, reconstructed_area);
|
ExPolygons gaps_for_additional_filling = diff_ex(filled_area, reconstructed_area);
|
||||||
if (fill->overlap != 0) {
|
if (fill->overlap != 0) {
|
||||||
gaps_for_additional_filling = offset_ex(gaps_for_additional_filling, scaled<float>(fill->overlap));
|
gaps_for_additional_filling = offset_ex(gaps_for_additional_filling, scaled<float>(fill->overlap));
|
||||||
|
@ -2186,6 +2186,7 @@ void PrintObject::bridge_over_infill()
|
|||||||
Polygon &new_poly = expanded_bridged_area.emplace_back(std::move(traced_poly.lows));
|
Polygon &new_poly = expanded_bridged_area.emplace_back(std::move(traced_poly.lows));
|
||||||
new_poly.points.insert(new_poly.points.end(), traced_poly.highs.rbegin(), traced_poly.highs.rend());
|
new_poly.points.insert(new_poly.points.end(), traced_poly.highs.rbegin(), traced_poly.highs.rend());
|
||||||
}
|
}
|
||||||
|
expanded_bridged_area = union_safety_offset(expanded_bridged_area);
|
||||||
}
|
}
|
||||||
|
|
||||||
polygons_rotate(expanded_bridged_area, -aligning_angle);
|
polygons_rotate(expanded_bridged_area, -aligning_angle);
|
||||||
|
Loading…
Reference in New Issue
Block a user