-
Notifications
You must be signed in to change notification settings - Fork 0
/
doorhinge.scad
51 lines (42 loc) · 1.09 KB
/
doorhinge.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
$fn=90;
difference() {
union() {
cube( [ 46.0, 24, 3.0 ] );
translate( [ 0, 24, 3/2 ] ) {
rotate( [ 0, 90, 0 ] ) {
cylinder( d = 9, h = 15 );
}
}
}
union() {
cube( [ 5.0-1.5, 11.0, 3.0 ] );
cube( [ 5.0, 11.0-1.5, 3.0 ] );
translate( [ 5.0-1.5, 11.0-1.5, 0 ] ) {
cylinder( r = 1.5, h = 3.0 );
}
}
translate( [ 15.0, 12.0, 0 ] ) {
union() {
translate( [ 0, 1.5, 0 ] ) {
cube( [ 31.0, 12.0-1.5, 3 ] );
}
translate( [ 1.5, 0, 0 ] ) {
cube( [ 31.0-1.5, 12.0, 3 ] );
}
translate( [ 1.5, 1.5, 0 ] ) {
cylinder( r = 1.5, h = 3.0 );
}
}
}
translate( [ 46.0 - 6.0, 6.0, 0 ] ) {
cylinder( d = 4.0, h = 3 );
}
translate( [ 46.0 - 26.0, 6.0, 0 ] ) {
cylinder( d = 4.0, h = 3 );
}
# translate( [ 0, 24, 1.5 ] ) {
rotate( [ 0, 90, 0 ] ) {
cylinder( d = 3, h = 26 );
}
}
}