ENH:update image for plate type

jira: none
Change-Id: I590bf9d6596ccf5cd6e06844fb3ed247fa526ba6
(cherry picked from commit 6be306e548be9129d6cf1c34242910be02a70ed8)
This commit is contained in:
zhou.xu
2025-03-05 15:52:46 +08:00
committed by Noisyfox
parent ebf1b8a2e1
commit 2c41b6e529
27 changed files with 40 additions and 19 deletions

View File

@@ -60,6 +60,7 @@
#define BBL_JSON_KEY_FAMILY "family"
#define BBL_JSON_KEY_BED_MODEL "bed_model"
#define BBL_JSON_KEY_BED_TEXTURE "bed_texture"
#define BBL_JSON_KEY_IMAGE_BED_TYPE "image_bed_type"
#define BBL_JSON_KEY_HOTEND_MODEL "hotend_model"
#define BBL_JSON_KEY_DEFAULT_MATERIALS "default_materials"
#define BBL_JSON_KEY_NOT_SUPPORT_BED_TYPE "not_support_bed_type"
@@ -118,8 +119,8 @@ public:
// Vendor & Printer Model specific print bed model & texture.
std::string bed_model;
std::string bed_texture;
std::string image_bed_type;
std::string hotend_model;
PrinterVariant* variant(const std::string &name) {
for (auto &v : this->variants)
if (v.name == name)