From 92371c60548fbfbb25b480c2f2823934ce1ba088 Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Fri, 24 Oct 2014 13:44:40 +0200 Subject: T-connector --- lib/connectors.scad | 12 ++++++++++++ parts/t_connector-90.scad | 9 +++++++++ 2 files changed, 21 insertions(+) create mode 100644 parts/t_connector-90.scad diff --git a/lib/connectors.scad b/lib/connectors.scad index 063bcaa..58bf259 100644 --- a/lib/connectors.scad +++ b/lib/connectors.scad @@ -35,3 +35,15 @@ module foot(radius,wall,len,foot_radius,foot_height,angle,hole_radius,hole_dist, } } } + +module t_connector(radius, wall, len, angle) { + rotate([90,0,0]) difference() { + union() { + cylinder(r=radius + wall, h=len*2, center=true); + rotate([0, angle, 0]) cylinder(r=radius + wall, h=len); + } + translate([0,0,len/2+wall/2]) cylinder(r=radius, h=len, center=true); + translate([0,0,-len/2-wall/2]) cylinder(r=radius, h=len, center=true); + rotate([0, angle, 0]) translate([0, 0, radius+wall]) cylinder(r=radius, h=len); + } +} diff --git a/parts/t_connector-90.scad b/parts/t_connector-90.scad new file mode 100644 index 0000000..c5a33a3 --- /dev/null +++ b/parts/t_connector-90.scad @@ -0,0 +1,9 @@ + +include <../lib/connectors.scad> + +radius = 8.25; +wall = 6; +len = 30; +angle = 90; + +t_connector(radius, wall, len, angle); -- cgit v1.2.3