mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 14:55:08 -06:00
Failing test cases for Clipper bug returning empty result set. #2028
This commit is contained in:
parent
70ceb853f1
commit
fcdb462abe
3 changed files with 29 additions and 2 deletions
|
@ -302,7 +302,7 @@ sub make_perimeters {
|
|||
height => $self->height,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
# reapply the nearest point search for starting point
|
||||
# (clone because the collection gets DESTROY'ed)
|
||||
# We allow polyline reversal because Clipper may have randomly
|
||||
|
|
|
@ -15,6 +15,11 @@ sub wkt {
|
|||
return sprintf "POLYGON((%s))", join ',', map "$_->[0] $_->[1]", @$self;
|
||||
}
|
||||
|
||||
sub dump_perl {
|
||||
my $self = shift;
|
||||
return sprintf "[%s]", join ',', map "[$_->[0],$_->[1]]", @$self;
|
||||
}
|
||||
|
||||
sub grow {
|
||||
my $self = shift;
|
||||
return $self->split_at_first_point->grow(@_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue