Add Accessory

This commit is contained in:
QIDI TECH
2023-10-21 16:51:36 +08:00
parent 00a61f7a0b
commit 417e890ac0
5 changed files with 54 additions and 3 deletions

View File

@@ -541,7 +541,9 @@ static std::vector<std::string> s_Preset_printer_options {
"cooling_tube_length", "high_current_on_filament_swap", "parking_pos_retraction", "extra_loading_move", "max_print_height",
"default_print_profile", "inherits",
"remaining_times", "silent_mode",
"machine_limits_usage", "thumbnails", "thumbnails_format"
"machine_limits_usage", "thumbnails", "thumbnails_format",
//Y16
"chamber_temperature", "auxiliary_fan", "chamber_fan"
};
static std::vector<std::string> s_Preset_sla_print_options {

View File

@@ -439,6 +439,14 @@ void PrintConfigDef::init_fff_params()
def->min = 0;
def->max = 300;
def->set_default_value(new ConfigOptionInts { 0 });
//Y16
def = this->add("chamber_temperature", coBool);
def->label = L("Chamber Temperature");
def->tooltip = L("Enable chamber temperature control.");
def->mode = comExpert;
def->set_default_value(new ConfigOptionBool(false));
//B24
def = this->add("volume_temperature", coInts);
def->label = L("Chamber");
@@ -1991,6 +1999,19 @@ void PrintConfigDef::init_fff_params()
def->mode = comExpert;
def->set_default_value(new ConfigOptionInts { 35 });
//Y16
def = this->add("auxiliary_fan", coBool);
def->label = L("Auxiliary Fan");
def->tooltip = L("Enable rapid cooling fan control.");
def->mode = comExpert;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("chamber_fan", coBool);
def->label = L("Chamber Fan");
def->tooltip = L("Enable chamber fan control.");
def->mode = comExpert;
def->set_default_value(new ConfigOptionBool(false));
//B15
def = this->add("enable_auxiliary_fan", coInts);
def->label = L("Rapid Cooling Fan Speed");

View File

@@ -770,6 +770,8 @@ PRINT_CONFIG_CLASS_DERIVED_DEFINE(
((ConfigOptionFloatOrPercent, avoid_crossing_perimeters_max_detour))
((ConfigOptionPoints, bed_shape))
((ConfigOptionInts, bed_temperature))
//Y16
((ConfigOptionBool, chamber_temperature))
//B24
((ConfigOptionInts, volume_temperature))
((ConfigOptionFloat, bridge_acceleration))
@@ -782,10 +784,13 @@ PRINT_CONFIG_CLASS_DERIVED_DEFINE(
((ConfigOptionBool, complete_objects))
((ConfigOptionFloats, colorprint_heights))
((ConfigOptionBools, cooling))
//Y16
((ConfigOptionBool, auxiliary_fan))
((ConfigOptionBool, chamber_fan))
//B25
((ConfigOptionInts, enable_volume_fan))
((ConfigOptionInts, enable_volume_fan))
//B15
((ConfigOptionInts, enable_auxiliary_fan))
((ConfigOptionInts, enable_auxiliary_fan))
((ConfigOptionFloat, default_acceleration))
((ConfigOptionInts, disable_fan_first_layers))
//B39