Partial work for implementing a standby temperature option

This commit is contained in:
Alessandro Ranellucci 2013-09-18 17:45:02 +02:00
parent 4fe0675380
commit 991bc8ae3d
2 changed files with 23 additions and 0 deletions

View file

@ -217,6 +217,25 @@ our $Options = {
default => 1, default => 1,
}, },
# multiple extruder options
'standby_temperature' => {
label => 'Enable',
tooltip => 'This option will drop the temperature of the inactive extruders to prevent oozing. It will enable a tall skirt automatically and move extruders outside such skirt when changing temperatures.',
cli => 'standby-temperature!',
type => 'bool',
default => 0,
},
'standby_temperature_delta' => {
label => 'Temperature variation',
tooltip => 'Temperature difference to be applied when an extruder is not active.',
sidetext => '∆°C',
cli => 'standby-temperature-delta=i',
type => 'i',
min => -400,
max => 400,
default => -5,
},
# filament options # filament options
'first_layer_bed_temperature' => { 'first_layer_bed_temperature' => {
label => 'First layer', label => 'First layer',

View file

@ -528,6 +528,10 @@ sub build {
title => 'Extruders', title => 'Extruders',
options => [qw(perimeter_extruder infill_extruder support_material_extruder support_material_interface_extruder)], options => [qw(perimeter_extruder infill_extruder support_material_extruder support_material_interface_extruder)],
}, },
{
title => 'Standby Temperature',
options => [qw(standby_temperature standby_temperature_delta)],
},
]); ]);
$self->add_options_page('Advanced', 'wrench.png', optgroups => [ $self->add_options_page('Advanced', 'wrench.png', optgroups => [