Use bridge math for the first solid infill layer above sparse infill. #240

This commit is contained in:
Alessandro Ranellucci 2013-02-23 21:39:13 +01:00
parent 3b1e921171
commit 08a72c0824
5 changed files with 99 additions and 5 deletions

View file

@ -458,7 +458,7 @@ sub process_bridges {
($_->surface_type == S_TYPE_BOTTOM && $self->id > 0) || $_->surface_type == S_TYPE_TOP
} @{$self->fill_surfaces} or return;
my @internal_surfaces = grep { $_->surface_type == S_TYPE_INTERNAL || $_->surface_type == S_TYPE_INTERNALSOLID } @{$self->slices};
my @internal_surfaces = grep $_->is_internal, @{$self->slices};
SURFACE: foreach my $surface (@solid_surfaces) {
my $expolygon = $surface->expolygon->safety_offset;