Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Lenox <lenox.joseph@gmail.com>2016-11-28 04:15:27 +0300
committerbubnikv <bubnikv@gmail.com>2017-02-21 18:10:38 +0300
commitb91b98b21e342783b3c8989e0275294a808dd6ca (patch)
tree78ef983f0133abd4a13ea232c9d6a07ffc2be86b /xs/src/libslic3r/TriangleMesh.hpp
parent3bb237deee86b8a362cbfcef877e015aeee359be (diff)
Added prototype make_cylinder()
Diffstat (limited to 'xs/src/libslic3r/TriangleMesh.hpp')
-rw-r--r--xs/src/libslic3r/TriangleMesh.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xs/src/libslic3r/TriangleMesh.hpp b/xs/src/libslic3r/TriangleMesh.hpp
index 4c2ad2d5e..9320d2a16 100644
--- a/xs/src/libslic3r/TriangleMesh.hpp
+++ b/xs/src/libslic3r/TriangleMesh.hpp
@@ -111,6 +111,9 @@ class TriangleMeshSlicer
TriangleMesh make_cube(double x, double y, double z);
+// Generate a TriangleMesh of a cylinder
+TriangleMesh make_cylinder(double r, double h, double fa=(2*PI/360));
+
}
#endif