-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdodecahedron-gen.scad
More file actions
41 lines (40 loc) · 1.04 KB
/
dodecahedron-gen.scad
File metadata and controls
41 lines (40 loc) · 1.04 KB
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
module Dodecahedron () {
polyhedron (
points = [
[0.0, -0.5, 1.30901699437],
[0.809016994375, -0.809016994375, 0.809016994375],
[0.5, -1.30901699437, 0.0],
[-0.5, -1.30901699437, 0.0],
[-0.809016994375, -0.809016994375, 0.809016994375],
[0.0, 0.5, 1.30901699437],
[1.30901699437, 0.0, 0.5],
[0.809016994375, -0.809016994375, -0.809016994375],
[-0.809016994375, -0.809016994375, -0.809016994375],
[-1.30901699437, 0.0, 0.5],
[0.809016994375, 0.809016994375, 0.809016994375],
[1.30901699437, 0.0, -0.5],
[0.0, -0.5, -1.30901699437],
[-1.30901699437, 0.0, -0.5],
[-0.809016994375, 0.809016994375, 0.809016994375],
[0.5, 1.30901699437, 0.0],
[0.809016994375, 0.809016994375, -0.809016994375],
[0.0, 0.5, -1.30901699437],
[-0.809016994375, 0.809016994375, -0.809016994375],
[-0.5, 1.30901699437, 0.0],
],
faces = [
[0, 4, 3, 2, 1],
[0, 1, 6, 10, 5],
[0, 5, 14, 9, 4],
[4, 9, 13, 8, 3],
[3, 8, 12, 7, 2],
[2, 6, 11, 6, 1],
[8, 13, 18, 17, 12],
[7, 12, 17, 16, 11],
[6, 11, 16, 15, 10],
[5, 10, 15, 19, 14],
[9, 14, 19, 18, 13],
[15, 16, 17, 18, 19],
]);
}
Dodecahedron ();