mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
Fix regressions with introduction of supertak plate for non BBL printers. Generalised plate title. (#7883)
This commit is contained in:
parent
83eb1366c7
commit
2f55dd7cfe
2 changed files with 7 additions and 8 deletions
|
@ -722,7 +722,7 @@ void PrintConfigDef::init_fff_params()
|
||||||
def->label = L("Initial layer");
|
def->label = L("Initial layer");
|
||||||
def->full_label = L("Initial layer bed temperature");
|
def->full_label = L("Initial layer bed temperature");
|
||||||
def->tooltip = L("Bed temperature of the initial layer. "
|
def->tooltip = L("Bed temperature of the initial layer. "
|
||||||
"Value 0 means the filament does not support to print on the Bambu Cool Plate SuperTack");
|
"Value 0 means the filament does not support to print on the Cool Plate SuperTack");
|
||||||
def->sidetext = "°C";
|
def->sidetext = "°C";
|
||||||
def->min = 0;
|
def->min = 0;
|
||||||
def->max = 120;
|
def->max = 120;
|
||||||
|
@ -789,8 +789,8 @@ void PrintConfigDef::init_fff_params()
|
||||||
def->enum_values.emplace_back("High Temp Plate");
|
def->enum_values.emplace_back("High Temp Plate");
|
||||||
def->enum_values.emplace_back("Textured PEI Plate");
|
def->enum_values.emplace_back("Textured PEI Plate");
|
||||||
def->enum_values.emplace_back("Textured Cool Plate");
|
def->enum_values.emplace_back("Textured Cool Plate");
|
||||||
def->enum_labels.emplace_back(L("Bambu Cool Plate SuperTack"));
|
def->enum_labels.emplace_back(L("Cool Plate (SuperTack)"));
|
||||||
def->enum_labels.emplace_back(L("Smooth Cool Plate / PLA Plate"));
|
def->enum_labels.emplace_back(L("Smooth Cool Plate"));
|
||||||
def->enum_labels.emplace_back(L("Engineering Plate"));
|
def->enum_labels.emplace_back(L("Engineering Plate"));
|
||||||
def->enum_labels.emplace_back(L("Smooth High Temp Plate"));
|
def->enum_labels.emplace_back(L("Smooth High Temp Plate"));
|
||||||
def->enum_labels.emplace_back(L("Textured PEI Plate"));
|
def->enum_labels.emplace_back(L("Textured PEI Plate"));
|
||||||
|
|
|
@ -3335,12 +3335,12 @@ void TabFilament::build()
|
||||||
optgroup->append_line(line);
|
optgroup->append_line(line);
|
||||||
|
|
||||||
optgroup = page->new_optgroup(L("Bed temperature"), L"param_bed_temp");
|
optgroup = page->new_optgroup(L("Bed temperature"), L"param_bed_temp");
|
||||||
line = {L("Bambu Cool Plate SuperTack"), L("Bed temperature when cool plate is installed. Value 0 means the filament does not support to print on the Bambu Cool Plate SuperTack")};
|
line = {L("Cool Plate (SuperTack)"), L("Bed temperature when cool plate is installed. Value 0 means the filament does not support to print on the Cool Plate SuperTack")};
|
||||||
line.append_option(optgroup->get_option("supertack_plate_temp_initial_layer"));
|
line.append_option(optgroup->get_option("supertack_plate_temp_initial_layer"));
|
||||||
line.append_option(optgroup->get_option("supertack_plate_temp"));
|
line.append_option(optgroup->get_option("supertack_plate_temp"));
|
||||||
optgroup->append_line(line);
|
optgroup->append_line(line);
|
||||||
|
|
||||||
line = { L("Cool Plate / PLA Plate"), L("Bed temperature when cool plate is installed. Value 0 means the filament does not support to print on the Cool Plate") };
|
line = { L("Cool Plate"), L("Bed temperature when cool plate is installed. Value 0 means the filament does not support to print on the Cool Plate") };
|
||||||
line.append_option(optgroup->get_option("cool_plate_temp_initial_layer"));
|
line.append_option(optgroup->get_option("cool_plate_temp_initial_layer"));
|
||||||
line.append_option(optgroup->get_option("cool_plate_temp"));
|
line.append_option(optgroup->get_option("cool_plate_temp"));
|
||||||
optgroup->append_line(line);
|
optgroup->append_line(line);
|
||||||
|
@ -3611,7 +3611,9 @@ void TabFilament::toggle_options()
|
||||||
{
|
{
|
||||||
bool pa = m_config->opt_bool("enable_pressure_advance", 0);
|
bool pa = m_config->opt_bool("enable_pressure_advance", 0);
|
||||||
toggle_option("pressure_advance", pa);
|
toggle_option("pressure_advance", pa);
|
||||||
|
// Orca: Enable the plates that should be visible when multi bed support is enabled or a BBL printer is selected
|
||||||
auto support_multi_bed_types = is_BBL_printer || cfg.opt_bool("support_multi_bed_types");
|
auto support_multi_bed_types = is_BBL_printer || cfg.opt_bool("support_multi_bed_types");
|
||||||
|
toggle_line("supertack_plate_temp_initial_layer", support_multi_bed_types );
|
||||||
toggle_line("cool_plate_temp_initial_layer", support_multi_bed_types );
|
toggle_line("cool_plate_temp_initial_layer", support_multi_bed_types );
|
||||||
toggle_line("textured_cool_plate_temp_initial_layer", support_multi_bed_types);
|
toggle_line("textured_cool_plate_temp_initial_layer", support_multi_bed_types);
|
||||||
toggle_line("eng_plate_temp_initial_layer", support_multi_bed_types);
|
toggle_line("eng_plate_temp_initial_layer", support_multi_bed_types);
|
||||||
|
@ -3633,9 +3635,6 @@ void TabFilament::toggle_options()
|
||||||
|
|
||||||
bool support_chamber_temp_control = this->m_preset_bundle->printers.get_edited_preset().config.opt_bool("support_chamber_temp_control");
|
bool support_chamber_temp_control = this->m_preset_bundle->printers.get_edited_preset().config.opt_bool("support_chamber_temp_control");
|
||||||
toggle_line("chamber_temperatures", support_chamber_temp_control);
|
toggle_line("chamber_temperatures", support_chamber_temp_control);
|
||||||
|
|
||||||
for (auto el : {"supertack_plate_temp", "supertack_plate_temp_initial_layer", "cool_plate_temp", "cool_plate_temp_initial_layer", "eng_plate_temp", "eng_plate_temp_initial_layer", "textured_plate_temp", "textured_plate_temp_initial_layer"})
|
|
||||||
toggle_line(el, is_BBL_printer);
|
|
||||||
}
|
}
|
||||||
if (m_active_page->title() == L("Setting Overrides"))
|
if (m_active_page->title() == L("Setting Overrides"))
|
||||||
update_filament_overrides_page(&cfg);
|
update_filament_overrides_page(&cfg);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue