mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 16:13:58 -06: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:
parent
700c574224
commit
39af8072ba
3 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue