chiark / gitweb /
xeno-drivebay-bracket: initial RearCableProtector
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Nov 2012 15:35:29 +0000 (15:35 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Nov 2012 15:35:29 +0000 (15:35 +0000)
xeno-drivebay-bracket.scad

index 18b6586..29a5f45 100644 (file)
@@ -100,6 +100,40 @@ module BracketL(){ ////toplevel
   mirror([1,0,0]) BracketR();
 }
 
+protinnerh = 37.5;
+protinnerw = 53;
+protd = 45;
+protbaset = 4;
+protwallt = 2;
+protlidt = protwallt;
+protwingd = 28;
+protwingw = 23;
+
+module RearCableProtector(){
+  for (x = [-protwallt, protinnerw]) {
+    translate([x, 0, 0]) {
+      cube([protwallt, protd, protinnerh+protlidt]);
+    }
+  }
+  translate([-(protwallt-0.1), 0, protinnerh])
+    cube([protinnerw + (protwallt-0.1)*2, protd, protlidt]);
+  for (lr = [1,0]) {
+    translate([(lr ? -(protwingw + protwallt) : protinnerw), 0, 0]) {
+      difference(){
+       translate([0, 0, 0])
+         cube([protwingw, protwingd, protbaset]);
+       translate([protwingw/2, protwingd/2, 0])
+         rotate([0,0, lr ? 90 : 0])
+         slothole(baseholesz, baseholeslot, baset, slop=baseholeslop);
+      }
+    }
+  }
+}
+
+module RearCableProtectorT(){ ////toplevel
+  rotate([90,0,0]) RearCableProtector();
+}
+
 module Kit(){ ////toplevel
   for (y=[0, -wallh-5]) {
     translate([0,y,0]) {
@@ -111,3 +145,4 @@ module Kit(){ ////toplevel
 
 //Kit();
 //BracketR();
+//RearCableProtectorT();