mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Ignore holes in object footprint when generating raft
This commit is contained in:
parent
ce1e736b6b
commit
39b8ac80ee
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ sub contact_area {
|
||||||
if ($layer_id == 0) {
|
if ($layer_id == 0) {
|
||||||
# this is the first object layer, so we're here just to get the object
|
# this is the first object layer, so we're here just to get the object
|
||||||
# footprint for the raft
|
# footprint for the raft
|
||||||
push @overhang, map $_->clone, map @$_, @{$layer->slices};
|
# we only consider contours and discard holes to get a more continuous raft
|
||||||
|
push @overhang, map $_->clone, map $_->contour, @{$layer->slices};
|
||||||
push @contact, @{offset(\@overhang, scale +MARGIN)};
|
push @contact, @{offset(\@overhang, scale +MARGIN)};
|
||||||
} else {
|
} else {
|
||||||
my $lower_layer = $object->layers->[$layer_id-1];
|
my $lower_layer = $object->layers->[$layer_id-1];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue