From da73c369b53a3a87a475e9b6619efed5f88ecfc1 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 3 Apr 2016 18:22:57 +0200 Subject: More generic star connector and cube angles. --- lib/connectors.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/connectors.scad b/lib/connectors.scad index 078844e..4ecb0f5 100644 --- a/lib/connectors.scad +++ b/lib/connectors.scad @@ -53,11 +53,11 @@ module star_connector(radius, wall, len, angles) { union() { sphere(r=radius + wall); for (a = angles) { - rotate([0, a, 0]) cylinder(r=radius + wall, h=len); + rotate(a) cylinder(r=radius + wall, h=len); } } for (a = angles) { - rotate([0, a, 0]) translate([0, 0, radius+wall]) cylinder(r=radius, h=len); + rotate(a) translate([0, 0, radius+wall]) cylinder(r=radius, h=len); } } } -- cgit v1.2.3