Don't exclude any infill under internal bridges; revert infill pattern to rectilinear for internal bridges. #240

This commit is contained in:
Alessandro Ranellucci 2013-03-18 13:32:19 +01:00
parent 7f917671ab
commit 8ce31c2a2b
2 changed files with 3 additions and 4 deletions

View File

@ -155,9 +155,7 @@ sub make_fill {
$density = 1;
$filler = $Slic3r::Config->solid_fill_pattern;
if ($is_bridge) {
$filler = $surface->surface_type == S_TYPE_INTERNALBRIDGE
? 'concentric'
: 'rectilinear';
$filler = 'rectilinear';
$flow_spacing = $layerm->extruders->{infill}->bridge_flow->spacing;
} elsif ($surface->surface_type == S_TYPE_INTERNALSOLID) {
$filler = 'rectilinear';

View File

@ -509,7 +509,8 @@ sub bridge_over_infill {
# exclude infill from the layers below if needed
# see discussion at https://github.com/alexrj/Slic3r/issues/240
{
# Update: do not exclude any infill. Sparse infill is able to absorb the excess material.
if (0) {
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;