7 screw_dia = 3.5 + 0.75;
8 screw_head_dia = 8.2 + 1.0;
17 d = rod_dia/2 + thick/2;
21 ymax = mainheight+thick/2;
23 cutdepth = rod_offset - rod_dia/2 - rearthick;
25 cut_z0 = screw_head_dia/2;
26 cut_z1 = width/2 - rearthick;
28 cutslopez = cutdepth * 0.5;
31 circle(r = thick/2, $fn=30);
37 translate([-d, 0]) C();
38 translate([-d,-d]) C();
41 rectfromto([-d,ymin], [e,0]);
42 circle(r= rod_dia/2, $fn=50);
45 for (y= [-d, +mainheight]) {
46 translate([d, y]) C();
47 rectfromto([d, y-thick/2], [e, y+thick/2]);
54 for (x = [rod_dia/2 + thick/2, 30]) {
55 for (y= [yminc,ymaxc] ) {
56 translate([x,y]) circle(r = (thick-rearthick)/2, $fn=20);
64 color("red") translate([0,0,1]) CutProfile();
68 translate([0,0, cut_z0 + less])
69 linear_extrude(height = cut_z1 - cut_z0 - less*2)
74 xd = (screw_head_dia-screw_dia)/2;
76 cylinder(h=100, r= screw_dia/2, $fn=20);
79 cylinder(h=1, r= screw_dia/2, $fn=50);
80 cylinder(h=20, r= screw_head_dia/2, $fn=50);
86 translate([0,0, -width/2])
87 linear_extrude(height=width) Profile();
93 translate([cutdepth,0,0]) Cut(0);
98 translate([rod_dia/2 + screw_head_depth,
99 ymaxc - screw_head_dia,