ENH: add supertcak plate code for plate checking

Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I16d98f5400a26a3fdc01501e4c68160c63ce1868
(cherry picked from commit 6aa6843a73d3281e746ae3c3d7e7566488bf93e8)
This commit is contained in:
qing.zhang 2024-10-09 10:17:31 +08:00 committed by Lane.Wei
parent 3be065d567
commit 29753be317
3 changed files with 8 additions and 3 deletions

View File

@ -26,6 +26,7 @@ enum MachineBedType {
BED_TYPE_PE,
BED_TYPE_PEI,
BED_TYPE_PTE,
BED_TYPE_SUPERTACK,
BED_TYPE_COUNT,
};

View File

@ -897,17 +897,20 @@ void SelectMachinePopup::OnLeftUp(wxMouseEvent &event)
static wxString MACHINE_BED_TYPE_STRING[BED_TYPE_COUNT] = {
//_L("Auto"),
_L("Bambu Cool Plate SuperTack"),
_L("Bambu Cool Plate") + " / " + _L("PLA Plate"),
_L("Bamabu Engineering Plate"),
_L("Bamabu Smooth PEI Plate") + "/" + _L("High temperature Plate"),
_L("Bamabu Textured PEI Plate")};
_L("Bamabu Textured PEI Plate")
};
static std::string MachineBedTypeString[BED_TYPE_COUNT] = {
//"auto",
"suprtack",
"pc",
"pe",
"pei",
"pte",
"pte"
};
void SelectMachineDialog::stripWhiteSpace(std::string& str)

View File

@ -21,8 +21,9 @@ static const std::string temp_gcode_path = temp_dir + "/temp.gcode";
static const std::string path = temp_dir + "/test.3mf";
static const std::string config_3mf_path = temp_dir + "/test_config.3mf";
static std::string MachineBedTypeString[5] = {
static std::string MachineBedTypeString[6] = {
"auto",
"suprtack",
"pc",
"ep",
"pei",