chiark / gitweb /
lock-inframe-bracket: wip new divide
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 Oct 2018 12:37:52 +0000 (13:37 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 Oct 2018 12:37:52 +0000 (13:37 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
lock-inframe-bracket.scad

index 362bffdfb160a3a28c213d6dc74a425a51375713..36c39b625721883acfe150b8082bf4e79a834d99 100644 (file)
@@ -125,6 +125,27 @@ module DividePlanInPlace(xl=10){
     DividePlan(xl);
 }
 
+module DivideHook(){ ////toplevel
+  w = tube_th/2;
+  d = divide_gap;
+
+  translate([-1,0] * (w + d + w)){
+    for (sx=[-1,+1])
+      translate([-(w + w+d) * sx, 0]) circle(r= w);
+    difference(){
+      circle(r = 3*w + d);
+      circle(r =   w + d);
+      translate([-10*w, -10*w]) square([20*w, 10*w]);
+    }
+  }
+}
+
+module DivideInPlace(){
+  rotate([0,0, -divide_angle])
+    translate([ -tube_dia/2 -tube_th/2, 0])
+    children();
+}
+
 module MainPlan(){ ////toplevel
   difference(){
     union(){
@@ -289,6 +310,11 @@ module DividePlanDemo(){ ////toplevel
   DividePlan();
 }
 
+module DivideDemo(){ ////toplevel
+  color("black") translate([0,0,-2]) MainPlan();
+  DivideInPlace() DivideHook();
+}
+
 //MainPlan();
 //ClipElevationPositive();
 //ClipElevation();