mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Always fix self-intersecting polygons that Douglas-Peucker might return
This commit is contained in:
@@ -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