mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-21 14:09:54 +02:00
Always fix self-intersecting polygons that Douglas-Peucker might return
This commit is contained in:
1 parent
dc0f706789
commit
33b40eda18
14 files changed
+85
-55
No files matched your search
@@ -81,6 +81,11 @@ sub clip_with_expolygon {
|
||||
return @paths;
|
||||
}
|
||||
|
||||
sub simplify {
|
||||
my $self = shift;
|
||||
$self->polyline($self->polyline->simplify(@_));
|
||||
}
|
||||
|
||||
sub points {
|
||||
my $self = shift;
|
||||
return $self->polyline;
|
||||
|
||||
Reference in new issue
Block a user