From be88fc5a84b0751776a99cf041954c5186859740 Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Mon, 15 Sep 2025 19:46:48 +0800 Subject: [PATCH] ENH:modify svg jira: STUDIO-13916 Change-Id: I1248bd0c367f49b6c3b6a9d8a3e5226cd7fac7e0 (cherry picked from commit 77278dc34175875e15f802e8e6023c6087e3a6c9) --- resources/images/bbl_bed_ep_left_bottom.svg | 49 +++++++++++--- resources/images/bbl_bed_st_left_bottom.svg | 74 ++++++++++++++++++--- src/slic3r/GUI/PartPlate.cpp | 4 +- 3 files changed, 105 insertions(+), 22 deletions(-) diff --git a/resources/images/bbl_bed_ep_left_bottom.svg b/resources/images/bbl_bed_ep_left_bottom.svg index 5df6b7d4ad..a5f2297662 100644 --- a/resources/images/bbl_bed_ep_left_bottom.svg +++ b/resources/images/bbl_bed_ep_left_bottom.svg @@ -1,11 +1,40 @@ - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/bbl_bed_st_left_bottom.svg b/resources/images/bbl_bed_st_left_bottom.svg index 5df6b7d4ad..7d411d0fb1 100644 --- a/resources/images/bbl_bed_st_left_bottom.svg +++ b/resources/images/bbl_bed_st_left_bottom.svg @@ -1,11 +1,65 @@ - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/slic3r/GUI/PartPlate.cpp b/src/slic3r/GUI/PartPlate.cpp index 8a8b591895..62cb47515b 100644 --- a/src/slic3r/GUI/PartPlate.cpp +++ b/src/slic3r/GUI/PartPlate.cpp @@ -6206,7 +6206,7 @@ void PartPlateList::init_bed_type_info() if (middle_rect[2] > 0.f) { st_part1 = BedTextureInfo::TexturePart(middle_rect[0], middle_rect[1], middle_rect[2], middle_rect[3], "bbl_bed_st_middle.svg"); } - st_part2 = BedTextureInfo::TexturePart(45, -14.5, 70, 8, "bbl_bed_st_left_bottom.svg"); + st_part2 = BedTextureInfo::TexturePart(45, -14.5, 260, 8, "bbl_bed_st_left_bottom.svg"); if (bottom_texture_end_name.size() > 0 && bottom_rect[2] > 0.f) { std::string st_part2_name = "bbl_bed_st_bottom_" + bottom_texture_end_name + ".svg"; st_part2 = BedTextureInfo::TexturePart(bottom_rect[0], bottom_rect[1], bottom_rect[2], bottom_rect[3], st_part2_name); @@ -6216,7 +6216,7 @@ void PartPlateList::init_bed_type_info() if (middle_rect[2] > 0.f) { ep_part1 = BedTextureInfo::TexturePart(middle_rect[0], middle_rect[1], middle_rect[2], middle_rect[3], "bbl_bed_ep_middle.svg"); } - ep_part2 = BedTextureInfo::TexturePart(45, -14.5, 70, 8, "bbl_bed_ep_left_bottom.svg"); + ep_part2 = BedTextureInfo::TexturePart(45, -14.5, 260, 8, "bbl_bed_ep_left_bottom.svg"); if (bottom_texture_end_name.size() > 0 && bottom_rect[2] > 0.f) { std::string ep_part2_name = "bbl_bed_ep_bottom_" + bottom_texture_end_name + ".svg"; ep_part2 = BedTextureInfo::TexturePart(bottom_rect[0], bottom_rect[1], bottom_rect[2], bottom_rect[3], ep_part2_name);