chiark / gitweb /
osstest-arm-net-bracket: reduce tabunder
[reprap-play.git] / osstest-arm-net-bracket.scad
1 // -*- C -*-
2
3 holedist = 64;
4 tonguewidth = 10;
5 totaldepth = 26;
6 thick = 3;
7 tabover = 7;
8 tabunder = 15;
9
10 tabside = 7;
11
12 tonguethick = 4;
13 strapthick = 2;
14 strapwidth = 5;
15 ridgewidth = 2;
16
17 holedia = 3.5;
18
19 module Object(){
20   difference(){
21     translate([-holedist-tabside, 0, 0])
22       cube([tabside*2+holedist, thick, tabunder+tabover]);
23     for (x=[-holedist,0])
24       translate([x, -1, tabunder])
25         rotate([-90,0,0])
26         cylinder(r= holedia/2+0.5, h=thick+2, $fn=20);
27   }
28   difference(){
29     translate([-tonguewidth, 0, 0])
30       cube([tonguewidth, totaldepth, tonguethick+strapthick]);
31     for (y=[thick+0.1, totaldepth-ridgewidth-strapwidth])
32       translate([-tonguewidth-1, y, tonguethick])
33         cube([tonguewidth+2, strapwidth, strapthick+1]);
34   }
35 }
36
37 Object();