aboutsummaryrefslogtreecommitdiff
path: root/lib/connectors.scad
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connectors.scad')
-rw-r--r--lib/connectors.scad12
1 files changed, 12 insertions, 0 deletions
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);
+ }
+}