Platonic solids with exact edge length
In your harnessMesh algorithmMIT
Generate the five regular convex polyhedra with exact coordinates and polygon faces found as supporting planes. Use them for dice, crystals, teaching models and as seeds for other operators.

What it takes and gives
- Entry points
- solid_vertices, hull_faces, platonic_solid, build, main
- Parameters
- solid, edge
- Complexity
- O(V^4) face finding for V <= 20 vertices
- Axes
- +Y up, metres
Limits. Only the five regular convex solids; no star polyhedra or Archimedean solids. Face finding checks every vertex triple, which is fine for these sizes but not for large point sets.
Details
- Kind
- Mesh algorithm
- Engine
- Python 3.10 or later
- Files
- 10 files, 177.7 KB
- Licence
- MIT
- Declared effects
- reads files, runs commands, writes files
- Checked with
- Godot 4.7.2, gl_compatibility, OpenGL 3 driver, Mesa llvmpipe under Xvfb
- Checks
- generator runs system python, generator runs verifier python, gltf strict structure, interpreters agree, example matches generator, godot headless gltf load, godot compatibility render
- Techniques
- Cartesian coordinates from cube corners and golden rectangles, Faces as supporting planes of the vertex set
- Tags
- polyhedron, platonic solids, dodecahedron, icosahedron, dice, geometry
- Identity
library.supply.creative_originals.2cc758a1fbd76dca5e559ba4.d18e53a12b3bff65- Version
d18e53a12b3bff65c28dc0afdf2dbca7309bc3ccc7777c0e14166fe076ea7706
The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.
Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.

