mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-05 06:17:45 -07:00
BUG-FIX avoid crossing perimeters ingonore holes <=2mm (#10942)
Fix avoid crossing perimeters 2
This commit is contained in:
parent
9c1c439cfc
commit
ac75c69ddf
1 changed files with 1 additions and 1 deletions
|
|
@ -1019,7 +1019,7 @@ static ExPolygons inner_offset(const ExPolygons &ex_polygons, double offset_dis)
|
|||
// remove too small holes from the ex_poly
|
||||
for (ExPolygon &ex_poly : ex_poly_result) {
|
||||
for (auto iter = ex_poly.holes.begin(); iter != ex_poly.holes.end();) {
|
||||
auto out_offset_holes = offset(*iter, scale_(1.0f));
|
||||
auto out_offset_holes = offset(*iter, scale_(0.1f));
|
||||
if (out_offset_holes.empty()) {
|
||||
iter = ex_poly.holes.erase(iter);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue