22 tube_or = tube_dia/2 + main_th;
23 back_ohw = back_gap/2 + main_th;
24 backflange_ymin = tube_or+backflange_d;
26 lock_0y = tube_dia/2 + lock_d/2 + midweb_d;
28 lock_or = [lock_w, lock_d]/2 + [front_th,front_th];
30 module oval(sz){ // sz[0] > sz[1]
35 translate([sx * (xr-yr), 0])
45 translate([-back_ohw,0]) mirror([0,1])
46 square([back_ohw*2, backflange_ymin]);
48 circle(r = tube_dia/2);
49 translate([-back_gap/2,1]) mirror([0,1])
50 square([back_gap, backflange_ymin+2]);
52 translate([0, lock_0y]){
57 oval([lock_w/2, lock_d/2]);
62 lockshaft_or = lockshaft_r + [clip_th,clip_th];
63 cliprecess_ymax = cliprecess_h - lockshaft_r[1];
64 clip_ymin = cliprecess_ymax - total_h;
66 module ClipElevationPositive(){
68 translate([-lockshaft_or[0], 0])
69 square([lockshaft_or[0]*2, cliprecess_ymax]);
72 module ClipElevationNegative(){
74 for (y=[0, cliprecess_ymax+1])
80 module ClipElevation(){
82 ClipElevationPositive(1);
83 ClipElevationNegative(0);