Enforce some horizontal margin between object and interface/support (contact not affected)

This commit is contained in:
Alessandro Ranellucci 2013-08-12 18:55:11 +02:00
parent ca7d4163d7
commit 9513fa7600

View File

@ -945,7 +945,10 @@ sub generate_support_material {
# now find whether any projection falls onto this top surface
my $touching = intersection($projection, [ map $_->p, @top ]);
if (@$touching) {
$top{ $layer->print_z } = $touching;
# grow top surfaces so that interface and support generation are generated
# with some spacing from object - it looks we don't need the actual
# top shapes so this can be done here
$top{ $layer->print_z } = [ offset($touching, $flow->scaled_spacing) ];
}
# remove the areas that touched from the projection that will continue on