diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm index 3f6713afc..c760ad9ce 100644 --- a/lib/Slic3r/Config.pm +++ b/lib/Slic3r/Config.pm @@ -116,36 +116,36 @@ our $Options = { # speed options 'travel_speed' => { label => 'Travel (mm/s)', - cli => 'travel-speed=i', + cli => 'travel-speed=f', type => 'f', aliases => [qw(travel_feed_rate)], }, 'perimeter_speed' => { label => 'Perimeters (mm/s)', - cli => 'perimeter-speed=i', + cli => 'perimeter-speed=f', type => 'f', aliases => [qw(perimeter_feed_rate)], }, 'small_perimeter_speed' => { label => 'Small perimeters (mm/s)', - cli => 'small-perimeter-speed=i', + cli => 'small-perimeter-speed=f', type => 'f', }, 'infill_speed' => { label => 'Infill (mm/s)', - cli => 'infill-speed=i', + cli => 'infill-speed=f', type => 'f', aliases => [qw(print_feed_rate infill_feed_rate)], }, 'solid_infill_speed' => { label => 'Solid infill (mm/s)', - cli => 'solid-infill-speed=i', + cli => 'solid-infill-speed=f', type => 'f', aliases => [qw(solid_infill_feed_rate)], }, 'bridge_speed' => { label => 'Bridges (mm/s)', - cli => 'bridge-speed=i', + cli => 'bridge-speed=f', type => 'f', aliases => [qw(bridge_feed_rate)], }, @@ -298,7 +298,7 @@ our $Options = { }, 'retract_speed' => { label => 'Speed (mm/s)', - cli => 'retract-speed=i', + cli => 'retract-speed=f', type => 'i', }, 'retract_restart_extra' => { @@ -350,7 +350,7 @@ our $Options = { }, 'min_print_speed' => { label => 'Min print speed (mm/s)', - cli => 'min-print-speed=i', + cli => 'min-print-speed=f', type => 'i', }, 'disable_fan_first_layers' => { @@ -372,7 +372,7 @@ our $Options = { }, 'skirt_distance' => { label => 'Distance from object (mm)', - cli => 'skirt-distance=i', + cli => 'skirt-distance=f', type => 'i', }, 'skirt_height' => { @@ -406,7 +406,7 @@ our $Options = { }, 'duplicate_distance' => { label => 'Distance between copies', - cli => 'duplicate-distance=i', + cli => 'duplicate-distance=f', type => 'i', aliases => [qw(multiply_distance)], },