aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2016-04-03 18:22:57 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2016-04-03 18:22:57 +0200
commitda73c369b53a3a87a475e9b6619efed5f88ecfc1 (patch)
tree5d3dbdab3958949f63c5706e98e920d5c7b60cf1 /lib
parent9f581c436766df33538317a5e80d074eb295a73f (diff)
More generic star connector and cube angles.
Diffstat (limited to 'lib')
-rw-r--r--lib/connectors.scad4
1 files changed, 2 insertions, 2 deletions
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);
}
}
}