designcoding
About Table of Contents Keywords Monthly Archive
Support designcoding!

Coding the Dodecahedron

March 7, 2024 | Studios
#dodecahedron #golden-ratio #grasshopper #platonic-solid #polyhedra #rhino-python #tutorial

Here is a method for coding the dodecahedron and all its irregular variants in Grasshopper as quickly as possible. I utilized the golden ratio rectangles, usually used to construct the sister polyhedron, the icosahedron. However, the magic component of the Grasshopper, the Faceted Dome rescued me again to generate the dual of it, the dodecahedron. This is a special platonic solid, which has 12 regular pentagonal faces. There are several techniques that I generally prefer to use in Grasshopper. You will see them in the tutorial video. I tried to minimize the number of components, which was a good challenge for me. I hope you enjoyed and learned from this exercise. The animation shows the transition from a cube to a dodecahedron while keeping the faces planar.

Coding the Dodecahedron animation

This Grasshopper definition generates the regular dodecahedron and all its irregular variants. The input parameters are the two domains of the rectangles. For example, if both inputs are the same number, the result will be a regular dodecahedron. The output of the definition is the solid 3d model as a closed polysurface. Therefore, it is ready for 3d printing. The code is using native Grasshopper components. Thus, no add-ons are necessary for it to work.

Coding the Dodecahedron dodecahedron, golden-ratio
Grasshopper definition (GH)Download
Grasshopper definition (GH)Download
Rhinoceros file (3DM)Download

Cite this post

Yazar, T. (2024, March 7). Coding the Dodecahedron. designcoding. Retrieved August 24, 2026, from https://www.designcoding.net/coding-the-dodecahedron/

Related Posts

Icosahedron Study

May 27, 2012

I have come across several high school topics I was afraid of. While I was searching for a geodesic dome definition in Grasshopper, it was quite surprising that I found an easier way of modeling an approximation of icosahedron, the famous platonic solid. Icosahedron was a research topic of this website at various posts before (here, here, and here). In order to generate geodesic spheres, first I had to solve icosahedron. My first experiment was partially successful. I knew icosahedron’s…

Modeling Excavated Dodecahedron

December 15, 2024

In geometry, the excavated dodecahedron is a star polyhedron that looks like a dodecahedron with concave pentagonal pyramids in place of its faces. In this short tutorial video, I am modeling an excavated dodecahedron in the Rhinoceros software. I use basic drawing and modeling commands. I aim to introduce this skill to beginner-level architects and designers. As the name suggests, this process includes the construction of the dodecahedron first. Then, the pentagonal faces of this polyhedron were “excavated” to the…

Modeling and Unrolling Dodecahedron

December 12, 2024

A dodecahedron is a three-dimensional polyhedron with twelve flat, regular pentagonal faces, twenty vertices, and thirty edges. It is one of the Platonic solids and is highly symmetrical, with each face being a regular pentagon. The dodecahedron’s shape is unique among the Platonic solids because its faces are polygons with five sides, unlike the others which have triangular faces. Due to its symmetry, the dodecahedron has been used in various applications, including as a model in geometry and in certain…

Modeling a Dodecahedron

February 14, 2024

This is a 3d modeling tutorial for the platonic solid of dodecahedron. Modeling a dodecahedron is a good exercise for the basic transformation commands such as Rotate3D in Rhinoceros. You will see that it is possible to calculate the rotation angle by using sphere intersections. I learned this elegant method while teaching Architectural Geometry classes 12 years ago. It is based on the fact that, given a rotation axis and the rotation point, you can draw the path traced by…

Dodecahedron: Drawing and Unrolling

December 23, 2011

The dodecahedron is a Platonic Solid with 12 equilateral pentagonal faces. It has a close relationship with its 20-sided dual, Icosahedron. Mete Tüneri showed the following method of Dodecahedron construction, using only distances, corners of the pentagon, and a visionary equilateral triangle underneath. We’ll construct Dodecahedron, assuming that we’ve drawn an initial equilateral pentagon. We need to find out the pentagon’s angle of 3d rotation. First, put spheres at points a and c, with a radius of a to c. The…

  • Chapters

    • Algorithms
    • Discourses
    • Fabrications
    • Studios
  • Explore

    • All Keywords
    • Table of Contents
    • Monthly Archive
    • #rhinoceros
    • #parametric-surface
    • #folding
    • #archimedean-solid
    • #kuka-prc
    • #robot
    • #tessellation
    • #relief
    • #3d-printing
    • #linear-algebra
    • #terrain
    • #sandblasting
    • #stone
    • #parametric-curve
    • #animation
    • #icosidodecahedron
    • #truncated
    • #stellated-solid
    • #boolean
    • #contouring
  • Search

  • Support designcoding!

  • Enjoying designcoding? Support me on Patreon to keep it growing. Thank you!

  • copyright 2026 designcoding.net | about | privacy policy | end user license agreement