Apply bridge flow and speed to first layer as well, when we have raft layers. This behavior is more consistent when all the other bottom surfaces lying on the void (thus on support material). #2301

This commit is contained in:
Alessandro Ranellucci 2014-11-07 17:17:20 +01:00
parent f07c4ecadb
commit b6bd527bdc
2 changed files with 9 additions and 2 deletions

View file

@ -284,7 +284,7 @@ sub make_perimeters {
# detect overhanging/bridging perimeters
my @paths = ();
if ($self->region->config->overhangs && $lower_slices->count > 0) {
if ($self->region->config->overhangs) {
# get non-overhang paths by intersecting this loop with the grown lower slices
foreach my $polyline (@{ intersection_ppl([ $polygon ], $lower_slices_p) }) {
push @paths, Slic3r::ExtrusionPath->new(

View file

@ -700,7 +700,14 @@ sub detect_surfaces_type {
# if no lower layer, all surfaces of this one are solid
# we clone surfaces because we're going to clear the slices collection
@bottom = map $_->clone, @{$layerm->slices};
$_->surface_type(S_TYPE_BOTTOM) for @bottom;
# if we have raft layers, consider bottom layer as a bridge
# just like any other bottom surface lying on the void
if ($self->config->raft_layers > 0) {
$_->surface_type(S_TYPE_BOTTOMBRIDGE) for @bottom;
} else {
$_->surface_type(S_TYPE_BOTTOM) for @bottom;
}
}
# now, if the object contained a thin membrane, we could have overlapping bottom