Offset projection of facets before the final union

This commit is contained in:
Alessandro Ranellucci 2013-08-09 16:34:55 +02:00
parent b956faa153
commit 548b301432

View file

@ -563,7 +563,9 @@ sub horizontal_projection {
}
$_->make_counter_clockwise for @f; # do this after scaling, as winding order might change while doing that
return union_ex(\@f, 1);
# the offset factor was tuned using groovemount.stl
return union_ex([ offset(\@f, Slic3r::Geometry::scale 0.01) ], 1);
}
1;