From 9dc0514844cf16f8814b640e93a671f0f4f86cfd Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 19 Dec 2015 12:48:48 +0100 Subject: [PATCH] Use bridge flow and speed for solid_infill_every_layers --- lib/Slic3r/Print/Object.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index 35198b31b..aaa228845 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -841,7 +841,8 @@ sub discover_horizontal_shells { if ($layerm->region->config->solid_infill_every_layers && $layerm->region->config->fill_density > 0 && ($i % $layerm->region->config->solid_infill_every_layers) == 0) { - $_->surface_type(S_TYPE_INTERNALSOLID) for @{$layerm->fill_surfaces->filter_by_type(S_TYPE_INTERNAL)}; + my $type = $layerm->region->config->fill_density == 100 ? S_TYPE_INTERNALSOLID : S_TYPE_INTERNALBRIDGE; + $_->surface_type($type) for @{$layerm->fill_surfaces->filter_by_type(S_TYPE_INTERNAL)}; } EXTERNAL: foreach my $type (S_TYPE_TOP, S_TYPE_BOTTOM, S_TYPE_BOTTOMBRIDGE) {