FIX: adjust plate type eume
Jira: none Signed-off-by: qing.zhang <qing.zhang@bambulab.com> Change-Id: If5bab050cc4d243d1ac414b91d1b6e10fa95dad2
This commit is contained in:
parent
6404f06e79
commit
4d4883953d
|
@ -322,11 +322,11 @@ CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(OverhangThresholdParticipatingCooling)
|
||||||
// BBS
|
// BBS
|
||||||
static const t_config_enum_values s_keys_map_BedType = {
|
static const t_config_enum_values s_keys_map_BedType = {
|
||||||
{ "Default Plate", btDefault },
|
{ "Default Plate", btDefault },
|
||||||
{ "Supertack Plate", btSuperTack },
|
|
||||||
{ "Cool Plate", btPC },
|
{ "Cool Plate", btPC },
|
||||||
{ "Engineering Plate", btEP },
|
{ "Engineering Plate", btEP },
|
||||||
{ "High Temp Plate", btPEI },
|
{ "High Temp Plate", btPEI },
|
||||||
{ "Textured PEI Plate", btPTE }
|
{ "Textured PEI Plate", btPTE },
|
||||||
|
{"Supertack Plate", btSuperTack}
|
||||||
};
|
};
|
||||||
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(BedType)
|
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(BedType)
|
||||||
|
|
||||||
|
@ -691,16 +691,16 @@ void PrintConfigDef::init_fff_params()
|
||||||
def->tooltip = L("Bed types supported by the printer");
|
def->tooltip = L("Bed types supported by the printer");
|
||||||
def->mode = comSimple;
|
def->mode = comSimple;
|
||||||
def->enum_keys_map = &s_keys_map_BedType;
|
def->enum_keys_map = &s_keys_map_BedType;
|
||||||
def->enum_values.emplace_back("Supertack Plate");
|
|
||||||
def->enum_values.emplace_back("Cool Plate");
|
def->enum_values.emplace_back("Cool Plate");
|
||||||
def->enum_values.emplace_back("Engineering Plate");
|
def->enum_values.emplace_back("Engineering Plate");
|
||||||
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_labels.emplace_back(L("Bambu Cool Plate SuperTack"));
|
def->enum_values.emplace_back("Supertack Plate");
|
||||||
def->enum_labels.emplace_back(L("Cool Plate / PLA Plate"));
|
def->enum_labels.emplace_back(L("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 PEI Plate / High Temp Plate"));
|
def->enum_labels.emplace_back(L("Smooth PEI Plate / High Temp Plate"));
|
||||||
def->enum_labels.emplace_back(L("Textured PEI Plate"));
|
def->enum_labels.emplace_back(L("Textured PEI Plate"));
|
||||||
|
def->enum_labels.emplace_back(L("Bambu Cool Plate SuperTack"));
|
||||||
def->set_default_value(new ConfigOptionEnum<BedType>(btPC));
|
def->set_default_value(new ConfigOptionEnum<BedType>(btPC));
|
||||||
|
|
||||||
// BBS
|
// BBS
|
||||||
|
|
|
@ -226,11 +226,11 @@ enum OverhangThresholdParticipatingCooling {
|
||||||
// BBS
|
// BBS
|
||||||
enum BedType {
|
enum BedType {
|
||||||
btDefault = 0,
|
btDefault = 0,
|
||||||
btSuperTack,
|
|
||||||
btPC,
|
btPC,
|
||||||
btEP,
|
btEP,
|
||||||
btPEI,
|
btPEI,
|
||||||
btPTE,
|
btPTE,
|
||||||
|
btSuperTack,
|
||||||
btCount
|
btCount
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -897,20 +897,20 @@ void SelectMachinePopup::OnLeftUp(wxMouseEvent &event)
|
||||||
|
|
||||||
static wxString MACHINE_BED_TYPE_STRING[BED_TYPE_COUNT] = {
|
static wxString MACHINE_BED_TYPE_STRING[BED_TYPE_COUNT] = {
|
||||||
//_L("Auto"),
|
//_L("Auto"),
|
||||||
_L("Bambu Cool Plate SuperTack"),
|
_L("Bambu Cool Plate"),
|
||||||
_L("Bambu Cool Plate") + " / " + _L("PLA Plate"),
|
|
||||||
_L("Bamabu Engineering Plate"),
|
_L("Bamabu Engineering Plate"),
|
||||||
_L("Bamabu Smooth PEI Plate") + "/" + _L("High temperature Plate"),
|
_L("Bamabu Smooth PEI Plate") + "/" + _L("High temperature Plate"),
|
||||||
_L("Bamabu Textured PEI Plate")
|
_L("Bamabu Textured PEI Plate"),
|
||||||
|
_L("Bambu Cool Plate SuperTack")
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string MachineBedTypeString[BED_TYPE_COUNT] = {
|
static std::string MachineBedTypeString[BED_TYPE_COUNT] = {
|
||||||
//"auto",
|
//"auto",
|
||||||
"suprtack",
|
|
||||||
"pc",
|
"pc",
|
||||||
"pe",
|
"pe",
|
||||||
"pei",
|
"pei",
|
||||||
"pte"
|
"pte",
|
||||||
|
"suprtack"
|
||||||
};
|
};
|
||||||
|
|
||||||
void SelectMachineDialog::stripWhiteSpace(std::string& str)
|
void SelectMachineDialog::stripWhiteSpace(std::string& str)
|
||||||
|
|
|
@ -23,11 +23,11 @@ static const std::string config_3mf_path = temp_dir + "/test_config.3mf";
|
||||||
|
|
||||||
static std::string MachineBedTypeString[6] = {
|
static std::string MachineBedTypeString[6] = {
|
||||||
"auto",
|
"auto",
|
||||||
"suprtack",
|
|
||||||
"pc",
|
"pc",
|
||||||
"ep",
|
"ep",
|
||||||
"pei",
|
"pei",
|
||||||
"pte"
|
"pte",
|
||||||
|
"suprtack"
|
||||||
};
|
};
|
||||||
|
|
||||||
void get_default_k_n_value(const std::string &filament_id, float &k, float &n)
|
void get_default_k_n_value(const std::string &filament_id, float &k, float &n)
|
||||||
|
|
Loading…
Reference in New Issue