mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 12:39:06 +08:00
Enforce some horizontal margin between object and interface/support (contact not affected)
This commit is contained in:
parent
ca7d4163d7
commit
9513fa7600
@ -945,7 +945,10 @@ sub generate_support_material {
|
|||||||
# now find whether any projection falls onto this top surface
|
# now find whether any projection falls onto this top surface
|
||||||
my $touching = intersection($projection, [ map $_->p, @top ]);
|
my $touching = intersection($projection, [ map $_->p, @top ]);
|
||||||
if (@$touching) {
|
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
|
# remove the areas that touched from the projection that will continue on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user