diff --git a/src/libslic3r/LayerRegion.cpp b/src/libslic3r/LayerRegion.cpp index cdd6837aa..71d84e17a 100644 --- a/src/libslic3r/LayerRegion.cpp +++ b/src/libslic3r/LayerRegion.cpp @@ -204,7 +204,11 @@ void LayerRegion::process_external_surfaces(const Layer* lower_layer) break; } // Grown by bridged_infill_margin. - Polygons polys = offset(to_polygons(bridges[i].expolygon), float(margin_bridged), EXTERNAL_SURFACES_OFFSET_PARAMETERS); + // also, remove all bridge area that are thinner than a single line. + Polygons polys = offset2(to_polygons(bridges[i].expolygon), + (-this->flow(frInfill).scaled_width() / 2), + (this->flow(frInfill).scaled_width() / 2) + float(margin_bridged), + EXTERNAL_SURFACES_OFFSET_PARAMETERS); if (idx_island == -1) { printf("Bridge did not fall into the source region!\r\n"); } else { diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 58e6af401..d4e74a55e 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -501,7 +501,7 @@ void PrintConfigDef::init_fff_params() def->category = L("Infill"); def->tooltip = L("This parameter grows the bridged solid infill layers by the specified MM to anchor them into the part. Put 0 to deactivate it."); def->sidetext = L("mm"); - def->cli = "top-layer-anchor=f"; + def->cli = "bridged-layer-anchor=f"; def->min = 0; def->mode = comExpert; def->default_value = new ConfigOptionFloat(2); diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp index a2ba03820..a531729e4 100644 --- a/src/libslic3r/PrintObject.cpp +++ b/src/libslic3r/PrintObject.cpp @@ -486,8 +486,6 @@ bool PrintObject::invalidate_state_by_config_options(const std::vector