Built from exact coordinates
Each solid starts from its textbook vertex coordinates — the icosahedron from (0, ±1, ±φ) and its cyclic permutations, where φ = (1 + √5) ÷ 2 is the golden ratio. A convex hull algorithm wraps the tightest surface around those points, producing outward-facing triangles; flat faces with more than three sides are split into triangles.
| Solid | Faces | Vertices | Edges |
|---|---|---|---|
| Tetrahedron | 4 triangles | 4 | 6 |
| Cube | 6 squares | 8 | 12 |
| Octahedron | 8 triangles | 6 | 12 |
| Dodecahedron | 12 pentagons | 20 | 30 |
| Icosahedron | 20 triangles | 12 | 30 |
| Truncated icosahedron | 12 pentagons + 20 hexagons | 60 | 90 |
For every one, V − E + F = 2 (Euler’s formula).
Printing
The generator rests one face on the bed where the solid allows. Cuboctahedra and similar shapes print well point-down only with supports; choose the orientation in your slicer. Great for classrooms: print a set and count faces, edges and vertices.