Polyhedron

Polyhedron Data

Some polyhedron and their vertex,face and edge data.Face List has index of vertex list.By connecting vertex in this order we will get a face of that particular polyhedron. For example first row of face list for cube has [1 2 3 4] it means if we connect vertex number 1,2,3 and 4 then we will get one face of cube.By connecting complete array in the specified sequence we will get a complete cube.

Edge List has index of vertex list.By connecting vertex in this order we will get an edge of that particular polyhedron.For example first row of edge list for cube has [1 2 ] it means if we connect vertex number 1 and 2 then we will get one edge of cube. Some polyhedron images are shown with their edges only and some with their faces.Click on the link below each image to download complete data in single file.

Polyhedron

Vertex List

vert=[1 1 1

1 1 -1

1 -1 1

1 -1 -1

-1 1 1

-1 1 -1

-1 -1 1

-1 -1 -1];

vert=[1 1 1

-1 -1 1

-1 1 -1

1 -1 -1];

vert=[1 0 0

-1 0 0

0 1 0

0 -1 0

0 0 1

0 0 -1];

vert = [0 0 2

1 -1 1

1 1 1

-1 1 1

-1 -1 1

2 0 0

0 2 0

-2 0 0

0 -2 0

1 -1 -1

1 1 -1

-1 1 -1

-1 -1 -1

0 0 -2];

vert=[0 1 1

-1 0 1

0 -1 1

1 0 1

-0.7071 0.7071 0

-0.7071 -0.7071 0

0.7071 -0.7071 0

0.7071 0.7071 0];

vert=[-1 1 0

-1 0 1

-1 -1 0

-1 0 -1

0 1 -1

0 -1 -1

1 0 -1

1 -1 0

1 0 1

1 1 0

0 1 1

0 -1 1];

Face List

face=[1 2 4 3

1 5 6 2

5 6 8 7

7 8 4 3

1 3 7 5

2 4 8 6];

face=[1 2 3

2 3 4

1 3 4

1 2 4];

face=[3 5 2

5 3 1

6 3 2

3 6 1

4 5 1

5 4 2

4 6 2

6 4 1];

face=[2 1 3 6

9 5 1 2

3 1 4 7

4 1 5 8

9 2 6 10

6 3 7 11

7 4 8 12

8 5 9 13

10 6 11 14

14 11 7 12

14 12 8 13

13 9 10 14];

face1=[1 2 5

1 4 8

1 5 8

2 3 6

2 5 6

3 4 7

3 6 7

4 7 8];

face2=[ 3 2 1 4

6 7 8 5];

face1=[1 2 11

1 4 5

2 3 12

3 4 6

5 7 10

6 7 8

8 9 12

9 10 11];

face2=[1 2 3 4

10 11 1 5

12 2 11 9

3 12 8 6

6 7 5 4

8 9 10 7];

Edge List

edge =[1 2

1 3

1 5

2 4

2 6

3 4

3 7

4 8

5 6

5 7

6 8

7 8];

edge=[1 2

1 3

1 4

2 3

2 4

3 4];

edge=[1 3

1 4

1 5

1 6

2 3

2 4

2 5

2 6

3 5

3 6

4 5

4 6];

edge=[1 2

1 4

1 5

1 8

2 3

2 5

2 6

3 4

3 6

3 7

4 7

4 8

5 6

5 8

6 7

7 8];

Cube

Tetrahedron

tetrahedronData.zip

Octahedron

octahedronData.zip

Icosahedron

icosahedronData.zip

Dodecahedron

dodecahedronData.zip

Rhombic Triacontahedron

rhombictriacontahedronData.zip

Rhombicosidodecahedron

rhombicosidodecahedronData.zip

Icosidodecahedron

icosidodecahedronData.zip

Rhombododecahedron

rhombododecahedronData.zip

Truncated Icosahedron

or Buckyball

buckyballData.zip

Square Antiprism

Cuboctahedron

Truncated Dodecahedron

truncateddodecahedronData.zip

Truncated Icosidodecahedron

truncatedicosidodecahedronData.zip

Snub Cube

Snub Sube

Coloring Patch

One color for complete patch

vert=[1 0 0;-1 0 0;0 1 0;0 -1 0;0 0 1;0 0 -1];

face=[3 5 2;5 3 1;6 3 2;3 6 1;4 5 1;5 4 2;4 6 2;6 4 1];

patch('faces',face...

,'vertices',vert...

,'facecolor',[0 0 1]); %only blue color

One color per face

vert=[1 0 0;-1 0 0;0 1 0;0 -1 0;0 0 1;0 0 -1];

face=[3 5 2;5 3 1;6 3 2;3 6 1;4 5 1;5 4 2;4 6 2;6 4 1];

colors=hsv(length(face));

patch('faces',face...

,'vertices',vert...

,'facecolor','flat'...

,'facevertexcdata',colors);

One color per vertex

vert=[1 0 0;-1 0 0;0 1 0;0 -1 0;0 0 1;0 0 -1];

face=[3 5 2;5 3 1;6 3 2;3 6 1;4 5 1;5 4 2;4 6 2;6 4 1];

colors=hsv(length(vert));

patch('faces',face...

,'vertices',vert...

,'facecolor','flat'...

,'facevertexcdata',colors);

Interpolated color

vert=[1 0 0;-1 0 0;0 1 0;0 -1 0;0 0 1;0 0 -1];

face=[3 5 2;5 3 1;6 3 2;3 6 1;4 5 1;5 4 2;4 6 2;6 4 1];

colors=hsv(length(face));

patch('faces',face...

,'vertices',vert...

,'facecolor','interp'...

,'facevertexcdata',colors);

Indexed color

vert=[1 0 0;-1 0 0;0 1 0;0 -1 0;0 0 1;0 0 -1];

face=[3 5 2;5 3 1;6 3 2;3 6 1;4 5 1;5 4 2;4 6 2;6 4 1];

patch('faces',face...

,'vertices',vert...

,'facecolor','flat'...

,'Cdata',1:8);

colormap(copper(8));