mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-25 13:24:27 +08:00
Increase bridge area a bit for overhang perimeter addition, to tame it a bit.
supermerill/SuperSlicer#1514
This commit is contained in:
parent
de554d577b
commit
2eaa677f88
@ -426,9 +426,8 @@ void PerimeterGenerator::process()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//offset by perimeter spacing because the simplify may have reduced it a bit.
|
//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()) {
|
if (!bridgeable_simplified.empty()) {
|
||||||
|
bridgeable_simplified = offset_ex(bridgeable_simplified, double(perimeter_spacing));
|
||||||
overhangs_unsupported = diff_ex(overhangs_unsupported, bridgeable_simplified, true);
|
overhangs_unsupported = diff_ex(overhangs_unsupported, bridgeable_simplified, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -743,8 +742,9 @@ void PerimeterGenerator::process()
|
|||||||
fill_clip = offset_ex(last, double(ext_perimeter_spacing / 2) - scale_d(infill_spacing_unscaled / 2));
|
fill_clip = offset_ex(last, double(ext_perimeter_spacing / 2) - scale_d(infill_spacing_unscaled / 2));
|
||||||
last = intersection_ex(inner_polygons, last);
|
last = intersection_ex(inner_polygons, last);
|
||||||
//{
|
//{
|
||||||
|
// static int isazfn = 0;
|
||||||
// std::stringstream stri;
|
// 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 svg(stri.str());
|
||||||
// svg.draw(to_polylines(oldLast), "orange");
|
// svg.draw(to_polylines(oldLast), "orange");
|
||||||
// svg.draw(to_polylines(fill_clip), "purple");
|
// svg.draw(to_polylines(fill_clip), "purple");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user