-
Notifications
You must be signed in to change notification settings - Fork 1
/
block3b.scad
57 lines (50 loc) · 1.94 KB
/
block3b.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//block shape
x=30;
y=60;
z=13;
// track channel
f=x+10;
g=25;
h=9.5;
// block top
e=20;
r=y+10;
t=16.5;
// spacing of screw holes
cx=15;
cy=40;
dx=15;
dy=45;
difference()
{
translate([0,0,z]/2) cube ([x,y,z],center=true);
translate([0,0,z+4]/2) cube([f,g,h],center=true);
translate([49,0,z+11]/2) cube ([e,r,t],center=true);
translate([-49,0,z+11]/2) cube ([e,r,t],center=true);
translate([cx,cy,0]/2) cylinder(d=5, h=50, center=true);
translate([-cx,cy,0]/2) cylinder(d=5, h=50, center=true);
translate([cx,-cy,0]/2) cylinder(d=5, h=50, center=true);
translate([-cx,-cy,0]/2) cylinder(d=5, h=50, center=true);
translate([dy,dy,0]/2) cylinder(d=5, h=50, center=true);
translate([-dy,dy,0]/2) cylinder(d=5, h=50, center=true);
translate([dy,-dy,0]/2) cylinder(d=5, h=50, center=true);
translate([-dy,-dy,0]/2) cylinder(d=5, h=50, center=true);
translate([dy,dx,0]/2) cylinder(d=5, h=50, center=true);
translate([-dy,dx,0]/2) cylinder(d=5, h=50, center=true);
translate([dy,-dx,0]/2) cylinder(d=5, h=50, center=true);
translate([-dy,-dx,0]/2) cylinder(d=5, h=50, center=true);
translate([cx,cy,0]/2) cylinder(d1=16, d2=8, h=7, center=true);
translate([-cx,cy,0]/2) cylinder(d1=16, d2=8, h=7, center=true);
translate([cx,-cy,0]/2) cylinder(d1=16, d2=8, h=7, center=true);
translate([-cx,-cy,0]/2) cylinder(d1=16, d2=8, h=7, center=true);
// zip tie knotches
translate([0,-cy/2,11.5-10]) cube([18,3,4],center=true);
translate([0,cy/2,11.5-10]) cube([18,3,4],center=true);
// removal knotches
translate([0,-(6.8+51)/2,11.5-10]) cube([8,3,4],center=true);
translate([0,(6.8+51)/2,11.5-10]) cube([8,3,4],center=true);
translate([(6.8+51)/2,0,11.5-11]) cube([3,8,2],center=true);
translate([-(6.8+51)/2,0,11.5-11]) cube([3,8,2],center=true);
}
translate([0,(6.8+4)/2,z-8]) cube([18,2.7,5],center=true);
translate([0,-(6.8+4)/2,z-8]) cube([18,2.7,5],center=true);