mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Enforce some horizontal margin between object and interface/support (contact not affected)
This commit is contained in:
parent
ca7d4163d7
commit
9513fa7600
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue