mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-30 17:29:13 -07:00
Merge branch 'master' into grow-narrow
Conflicts: lib/Slic3r/Fill.pm lib/Slic3r/Print/Object.pm
This commit is contained in:
@@ -100,4 +100,14 @@ sub collapse_ex {
|
||||
return union_ex([@result]);
|
||||
}
|
||||
|
||||
sub simplify_polygon {
|
||||
my ($polygon, $pft) = @_;
|
||||
return @{ Math::Clipper::simplify_polygon($polygon, $pft // PFT_NONZERO) };
|
||||
}
|
||||
|
||||
sub simplify_polygons {
|
||||
my ($polygons, $pft) = @_;
|
||||
return @{ Math::Clipper::simplify_polygons($polygons, $pft // PFT_NONZERO) };
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user