chiark / gitweb /
lock-inframe-bracket: for v2: TestClipBoltHole
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Aug 2016 18:30:51 +0000 (19:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Aug 2016 18:30:51 +0000 (19:30 +0100)
lock-inframe-bracket.scad

index 43af974..1d8c1dd 100644 (file)
@@ -140,14 +140,14 @@ module MainPositive(){
   }
 }
 
-module Bracket(){
+module Bracket(){ //// toplevel
   difference(){
     MainPositive();
     ThroughHoles();
   }
 }
 
-module TestTopEdge(){
+module TestTopEdge(){ //// toplevel
   intersection(){
     translate([0,0, -total_h])
       translate([0,0, 4])
@@ -157,11 +157,25 @@ module TestTopEdge(){
   }
 }
 
+module TestClipBoltHole(){ //// toplevel
+  intersection(){
+    union(){
+      translate([0, 0, -5])
+       Bracket();
+      translate([-4, lock_0y + lock_d/2 + 1, 0])
+       cube([8, 4, 1.5]);
+    }
+    translate([-200, lock_0y + lock_d/2 + 0.1])
+      cube([400, 400, total_h-20]);
+  }
+}
+
 //MainPlan();
 //ClipElevationPositive();
 //ClipElevation();
 //MainPositive();
 //%ThroughHoles();
 //TestTopEdge();
+//TestClipBoltHole();
 
-Bracket();
+//Bracket();