ENH: use a better cone model
The cone made from its_make_cone has issue with mesh boolean. Now we copy cone.stl from Prusa. Thanks. jira: none Change-Id: Ie90132f0676dda1c937093e167f40376c61c8a6f (cherry picked from commit 8d2261077f105a80a185b8d8011d1e3098d174bd)
This commit is contained in:
parent
f3bd5ff870
commit
499106aafa
Binary file not shown.
|
@ -2083,7 +2083,7 @@ static TriangleMesh create_mesh(const std::string& type_name, const BoundingBoxf
|
|||
// Sitting on the print bed, left front front corner at (0, 0).
|
||||
mesh = TriangleMesh(its_make_cube(bb.size().x() * 1.5, bb.size().y() * 1.5, bb.size().z() * 0.5));
|
||||
else if (type_name == "Cone")
|
||||
mesh = TriangleMesh(its_make_cone(0.5 * side, side));
|
||||
mesh.ReadSTLFile((Slic3r::resources_dir() + "/model/cone.stl").c_str(), true, nullptr);
|
||||
else if (type_name == "Disc")
|
||||
mesh.ReadSTLFile((Slic3r::resources_dir() + "/model/Disc.stl").c_str(), true, nullptr);
|
||||
else if (type_name == "Torus")
|
||||
|
|
Loading…
Reference in New Issue