mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
NEW: add a new generic object torus
torus.stl is borrowed from Prusa by YuSanka <yusanka@gmail.com>. We are thankful for that. Jira: none Change-Id: I45ee3fa7c1390fb48ecdc6a679ee5525526461d6 (cherry picked from commit 8ef4c9d9d44b1f66cb05259bb2135bd2e703f64a)
This commit is contained in:
@@ -2127,6 +2127,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 == "Disc")
|
||||
mesh.ReadSTLFile((Slic3r::resources_dir() + "/model/Disc.stl").c_str(), true, nullptr);
|
||||
else if (type_name == "Torus")
|
||||
mesh.ReadSTLFile((Slic3r::resources_dir() + "/model/torus.stl").c_str(), true, nullptr);
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user