From 58f906f2f17d28626c26f006a9f306fc5b06068c Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Thu, 10 Apr 2014 15:17:39 +0200 Subject: triangular connector: rotated variants --- parts/triangular_connector.scad | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/parts/triangular_connector.scad b/parts/triangular_connector.scad index 4c7607f..9249639 100644 --- a/parts/triangular_connector.scad +++ b/parts/triangular_connector.scad @@ -4,6 +4,9 @@ wall = 6; top_wall = 6; len = 40; +rotation = [0,105,0]; +//rotation = [0,0,0]; + module external(radius, wall, len, top_wall) { w = len/2+radius+(radius+wall)*sin(60) ; h = (radius + wall) / 2; @@ -17,7 +20,7 @@ module tube(radius, wall, len) { translate([-len/2-radius,0,0]) rotate([0,30,0]) translate([0,0,-wall/2]) cylinder(r = radius, h = len); } -rotate([0,105,0]) difference() { +rotate(rotation) difference() { union() { hull() { //external(radius, wall, len, top_wall); -- cgit v1.2.3