From 232549f172b5d80ae9267b8f002dab1eb059b869 Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Fri, 24 Oct 2014 13:52:02 +0200 Subject: Star connector --- lib/connectors.scad | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lib') diff --git a/lib/connectors.scad b/lib/connectors.scad index 58bf259..dd4a973 100644 --- a/lib/connectors.scad +++ b/lib/connectors.scad @@ -47,3 +47,17 @@ module t_connector(radius, wall, len, angle) { rotate([0, angle, 0]) translate([0, 0, radius+wall]) cylinder(r=radius, h=len); } } + +module star_connector(radius, wall, len, angles) { + rotate([90,0,0]) difference() { + union() { + sphere(r=radius + wall); + for (a = angles) { + rotate([0, a, 0]) cylinder(r=radius + wall, h=len); + } + } + for (a = angles) { + rotate([0, a, 0]) translate([0, 0, radius+wall]) cylinder(r=radius, h=len); + } + } +} -- cgit v1.2.3