diff options
-rw-r--r-- | lib/connectors.scad | 12 | ||||
-rw-r--r-- | parts/t_connector-90.scad | 9 |
2 files changed, 21 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); + } +} 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); |