From b28c936e31fd5d32905bf28a42a6c2831d3ff613 Mon Sep 17 00:00:00 2001 From: PMarten2 <119878176+PMarten2@users.noreply.github.com> Date: Mon, 5 Dec 2022 16:56:48 +0100 Subject: [PATCH] Index by One Error The Wire has one surface missing. --- spring.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring.scad b/spring.scad index c4eae89..7639339 100644 --- a/spring.scad +++ b/spring.scad @@ -111,7 +111,7 @@ function reverse(v) = reverse_r(v, len(v)-1); function circle_points(r = 1, a = 0) = - a < 360 + a <= 360 ? concat([[r * sin(a), r * cos(a),0]], circle_points(r, a + 360 / $fn)) : [] ;