Filter out tiny areas, Fix issue where partial surfaces were cleared and empty when over solid infill
This commit is contained in:
parent
5e83ecf387
commit
9054aa74b3
1 changed files with 4 additions and 1 deletions
|
@ -1695,7 +1695,7 @@ void PrintObject::bridge_over_infill()
|
|||
intersection(bridged_area,
|
||||
lower_layers_sparse_infill); // cut off parts which are not over sparse infill - material overflow
|
||||
|
||||
if (bridged_area.empty()) {
|
||||
if (shrink(bridged_area, 3.0 * flow.scaled_width()).empty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -1980,6 +1980,9 @@ void PrintObject::bridge_over_infill()
|
|||
for (Surface &surface : region->m_fill_surfaces.surfaces) {
|
||||
if (s.original_surface == &surface) {
|
||||
Surface tmp(surface, {});
|
||||
for (const ExPolygon &expoly : diff_ex(surface.expolygon, s.new_polys)) {
|
||||
new_surfaces.emplace_back(tmp, expoly);
|
||||
}
|
||||
tmp.surface_type = stInternalBridge;
|
||||
tmp.bridge_angle = s.bridge_angle;
|
||||
for (const ExPolygon &expoly : union_ex(s.new_polys)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue