mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
BUG-FIX avoid crossing perimeters ingonore holes <=2mm (#10942)
Fix avoid crossing perimeters 2
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user