Skip to content

Commit

Permalink
Increase bridge area a bit for overhang perimeter addition, to tame i…
Browse files Browse the repository at this point in the history
…t a bit.

#1514
  • Loading branch information
supermerill committed Oct 7, 2021
1 parent de554d5 commit 2eaa677
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libslic3r/PerimeterGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,8 @@ void PerimeterGenerator::process()
}

//offset by perimeter spacing because the simplify may have reduced it a bit.
if (!bridgeable_simplified.empty())
bridgeable_simplified = offset_ex(bridgeable_simplified, double(perimeter_spacing) / 1.9);
if (!bridgeable_simplified.empty()) {
bridgeable_simplified = offset_ex(bridgeable_simplified, double(perimeter_spacing));
overhangs_unsupported = diff_ex(overhangs_unsupported, bridgeable_simplified, true);
}
}
Expand Down Expand Up @@ -743,8 +742,9 @@ void PerimeterGenerator::process()
fill_clip = offset_ex(last, double(ext_perimeter_spacing / 2) - scale_d(infill_spacing_unscaled / 2));
last = intersection_ex(inner_polygons, last);
//{
// static int isazfn = 0;
// std::stringstream stri;
// stri << this->layer->id() << "_1_"<< i <<"_only_one_peri"<< ".svg";
// stri << this->layer->id() << "_" << i << "_"<< isazfn++ <<"_only_one_peri"<< ".svg";
// SVG svg(stri.str());
// svg.draw(to_polylines(oldLast), "orange");
// svg.draw(to_polylines(fill_clip), "purple");
Expand Down

0 comments on commit 2eaa677

Please sign in to comment.