include <funcs.scad>
-tube_dia = 27.5 + 1.625;
+tube_dia = 27.5 + 1.625 + 1.32;
lock_w = 42.5 + 0.5;
lock_d = 28.0 + 0.5;
main_h = 45.0;
lockshaft_dia = 14.35;
cliprecess_h = 16;
-total_h = 45;
+total_h = 75;
back_gap = 12.5;
-main_th = 3.50;
-tube_th = 5.00;
+main_th = 4.50;
+tube_th = 5.50;
midweb_d = 3;
clip_th = 3.5;
divide_shaft_l = 1.5;
divide_head_dx = 1.75;
divide_head_th = 1.5;
-divide_gap = 0.50;
+divide_gap = 0.75;
divide_angle = 26;
divide_fudge_r = 4.75;
lockshaft_or = lockshaft_r + [clip_th,clip_th];
cliprecess_ymax = cliprecess_h - lockshaft_r[1];
-clip_ymin = cliprecess_ymax - total_h;
+clip_ymin = cliprecess_ymax - main_h;
clip_ogap = clip_gap + clip_th*2;
module ClipElevationPositive(){
ThroughHole( clipbolt_dia/2,
lock_0y + lock_d/2 + clip_d/2 + front_th/2,
- total_h - cliprecess_h - clip_th - clip_d/2 );
+ main_h - cliprecess_h - clip_th - clip_d/2 );
}
+module SlopeTrimElevation(){
+ far_corner_nom = [ lock_0y + lock_d/2, main_h ];
+ round_centre = far_corner_nom + lock_d/2 * [0,1];
+ hull(){
+ translate(round_centre) circle(r= lock_d/2);
+ translate([ lock_0y - lock_d/2, total_h ]) square([ lock_d + clip_d, 1 ]);
+ translate(far_corner_nom) square([clip_d*2, 1]);
+ }
+}
+
+module SlopeTrim(){
+ rotate([0,90,0])
+ rotate([0,0,90])
+ translate([0,0, -lock_w])
+ linear_extrude(convexity=100, height=lock_w*2)
+ SlopeTrimElevation();
+}
+
module MainPositive(){
difference(){
union(){
difference(){
MainPositive();
ThroughHoles();
+ SlopeTrim();
}
}