7 screw_dia = 3.5 + 0.75;
8 screw_head_dia = 8.2 + 1.0;
16 d = rod_dia/2 + thick/2;
20 ymax = mainheight+thick/2;
22 cutdepth = rod_offset - rod_dia/2 - rearthick;
24 cut_z0 = screw_head_dia/2;
25 cut_z1 = width/2 - rearthick;
27 cutslopez = cutdepth * 0.5;
30 circle(r = thick/2, $fn=30);
36 translate([-d, 0]) C();
37 translate([-d,-d]) C();
40 rectfromto([-d,ymin], [e,0]);
41 circle(r= rod_dia/2, $fn=50);
44 for (y= [-d, +mainheight]) {
45 translate([d, y]) C();
46 rectfromto([d, y-thick/2], [e, y+thick/2]);
53 for (x = [rod_dia/2 + thick/2, 30]) {
54 for (y= [yminc,ymaxc] ) {
55 translate([x,y]) circle(r = (thick-rearthick)/2, $fn=20);
63 color("red") translate([0,0,1]) CutProfile();
67 translate([0,0, cut_z0 + less])
68 linear_extrude(height = cut_z1 - cut_z0 - less*2)
74 translate([0,0, -width/2])
75 linear_extrude(height=width) Profile();
80 translate([cutdepth,0,0]) Cut(0);