mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-30 12:11:15 -06:00
New --bridge-feed-rate option. #68
This commit is contained in:
parent
7b50e1bead
commit
975387d953
12 changed files with 47 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue