From 1532fb1032321900042f45489f0ecba69c0fbbf8 Mon Sep 17 00:00:00 2001 From: Michael Frey Date: Thu, 20 Dec 2018 22:46:06 +0100 Subject: [PATCH] circle does not have a center parameter --- teardrop.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teardrop.scad b/teardrop.scad index 274c162..7cb9338 100644 --- a/teardrop.scad +++ b/teardrop.scad @@ -23,7 +23,7 @@ This script generates a teardrop shape at the appropriate angle to prevent overh module teardrop(radius, length, angle) { rotate([0, angle, 0]) union() { linear_extrude(height = length, center = true, convexity = radius, twist = 0) - circle(r = radius, center = true, $fn = 30); + circle(r = radius, $fn = 30); linear_extrude(height = length, center = true, convexity = radius, twist = 0) projection(cut = false) rotate([0, -angle, 0]) translate([0, 0, radius * sin(45) * 1.5]) cylinder(h = radius * sin(45), r1 = radius * sin(45), r2 = 0, center = true, $fn = 30); }