mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
Only put ExtrusionPath objects in ExtrusionPath::Collection (no ExtrusionLoop objects)
This commit is contained in:
parent
d4ccd39ad3
commit
554d10c854
3 changed files with 14 additions and 22 deletions
|
@ -60,14 +60,6 @@ sub split_at_first_point {
|
|||
return $self->split_at_index(0);
|
||||
}
|
||||
|
||||
# although a loop doesn't have endpoints, this method is provided to allow
|
||||
# ExtrusionLoop objects to be added to an ExtrusionPath::Collection and
|
||||
# sorted by the ->shortest_path() method
|
||||
sub endpoints {
|
||||
my $self = shift;
|
||||
return ($self->polygon->[0], $self->polygon->[-1]);
|
||||
}
|
||||
|
||||
package Slic3r::ExtrusionLoop::Packed;
|
||||
sub unpack {
|
||||
my $self = shift;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue