Some more refactoring of ClipperLib / closing() / opening()

This commit is contained in:
Vojtech Bubnik 2021-10-18 14:51:09 +02:00
parent f494ad565b
commit 556e0c53c7
5 changed files with 54 additions and 11 deletions

View file

@ -50,7 +50,7 @@ static ExPolygons get_print_object_bottom_layer_expolygons(const PrintObject &pr
{
ExPolygons ex_polygons;
for (LayerRegion *region : print_object.layers().front()->regions())
Slic3r::append(ex_polygons, offset_ex(offset_ex(region->slices.surfaces, float(SCALED_EPSILON)), -float(SCALED_EPSILON)));
Slic3r::append(ex_polygons, closing_ex(region->slices.surfaces, float(SCALED_EPSILON)));
return ex_polygons;
}