Adding min fan speed to always set (override layer times)

This commit is contained in:
LarsBrubaker 2020-12-02 08:03:41 -08:00
parent 218a3ee6e5
commit 40659f2423
6 changed files with 17 additions and 2 deletions

View file

@ -155,6 +155,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
public const string merge_overlapping_lines = nameof(merge_overlapping_lines);
public const string min_extrusion_before_retract = nameof(min_extrusion_before_retract);
public const string min_fan_speed = nameof(min_fan_speed);
public const string min_fan_speed_absolute = nameof(min_fan_speed_absolute);
public const string min_fan_speed_layer_time = nameof(min_fan_speed_layer_time);
public const string min_print_speed = nameof(min_print_speed);
public const string min_skirt_length = nameof(min_skirt_length);

View file

@ -1229,6 +1229,18 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
Converter = new ValueConverter(),
},
new SliceSettingData()
{
SlicerConfigName = SettingsKey.min_fan_speed_absolute,
PresentationName = "Minimum Speed Always".Localize(),
HelpText = "The minimum speed at which the layer cooling fan will run, expressed as a percentage of full power, regardless of layer time.".Localize(),
DataEditType = DataEditTypes.INT,
Units = "seconds".Localize(),
ShowIfSet = "has_fan",
EnableIfSet = SettingsKey.enable_fan,
DefaultValue = "0",
Converter = new ValueConverter(),
},
new SliceSettingData()
{
SlicerConfigName = SettingsKey.max_fan_speed_layer_time,
PresentationName = "Run Max if Below".Localize(),