lock_d = 28.0 + 0.5;
main_h = 45.0;
backflange_d = 12;
+backflange_hole_dy = -1;
lockshaft_dia = 14.35;
cliprecess_h = 16;
mountscrew_dia = 4 + 0.5;
clipbolt_dia = 5 + 0.6;
+mountscrew_washer = 10;
+
backflange_th = 4.5;
$fn=50;
tube_or = tube_dia/2 + tube_th;
back_ohw = back_gap/2 + backflange_th;
-backflange_ymin = tube_or+backflange_d;
+backflange_ymin = tube_dia/2 + backflange_d;
lock_0y = tube_dia/2 + lock_d/2 + midweb_d;
lock_0x = lock_w/2 - lock_d/2;
DividePlan(xl);
}
-module MainPlan(){
+module MainPlan(){ ////toplevel
difference(){
union(){
difference(){
for (z=[ 1/4, 3/4 ]) {
rotate([0,0, backflange_angle])
ThroughHole( r,
- -tube_or -0.5*backflange_d,
+ -tube_dia/2 -0.5*backflange_d + backflange_hole_dy,
total_h * z,
x);
}
}
}
+module Demo(){ ////toplevel
+ Bracket();
+ color("blue") MountingHoleCylinders(mountscrew_dia/2 - 0.1);
+ color("black") MountingHoleCylinders(mountscrew_washer/2,
+ back_ohw + 0.25);
+}
+
+module DividePlanDemo(){ ////toplevel
+ DividePlan();
+}
+
//MainPlan();
//ClipElevationPositive();
//ClipElevation();
//%ThroughHoles();
//TestTopEdge();
//TestClipBoltHole();
-//DividePlan();
//Bracket();