mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Perform additional checks before merging solid surfaces (i.e. take flow and fill pattern into account)
This commit is contained in:
parent
7be042567d
commit
7ce49fc2b2
2 changed files with 26 additions and 2 deletions
|
@ -62,7 +62,12 @@ sub make_fill {
|
|||
my @surfaces_with_bridge_angle = grep defined $_->bridge_angle, @fill_surfaces;
|
||||
|
||||
# give priority to bridges
|
||||
my @groups = Slic3r::Surface->group({merge_solid => 1}, @fill_surfaces);
|
||||
my @groups = Slic3r::Surface->group({
|
||||
bridged_bottom => ($layerm->id > 0),
|
||||
solid_infill_flow => $layerm->solid_infill_flow,
|
||||
top_infill_flow => $layerm->top_infill_flow,
|
||||
solid_fill_pattern => $layerm->config->solid_fill_pattern,
|
||||
}, @fill_surfaces);
|
||||
@groups = sort { defined $a->[0]->bridge_angle ? -1 : 0 } @groups;
|
||||
|
||||
foreach my $group (@groups) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue