-
Notifications
You must be signed in to change notification settings - Fork 1
/
led.scad
45 lines (40 loc) · 864 Bytes
/
led.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
angle = 30;
module leg () {
linear_extrude(height=5)
square([8,6],true);
}
module nleg () {
rotate(a = angle, v = [0, 1, 0])
linear_extrude(height=5)
square([11,8],true);
}
module center () {
difference(){
cylinder( 5, 4, 4,false,$fn=200);
cylinder( 5, 0.6, 0.6,false,$fn=200);
}
}
union(){
rotate(a = 0, v = [0, 0, 1])
translate ([5,0,0])
difference(){
leg();
translate ([1,0,3.5])
nleg();
}
rotate(a = 120, v = [0, 0, 1])
translate ([5,0,0])
difference(){
leg();
translate ([1,0,3.5])
nleg();
}
rotate(a = 240, v = [0, 0, 1])
translate ([5,0,0])
difference(){
leg();
translate ([1,0,3.5])
nleg();
}
center ();
}