-
Notifications
You must be signed in to change notification settings - Fork 1
/
block4a2.scad
78 lines (69 loc) · 2.62 KB
/
block4a2.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
//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;
// rotation
gx=90;
rotate([0,gx,0])
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]) 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);
}
rotate([0,gx,0])
difference ()
{
translate([15,0,-7]) cube([4,60,15],center=true);
translate([0,0,-8])rotate([90,0,90]) cylinder(d=5, h=60, center=true);
translate([-9,20,-8])rotate([90,0,90]) cylinder(d=5, h=60, center=true);
translate([8,-20,-8])rotate([90,0,90]) cylinder(d=5, h=60, center=true);
translate([-9,10,-8])rotate([90,0,90]) cylinder(d=5, h=60, center=true);
translate([8,-10,-8])rotate([90,0,90]) cylinder(d=5, h=60, center=true);
}
rotate([0,gx,0])
translate([0,(6.8+4)/2,z-8]) cube([18,2.7,5],center=true);
rotate([0,gx,0])
translate([0,-(6.8+4)/2,z-8]) cube([18,2.7,5],center=true);
rotate([0,gx,0])
translate([0,57.3/2,-5]) cube([18,2.7,18],center=true);
rotate([0,gx,0])
translate([8,-57.3/2,4]) cube([14,2.7,18],center=true);