mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
New --bridge-feed-rate option. #68
This commit is contained in:
@@ -5,6 +5,9 @@ use XXX;
|
||||
|
||||
extends 'Slic3r::Polyline::Closed';
|
||||
|
||||
# perimeter/fill/bridge/skirt
|
||||
has 'role' => (is => 'ro', required => 1);
|
||||
|
||||
sub split_at {
|
||||
my $self = shift;
|
||||
my ($point) = @_;
|
||||
@@ -25,7 +28,7 @@ sub split_at {
|
||||
push @new_points, @{$self->points}[$i .. $#{$self->points}];
|
||||
push @new_points, @{$self->points}[0 .. $i];
|
||||
|
||||
return Slic3r::ExtrusionPath->new(points => [@new_points]);
|
||||
return Slic3r::ExtrusionPath->new(points => [@new_points], role => $self->role);
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user