mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Code refactored to allow for multiple infill types
This commit is contained in:
parent
bfd1d0e1dd
commit
33d7b8c7cf
5 changed files with 230 additions and 157 deletions
|
@ -169,10 +169,10 @@ sub extrude_perimeters {
|
|||
sub extrude_fills {
|
||||
my $self = shift;
|
||||
|
||||
my $fill_extruder = Slic3r::Fill::Rectilinear->new;
|
||||
my $fill_extruder = Slic3r::Fill->new('print' => $self);
|
||||
|
||||
foreach my $layer (@{ $self->layers }) {
|
||||
$fill_extruder->make_fill($self, $layer);
|
||||
$fill_extruder->make_fill($layer);
|
||||
Slic3r::debugf " generated %d paths: %s\n",
|
||||
scalar @{ $layer->fills },
|
||||
join ' ', map $_->id, map @{$_->paths}, @{ $layer->fills } if $Slic3r::debug;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue