23 tube_or = tube_dia/2 + main_th;
24 back_ohw = back_gap/2 + main_th;
25 backflange_ymin = tube_or+backflange_d;
27 lock_0y = tube_dia/2 + lock_d/2 + midweb_d;
29 lock_or = [lock_w, lock_d]/2 + [front_th,front_th];
31 module oval(sz){ // sz[0] > sz[1]
36 translate([sx * (xr-yr), 0])
46 translate([-back_ohw,0]) mirror([0,1])
47 square([back_ohw*2, backflange_ymin]);
49 circle(r = tube_dia/2);
50 translate([-back_gap/2,1]) mirror([0,1])
51 square([back_gap, backflange_ymin+2]);
53 translate([0, lock_0y]){
58 oval([lock_w/2, lock_d/2]);
63 lockshaft_or = lockshaft_r + [clip_th,clip_th];
64 cliprecess_ymax = cliprecess_h - lockshaft_r[1];
65 clip_ymin = cliprecess_ymax - total_h;
66 clip_ogap = clip_gap + clip_th*2;
68 module ClipElevationPositive(){
70 translate([-lockshaft_or[0], 0])
71 square([lockshaft_or[0]*2, cliprecess_ymax]);
72 translate([-clip_ogap/2, 0]) mirror([0,1]) square([clip_ogap, -clip_ymin]);
75 module ClipElevationNegative(){
77 for (y=[0, cliprecess_ymax+1])
81 translate([-clip_gap/2, 1]) mirror([0,1]) square([clip_gap, 2-clip_ymin]);
84 module ClipElevation(){
86 ClipElevationPositive(1);
87 ClipElevationNegative(0);