X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=xeno-drivebay-bracket.scad;h=2073e05264da0591a43615f22469a651d20a739e;hp=29a5f457680f453eb91765fb00b1dfd332e7df5c;hb=ad35f340a95aee803ec066ebff4691a951f149fd;hpb=6ebbb88e6baf279eb88cf8f86a4a4063ec8371f3 diff --git a/xeno-drivebay-bracket.scad b/xeno-drivebay-bracket.scad index 29a5f45..2073e05 100644 --- a/xeno-drivebay-bracket.scad +++ b/xeno-drivebay-bracket.scad @@ -100,7 +100,7 @@ module BracketL(){ ////toplevel mirror([1,0,0]) BracketR(); } -protinnerh = 37.5; +protinnerh = 47; protinnerw = 53; protd = 45; protbaset = 4; @@ -123,7 +123,7 @@ module RearCableProtector(){ translate([0, 0, 0]) cube([protwingw, protwingd, protbaset]); translate([protwingw/2, protwingd/2, 0]) - rotate([0,0, lr ? 90 : 0]) + rotate([0,0, lr ? 45 : -45]) slothole(baseholesz, baseholeslot, baset, slop=baseholeslop); } } @@ -134,6 +134,52 @@ module RearCableProtectorT(){ ////toplevel rotate([90,0,0]) RearCableProtector(); } +chabd = 20; +chablidw = 40; +chabinnerh = 11; +chabwallt = 2; +chablidt = 2; +chabwebt = 2.5; +chabbaset = baset; +chabbasew = 20; +chabslot = 3; +chablidholed = 3; +chabwebh = 5; + +module ChannelBracket(){ + translate([0, -chabd, 0]) + cube([chabwallt, chabd, chabinnerh+chablidt]); + translate([-chablidw, -chabd, chabinnerh]) { + difference(){ + cube([chablidw + chabwallt - 0.1, chabd - 0.1, chablidt]); + translate([chablidw/2, chabd/2, -1]) + cylinder(r=chablidholed/2, h=chablidt+2, $fn=20); + } + } + translate([chabwallt-0.1, -chabd, 0]) { + difference(){ + cube([chabbasew, chabd-0.1, chabbaset]); + translate([chabbasew/2, (chabd-chabwebt)/2, 0]) + rotate([0,0,90]) + slothole(baseholesz, chabslot, baset, slop=baseholeslop); + } + } + rotate([90,0,0]) linear_extrude(height=chabwebt) { + polygon([[-chablidw, chabinnerh], + [-chablidw, chablidt+chabinnerh], + [-chabwebh, chablidt+chabinnerh+chabwebh], + [+chabwebh, chablidt+chabinnerh+chabwebh], + [+chabbasew, chabbaset], + [+chabbasew, 0], + [0, 0], + [0, chabinnerh]]); + } +} + +module ChannelBracketT(){ + rotate([-90,0,0]) ChannelBracket(); +} + module Kit(){ ////toplevel for (y=[0, -wallh-5]) { translate([0,y,0]) { @@ -146,3 +192,4 @@ module Kit(){ ////toplevel //Kit(); //BracketR(); //RearCableProtectorT(); +//ChannelBracketT();