chiark / gitweb /
wardrobe-hook: retune: right-handed version
[reprap-play.git] / xeno-drivebay-bracket.scad
index 1e5f4350e038aad58fa1e4a3ca3b63c3dcce4da5..2073e05264da0591a43615f22469a651d20a739e 100644 (file)
@@ -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();