NEW: [STUDIO-3710] add Bambu Cube V2
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
This commit is contained in:
parent
9d552ddb10
commit
619cb8eeff
Binary file not shown.
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue