chiark / gitweb /
lock-inframe-bracket: ThroughHoles wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Aug 2016 14:27:51 +0000 (15:27 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Aug 2016 14:27:51 +0000 (15:27 +0100)
lock-inframe-bracket.scad

index b890609290ef7a877e0b8a9f37bb55287da1b84a..3d368627b70f07359d433dd5816867a24a84a43c 100644 (file)
@@ -17,6 +17,9 @@ clip_th = 2.5;
 clip_gap = 2.5;
 clip_d = 22.0;
 
+mountscrew_dia = 4 + 0.5;
+clipbolt_dia = 5 + 0.5;
+
 // calculated
 
 front_th = main_th;
@@ -98,6 +101,24 @@ module ExtrudeClipElevation(extra=0){
     children(0);
 }
 
+module ThroughHole(r, y, z) {
+  translate([-50, y, z])
+    rotate([0, 90, 0])
+    cylinder(r=r, h=100, $fn=20);
+}
+
+module ThroughHoles(){
+  for (z=[ 1/4, 3/4 ]) {
+    ThroughHole( mountscrew_dia/2,
+                -tube_or -0.5*backflange_d,
+                total_h * z );
+  }
+
+  ThroughHole( clipbolt_dia/2,
+              lock_0y + lock_d/2 + clip_d/2,
+              total_h - cliprecess_h - clip_th - clip_d/2 );
+}
+
 module MainPositive(){
   difference(){
     union(){
@@ -111,3 +132,4 @@ module MainPositive(){
 //MainPlan();
 //ClipElevation();
 MainPositive();
+%ThroughHoles();