Failing test case about spurious infill in hollow objects, caused by shells being correctly generated even for hollow objects - however sometimes we don't want that

This commit is contained in:
Alessandro Ranellucci 2013-07-26 20:17:33 +02:00
parent 0a8872ca6c
commit 6bd4803612
4 changed files with 33 additions and 2 deletions

View file

@ -616,7 +616,7 @@ sub discover_horizontal_shells {
my $margin = 3 * $layerm->solid_infill_flow->scaled_width; # require at least this size
my $too_narrow = diff_ex(
[ map @$_, @$new_internal_solid ],
[ offset([ offset([ map @$_, @$new_internal_solid ], -$margin) ], +$margin) ],
[ offset2([ map @$_, @$new_internal_solid ], -$margin, +$margin) ],
1,
);