remove cracks in boundary surface via closing - without it, the bridges were sometimes cut in half

This commit is contained in:
PavelMikus 2023-03-14 12:12:18 +01:00 committed by Pavel Mikuš
parent 257837c071
commit c6fd339a39

View File

@ -2091,6 +2091,7 @@ void PrintObject::bridge_over_infill()
continue;
Polygons boundary_area = union_(expansion_area, area_to_be_bridge);
boundary_area = closing(boundary_area, 0.3 * flow.scaled_spacing());
Polylines boundary_plines = to_polylines(boundary_area);
double bridging_angle = 0;
Polygons tmp_expanded_area = expand(area_to_be_bridge, 3.0 * flow.scaled_spacing());