mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
New --solid-infill-extruder option. Includes a refactoring of the strategy used to order layer extrusions according to their extruder and island; toolchanges and travel moves should be more optimized now. #618
This commit is contained in:
parent
d9cffeca4a
commit
e79aa2e81c
25 changed files with 186 additions and 95 deletions
|
@ -1004,7 +1004,10 @@ sub combine_infill {
|
|||
next unless $every > 1 && $region->config->fill_density > 0;
|
||||
|
||||
# limit the number of combined layers to the maximum height allowed by this regions' nozzle
|
||||
my $nozzle_diameter = $self->print->config->get_at('nozzle_diameter', $region->config->infill_extruder-1);
|
||||
my $nozzle_diameter = min(
|
||||
$self->print->config->get_at('nozzle_diameter', $region->config->infill_extruder-1),
|
||||
$self->print->config->get_at('nozzle_diameter', $region->config->solid_infill_extruder-1),
|
||||
);
|
||||
|
||||
# define the combinations
|
||||
my %combine = (); # layer_idx => number of additional combined lower layers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue