chiark / gitweb /
lock-inframe-bracket: Add a couple of toplevels, before join rework
[reprap-play.git] / lock-inframe-bracket.scad
index ee809a628c26d8c87a9419e728f9283e74d45f7d..362bffdfb160a3a28c213d6dc74a425a51375713 100644 (file)
@@ -10,6 +10,7 @@ lock_w = 42.5 + 0.5;
 lock_d = 28.0 + 0.5;
 main_h = 45.0;
 backflange_d = 12;
+backflange_hole_dy = -1;
 lockshaft_dia = 14.35;
 
 cliprecess_h = 16;
@@ -124,7 +125,7 @@ module DividePlanInPlace(xl=10){
     DividePlan(xl);
 }
 
-module MainPlan(){
+module MainPlan(){ ////toplevel
   difference(){
     union(){
       difference(){
@@ -223,7 +224,7 @@ module MountingHoleCylinders(r, x=-50){
   for (z=[ 1/4, 3/4 ]) {
     rotate([0,0, backflange_angle])
       ThroughHole( r,
-                  -tube_dia/2 -0.5*backflange_d,
+                  -tube_dia/2 -0.5*backflange_d + backflange_hole_dy,
                   total_h * z,
                   x);
   }
@@ -284,6 +285,10 @@ module Demo(){ ////toplevel
                                       back_ohw + 0.25);
 }
 
+module DividePlanDemo(){ ////toplevel
+  DividePlan();
+}
+
 //MainPlan();
 //ClipElevationPositive();
 //ClipElevation();
@@ -291,7 +296,6 @@ module Demo(){ ////toplevel
 //%ThroughHoles();
 //TestTopEdge();
 //TestClipBoltHole();
-//DividePlan();
 
 //Bracket();