Skip to content

Commit

Permalink
NEW: [STUDIO-3710] add Bambu Cube V2
Browse files Browse the repository at this point in the history
Thank you very much to Thrutheframe for providing us with a very
valuable model for our software. We sincerely appreciate your time and
effort in helping us improve the project. Here is the model address:
https://www.printables.com/model/222285-bambu-lab-xyz-calibration-cube.
Thank you again, Thrutheframe.

Change-Id: I200fd23ab7a09683b2610664c8e09ae53fc42133
  • Loading branch information
DanBao-Bambu authored and lanewei120 committed Jul 31, 2023
1 parent 9d552dd commit 619cb8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file added resources/model/Bambu_Cube_V2.stl
Binary file not shown.
2 changes: 1 addition & 1 deletion src/slic3r/GUI/GUI_Factories.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ wxMenu* MenuFactory::append_submenu_add_generic(wxMenu* menu, ModelVolumeType ty

if (type == ModelVolumeType::INVALID) {
sub_menu->AppendSeparator();
for (auto &item : {L("Bambu Cube"), L("3DBenchy"), L("ksr FDMTest")}) {
for (auto &item : {L("Bambu Cube"), L("Bambu Cube V2"), L("3DBenchy"), L("ksr FDMTest")}) {
append_menu_item(
sub_menu, wxID_ANY, _(item), "", [type, item](wxCommandEvent &) { obj_list()->load_generic_subobject(item, type); }, "", menu);
}
Expand Down
2 changes: 2 additions & 0 deletions src/slic3r/GUI/GUI_ObjectList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2055,6 +2055,8 @@ static TriangleMesh create_mesh(const std::string& type_name, const BoundingBoxf
mesh = TriangleMesh(its_make_cone(0.5 * side, side));
else if (type_name == "Bambu Cube")
mesh.ReadSTLFile((Slic3r::resources_dir() + "/model/Bambu_Cube.stl").c_str(), true, nullptr);
else if (type_name == "Bambu Cube V2")
mesh.ReadSTLFile((Slic3r::resources_dir() + "/model/Bambu_Cube_V2.stl").c_str(), true, nullptr);
else if (type_name == "3DBenchy")
mesh.ReadSTLFile((Slic3r::resources_dir() + "/model/3DBenchy.stl").c_str(), true, nullptr);
else if (type_name == "ksr FDMTest")
Expand Down

0 comments on commit 619cb8e

Please sign in to comment.