From 6404f06e79d38ffa8f7f296b10af2af1c2a3974d Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Tue, 5 Nov 2024 12:10:39 +0800 Subject: [PATCH] NEW:add SuperTack svg jira: none Change-Id: Id6153f76f8634d1f00485991b75cbe526fb64adc --- resources/images/bbl_bed_st_bottom.svg | 22 +++++++++++++++++ resources/images/bbl_bed_st_left.svg | 34 ++++++++++++++++++++++++++ src/slic3r/GUI/PartPlate.cpp | 6 ++++- 3 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 resources/images/bbl_bed_st_bottom.svg create mode 100644 resources/images/bbl_bed_st_left.svg diff --git a/resources/images/bbl_bed_st_bottom.svg b/resources/images/bbl_bed_st_bottom.svg new file mode 100644 index 000000000..68c0c0f59 --- /dev/null +++ b/resources/images/bbl_bed_st_bottom.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/bbl_bed_st_left.svg b/resources/images/bbl_bed_st_left.svg new file mode 100644 index 000000000..4a7c10acb --- /dev/null +++ b/resources/images/bbl_bed_st_left.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/slic3r/GUI/PartPlate.cpp b/src/slic3r/GUI/PartPlate.cpp index c210b634c..a4d97b070 100644 --- a/src/slic3r/GUI/PartPlate.cpp +++ b/src/slic3r/GUI/PartPlate.cpp @@ -5569,7 +5569,9 @@ void PartPlateList::BedTextureInfo::reset() void PartPlateList::init_bed_type_info() { - BedTextureInfo::TexturePart pc_part1(10, 130, 10, 110, "bbl_bed_pc_left.svg"); + BedTextureInfo::TexturePart st_part1(9, 70, 12.5, 170, "bbl_bed_st_left.svg"); + BedTextureInfo::TexturePart st_part2(74, -10, 148, 12, "bbl_bed_st_bottom.svg"); + BedTextureInfo::TexturePart pc_part1(10, 130, 10, 110, "bbl_bed_pc_left.svg"); BedTextureInfo::TexturePart pc_part2(74, -10, 148, 12, "bbl_bed_pc_bottom.svg"); BedTextureInfo::TexturePart ep_part1(7.5, 90, 12.5, 150, "bbl_bed_ep_left.svg"); BedTextureInfo::TexturePart ep_part2(74, -10, 148, 12, "bbl_bed_ep_bottom.svg"); @@ -5581,6 +5583,8 @@ void PartPlateList::init_bed_type_info() bed_texture_info[i].reset(); bed_texture_info[i].parts.clear(); } + bed_texture_info[btSuperTack].parts.push_back(st_part1); + bed_texture_info[btSuperTack].parts.push_back(st_part2); bed_texture_info[btPC].parts.push_back(pc_part1); bed_texture_info[btPC].parts.push_back(pc_part2); bed_texture_info[btEP].parts.push_back(ep_part1);