Renamed bottom_layer_speed to first_layer_speed for consistency
This commit is contained in:
parent
4a188f8566
commit
896c7e952e
6 changed files with 13 additions and 12 deletions
|
@ -157,9 +157,9 @@ our $Options = {
|
|||
type => 'f',
|
||||
aliases => [qw(bridge_feed_rate)],
|
||||
},
|
||||
'bottom_layer_speed' => {
|
||||
label => 'Bottom layer speed (mm/s or %)',
|
||||
cli => 'bottom-layer-speed=f',
|
||||
'first_layer_speed' => {
|
||||
label => 'First layer speed (mm/s or %)',
|
||||
cli => 'first-layer-speed=f',
|
||||
type => 'f',
|
||||
},
|
||||
|
||||
|
@ -522,6 +522,7 @@ sub load {
|
|||
next if $ignore{$key};
|
||||
if ($key =~ /^(?:extrusion_width|bottom_layer_speed)_ratio$/) {
|
||||
$key = $1;
|
||||
$key =~ s/^bottom_layer_speed$/first_layer_speed/;
|
||||
$val = $val =~ /^\d+(\.\d+)?$/ ? ($val*100) . "%" : 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue