mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 18:27:58 -06:00
Refactor bridge flow to Slic3r::Flow::Bridge class
This commit is contained in:
parent
d00c2882c4
commit
a9090688f9
6 changed files with 29 additions and 18 deletions
|
@ -473,7 +473,7 @@ sub bridge_over_infill {
|
|||
# exclude infill from the layers below if needed
|
||||
# see discussion at https://github.com/alexrj/Slic3r/issues/240
|
||||
{
|
||||
my $excess = $layerm->infill_flow->bridge_width - $layerm->height;
|
||||
my $excess = $layerm->extruders->{infill}->bridge_flow->width - $layerm->height;
|
||||
for (my $i = $layer_id-1; $excess >= $self->layers->[$i]->height; $i--) {
|
||||
Slic3r::debugf " skipping infill below those areas at layer %d\n", $i;
|
||||
foreach my $lower_layerm (@{$self->layers->[$i]->regions}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue