chiark / gitweb /
xeno-drivebay-bracket adjustments
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Oct 2012 23:15:20 +0000 (00:15 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Oct 2012 23:15:20 +0000 (00:15 +0100)
xeno-drivebay-bracket.scad

index 3532afb9db0066f9bb6c27e85b3c532f28e7dfa1..4efb526150be9257751cc1276839750548ff5102 100644 (file)
@@ -1,7 +1,7 @@
 // -*- C -*-
 
-basel = 23;
-basew = 27;
+basel = 18;
+basew = 22;
 baset = 4.0;
 
 wallt = 2.5;
@@ -9,18 +9,19 @@ wallt = 2.5;
 wallh = 42;
 
 baseholesz = 4;
-baseholeslot = 4;
+baseholeslot = 4.5;
+baseholeslop = -0.5;
 
 topl = 20;
 
 holeslop = 0.5;
 
-webt = 3;
+webt = 2.5;
 
-padt = 3;
-padw = 20;
+padt = webt;
+padw = 12;
 padl = padw;
-padholesz = 5.0;
+padholesz = 3.0;
 
 wallholeh = 6+14+2;
 wallholesz = 3.0;
@@ -30,12 +31,12 @@ walll = basel + webt + padl;;
 
 webw = min(basew, padw);
 
-module slothole(sz, slot, thick, csunk=true) {
+module slothole(sz, slot, thick, csunk=true, slop=holeslop) {
   hull(){
     for (y = [-slot/2,slot/2]) {
       translate([0,y,-0.05])
-       cylinder(r1=sz/2 + holeslop,
-                r2=sz/2 + (csunk ? thick : 0) + holeslop,
+       cylinder(r1=sz/2 + slop,
+                r2=sz/2 + (csunk ? thick : 0) + slop,
                 h=thick+0.10);
     }
   }
@@ -47,7 +48,7 @@ module Bracket(){
       cube([basel, basew, baset]);
 
     translate([basel/2, -(basew+wallt)/2, 0])
-      slothole(baseholesz, baseholeslot, baset);
+      slothole(baseholesz, baseholeslot, baset, slop=baseholeslop);
   }
 
   difference(){