mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
22 lines
414 B
Perl
22 lines
414 B
Perl
package Slic3r::ExtrusionLoop;
|
|
use strict;
|
|
use warnings;
|
|
|
|
sub split_at {
|
|
my $self = shift;
|
|
|
|
return Slic3r::ExtrusionPath->new(
|
|
polyline => $self->polygon->split_at(@_),
|
|
role => $self->role,
|
|
flow_spacing => $self->flow_spacing,
|
|
height => $self->height,
|
|
);
|
|
}
|
|
|
|
sub first_point {
|
|
my $self = shift;
|
|
return $self->polygon->[0];
|
|
}
|
|
|
|
1;
|