-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patharya_head_piece.scad
75 lines (63 loc) · 1.38 KB
/
arya_head_piece.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
$fn=80;
size1 = 20;
size2 = 25;
base_height = 4;
pointy = false;
/*
if(!pointy){
color("gray")
translate([0,0,base_height+30-19.2])
difference(){
sphere(6.5);
translate([0,0,-3])cube([20,20,10], true);
}
}
translate([0,0,base_height])
color("gray")
difference(){
if(pointy)
cylinder( size1, size1-0.2, 0);
else
cylinder( size1-5, size1-0.2, 5);
cylinder( size1-1.2, size1-0.2-1.2, 0);
}
//color("gray")
//cylinder( 5, 12, 0);
difference(){
color("gray")
union(){
translate([0,0,1])
cylinder( base_height-1, size2, size1+1-0.2);
cylinder( 1, size2-1, size2);
}
translate([0,0,0.4])
cylinder( base_height-0.4, size2-10, size1-0.2-1.2);
for(i=[0:1])
rotate([0,0,90*i])
translate([0,0,1.5])
cube([100,2.5,2.5], true);
intersection(){
cylinder( 0.8, size2-10, size2-10);
for(i=[0:3])
rotate([0,0,90*i])
translate([5,5,0])
cube([100,100,0.8]);
}
}
*/
translate([0,0,base_height])
color("gold")
intersection(){
difference(){
cylinder( size1+1, size1+1, 0);
cylinder( size1, size1, 0);
}
sphere_ring();
}
module sphere_ring() {
for(i=[0:12])
rotate([0,0,360/12*i])
translate([size1+1,0,-2])
//sphere(9);
sphere(6);
}