mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Use Douglas-Peucker simplification always and remove the inefficient parallel lines merging algorithm. #277
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user