New separate speed setting for gap fill. #785

This commit is contained in:
Alessandro Ranellucci 2012-11-23 11:25:02 +01:00
parent 68e302fe27
commit 5dba02fdeb
4 changed files with 12 additions and 2 deletions

View File

@ -145,6 +145,7 @@ The author of the Silk icon set is Mark James.
--top-solid-infill-speed Speed of print moves for top surfaces in mm/s or % over solid infill speed --top-solid-infill-speed Speed of print moves for top surfaces in mm/s or % over solid infill speed
(default: 50) (default: 50)
--bridge-speed Speed of bridge print moves in mm/s (default: 60) --bridge-speed Speed of bridge print moves in mm/s (default: 60)
--gap-fill-speed Speed of gap fill print moves in mm/s (default: 20)
--first-layer-speed Speed of print moves for bottom layer, expressed either as an absolute --first-layer-speed Speed of print moves for bottom layer, expressed either as an absolute
value or as a percentage over normal speeds (default: 30%) value or as a percentage over normal speeds (default: 30%)

View File

@ -293,6 +293,14 @@ our $Options = {
aliases => [qw(bridge_feed_rate)], aliases => [qw(bridge_feed_rate)],
default => 60, default => 60,
}, },
'gap_fill_speed' => {
label => 'Gap fill',
tooltip => 'Speed for filling small gaps using short zigzag moves. Keep this reasonably low to avoid too much shaking and resonance issues.',
sidetext => 'mm/s',
cli => 'gap-fill-speed=f',
type => 'f',
default => 20,
},
'first_layer_speed' => { 'first_layer_speed' => {
label => 'First layer speed', label => 'First layer speed',
tooltip => 'If expressed as absolute value in mm/s, this speed will be applied to all the print moves of the first layer, regardless of their type. If expressed as a percentage (for example: 40%) it will scale the default speeds.', tooltip => 'If expressed as absolute value in mm/s, this speed will be applied to all the print moves of the first layer, regardless of their type. If expressed as a percentage (for example: 40%) it will scale the default speeds.',

View File

@ -36,7 +36,7 @@ has 'speeds' => (
default => sub {+{ default => sub {+{
map { $_ => 60 * $Slic3r::Config->get_value("${_}_speed") } map { $_ => 60 * $Slic3r::Config->get_value("${_}_speed") }
qw(travel perimeter small_perimeter external_perimeter infill qw(travel perimeter small_perimeter external_perimeter infill
solid_infill top_solid_infill bridge), solid_infill top_solid_infill bridge gap_fill),
}}, }},
); );
@ -52,7 +52,7 @@ my %role_speeds = (
&EXTR_ROLE_BRIDGE => 'bridge', &EXTR_ROLE_BRIDGE => 'bridge',
&EXTR_ROLE_SKIRT => 'perimeter', &EXTR_ROLE_SKIRT => 'perimeter',
&EXTR_ROLE_SUPPORTMATERIAL => 'perimeter', &EXTR_ROLE_SUPPORTMATERIAL => 'perimeter',
&EXTR_ROLE_GAPFILL => 'solid_infill', &EXTR_ROLE_GAPFILL => 'gap_fill',
); );
sub set_shift { sub set_shift {

View File

@ -193,6 +193,7 @@ $j
--top-solid-infill-speed Speed of print moves for top surfaces in mm/s or % over solid infill speed --top-solid-infill-speed Speed of print moves for top surfaces in mm/s or % over solid infill speed
(default: $config->{top_solid_infill_speed}) (default: $config->{top_solid_infill_speed})
--bridge-speed Speed of bridge print moves in mm/s (default: $config->{bridge_speed}) --bridge-speed Speed of bridge print moves in mm/s (default: $config->{bridge_speed})
--gap-fill-speed Speed of gap fill print moves in mm/s (default: $config->{gap_fill_speed})
--first-layer-speed Speed of print moves for bottom layer, expressed either as an absolute --first-layer-speed Speed of print moves for bottom layer, expressed either as an absolute
value or as a percentage over normal speeds (default: $config->{first_layer_speed}) value or as a percentage over normal speeds (default: $config->{first_layer_speed})