New top-infill-extrusion-width option

This commit is contained in:
Alessandro Ranellucci 2013-03-07 16:00:58 +01:00
parent 36d24ccb0b
commit 97e864699e
7 changed files with 23 additions and 4 deletions

View file

@ -102,7 +102,9 @@ sub make_fill {
SURFACE: foreach my $surface (@surfaces) {
my $filler = $Slic3r::Config->fill_pattern;
my $density = $Slic3r::Config->fill_density;
my $flow_spacing = $layerm->infill_flow->spacing;
my $flow_spacing = ($surface->surface_type == S_TYPE_TOP)
? $layerm->top_infill_flow->spacing
: $layerm->infill_flow->spacing;
my $is_bridge = $layerm->id > 0 && $surface->is_bridge;
my $is_solid = $surface->is_solid;