Speed for support material. #813

This commit is contained in:
Alessandro Ranellucci 2012-11-23 17:20:26 +01:00
parent d6d96391a9
commit 0f0992e39a
5 changed files with 16 additions and 4 deletions

View File

@ -144,6 +144,8 @@ The author of the Silk icon set is Mark James.
(default: 60) (default: 60)
--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)
--support-material-speed
Speed of support material print moves in mm/s (default: 60)
--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) --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

View File

@ -284,6 +284,14 @@ our $Options = {
ratio_over => 'solid_infill_speed', ratio_over => 'solid_infill_speed',
default => 50, default => 50,
}, },
'support_material_speed' => {
label => 'Support material',
tooltip => 'Speed for printing support material.',
sidetext => 'mm/s',
cli => 'support-material-speed=f',
type => 'f',
default => 60,
},
'bridge_speed' => { 'bridge_speed' => {
label => 'Bridges', label => 'Bridges',
tooltip => 'Speed for printing bridges.', tooltip => 'Speed for printing bridges.',

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 gap_fill), solid_infill top_solid_infill support_material bridge),
}}, }},
); );
@ -51,8 +51,8 @@ my %role_speeds = (
&EXTR_ROLE_TOPSOLIDFILL => 'top_solid_infill', &EXTR_ROLE_TOPSOLIDFILL => 'top_solid_infill',
&EXTR_ROLE_BRIDGE => 'bridge', &EXTR_ROLE_BRIDGE => 'bridge',
&EXTR_ROLE_SKIRT => 'perimeter', &EXTR_ROLE_SKIRT => 'perimeter',
&EXTR_ROLE_SUPPORTMATERIAL => 'perimeter', &EXTR_ROLE_SUPPORTMATERIAL => 'support_material',
&EXTR_ROLE_GAPFILL => 'gap_fill', &EXTR_ROLE_GAPFILL => 'solid_infill',
); );
sub set_shift { sub set_shift {

View File

@ -420,7 +420,7 @@ sub build {
$self->add_options_page('Speed', 'time.png', optgroups => [ $self->add_options_page('Speed', 'time.png', optgroups => [
{ {
title => 'Speed for print moves', title => 'Speed for print moves',
options => [qw(perimeter_speed small_perimeter_speed external_perimeter_speed infill_speed solid_infill_speed top_solid_infill_speed bridge_speed gap_fill_speed)], options => [qw(perimeter_speed small_perimeter_speed external_perimeter_speed infill_speed solid_infill_speed top_solid_infill_speed support_material_speed bridge_speed gap_fill_speed)],
}, },
{ {
title => 'Speed for non-print moves', title => 'Speed for non-print moves',

View File

@ -192,6 +192,8 @@ $j
(default: $config->{solid_infill_speed}) (default: $config->{solid_infill_speed})
--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})
--support-material-speed
Speed of support material print moves in mm/s (default: $config->{support_material_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}) --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