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=1e5f4350e038aad58fa1e4a3ca3b63c3dcce4da5;hb=64c48191e2cd7193843970f9af58ea0ca28195ca;hpb=76b9f966490000208aac453d9426601365ccfe78 diff --git a/xeno-drivebay-bracket.scad b/xeno-drivebay-bracket.scad index 1e5f435..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; @@ -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();