diff --git a/resources/images/bbl_bed_ep_bottom_n.svg b/resources/images/bbl_bed_ep_bottom_n.svg new file mode 100644 index 0000000000..2c6403fc3d --- /dev/null +++ b/resources/images/bbl_bed_ep_bottom_n.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/bbl_bed_pei_bottom_n.svg b/resources/images/bbl_bed_pei_bottom_n.svg new file mode 100644 index 0000000000..4130318a41 --- /dev/null +++ b/resources/images/bbl_bed_pei_bottom_n.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/bbl_bed_pte_bottom_n.svg b/resources/images/bbl_bed_pte_bottom_n.svg new file mode 100644 index 0000000000..4130318a41 --- /dev/null +++ b/resources/images/bbl_bed_pte_bottom_n.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/bbl_bed_st_bottom_n.svg b/resources/images/bbl_bed_st_bottom_n.svg new file mode 100644 index 0000000000..b4a76a6ee9 --- /dev/null +++ b/resources/images/bbl_bed_st_bottom_n.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/bed_cool_supertack_n.png b/resources/images/bed_cool_supertack_n.png new file mode 100644 index 0000000000..7ba934c97a Binary files /dev/null and b/resources/images/bed_cool_supertack_n.png differ diff --git a/resources/images/bed_engineering_n.png b/resources/images/bed_engineering_n.png new file mode 100644 index 0000000000..5ad3ab938f Binary files /dev/null and b/resources/images/bed_engineering_n.png differ diff --git a/resources/images/bed_high_templ_n.png b/resources/images/bed_high_templ_n.png new file mode 100644 index 0000000000..3fe8a603c8 Binary files /dev/null and b/resources/images/bed_high_templ_n.png differ diff --git a/resources/images/bed_pei_n.png b/resources/images/bed_pei_n.png new file mode 100644 index 0000000000..4a1913516d Binary files /dev/null and b/resources/images/bed_pei_n.png differ diff --git a/resources/images/big_bed_cool_supertack_n.png b/resources/images/big_bed_cool_supertack_n.png new file mode 100644 index 0000000000..1d87d3e831 Binary files /dev/null and b/resources/images/big_bed_cool_supertack_n.png differ diff --git a/resources/images/big_bed_engineering_n.png b/resources/images/big_bed_engineering_n.png new file mode 100644 index 0000000000..d8329e8b0c Binary files /dev/null and b/resources/images/big_bed_engineering_n.png differ diff --git a/resources/images/big_bed_high_templ_n.png b/resources/images/big_bed_high_templ_n.png new file mode 100644 index 0000000000..ebc1b5f237 Binary files /dev/null and b/resources/images/big_bed_high_templ_n.png differ diff --git a/resources/images/big_bed_pei_n.png b/resources/images/big_bed_pei_n.png new file mode 100644 index 0000000000..e87d15993d Binary files /dev/null and b/resources/images/big_bed_pei_n.png differ diff --git a/resources/profiles/BBL/machine/Bambu Lab P2S.json b/resources/profiles/BBL/machine/Bambu Lab P2S.json index 2b80aeef81..4c49239343 100644 --- a/resources/profiles/BBL/machine/Bambu Lab P2S.json +++ b/resources/profiles/BBL/machine/Bambu Lab P2S.json @@ -6,6 +6,8 @@ "bed_model": "bbl-3dp-X1.stl", "bed_texture": "bbl-3dp-logo.svg", "default_bed_type": "Textured PEI Plate", + "image_bed_type": "n", + "bottom_texture_end_name": "n", "not_support_bed_type": "Cool Plate", "family": "BBL-3DP", "machine_tech": "FFF", diff --git a/src/slic3r/GUI/PartPlate.cpp b/src/slic3r/GUI/PartPlate.cpp index 9652fd8188..8a8b591895 100644 --- a/src/slic3r/GUI/PartPlate.cpp +++ b/src/slic3r/GUI/PartPlate.cpp @@ -6236,6 +6236,14 @@ void PartPlateList::init_bed_type_info() for (int i = 0; i < bed_types.size(); i++) { m_allow_bed_type_in_double_nozzle[bed_types[i]] = true; } + } else { + if (bottom_texture_end_name.size() > 0) { + st_part2.update_file("bbl_bed_st_bottom_" + bottom_texture_end_name + ".svg"); + pc_part2.update_file("bbl_bed_pc_bottom_" + bottom_texture_end_name + ".svg"); + ep_part2.update_file("bbl_bed_ep_bottom_" + bottom_texture_end_name + ".svg"); + pei_part2.update_file("bbl_bed_pei_bottom_" + bottom_texture_end_name + ".svg"); + pte_part2.update_file("bbl_bed_pte_bottom_" + bottom_texture_end_name + ".svg"); + } } for (size_t i = 0; i < btCount; i++) { diff --git a/src/slic3r/GUI/PartPlate.hpp b/src/slic3r/GUI/PartPlate.hpp index c273c07818..70e3ec8e9a 100644 --- a/src/slic3r/GUI/PartPlate.hpp +++ b/src/slic3r/GUI/PartPlate.hpp @@ -667,6 +667,9 @@ public: this->filename = part.filename; this->texture = part.texture; } + void update_file(std::string file) { + filename = file; + } void update_buffer(); void reset();