Use Douglas-Peucker simplification always and remove the inefficient parallel lines merging algorithm. #277

This commit is contained in:
Alessandro Ranellucci 2012-05-01 11:41:08 +02:00
parent 08efb15f4d
commit ee33d570d7
3 changed files with 3 additions and 2 deletions

View file

@ -112,7 +112,8 @@ sub make_surfaces {
{
# merge everything
my $expolygons = union_ex($loops);
$_->simplify(scale $Slic3r::resolution) for @$expolygons;
Slic3r::debugf " %d surface(s) having %d holes detected from %d polylines\n",
scalar(@$expolygons), scalar(map $_->holes, @$expolygons), scalar(@$loops);