mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 05:24:01 -06:00
Do each island completely if avoid_crossing_perimeters is enabled. #278
This commit is contained in:
parent
f10a4787b2
commit
dac168eff0
4 changed files with 57 additions and 17 deletions
|
@ -3,9 +3,12 @@ use Moo;
|
|||
|
||||
has 'paths' => (is => 'rw', default => sub { [] });
|
||||
|
||||
sub endpoints {
|
||||
# no-op
|
||||
sub unpack { $_[0] }
|
||||
|
||||
sub first_point {
|
||||
my $self = shift;
|
||||
return [ map $_->endpoints, @{$self->paths} ];
|
||||
return $self->paths->[0]->unpack->polyline->[0];
|
||||
}
|
||||
|
||||
sub chained_path {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue