designcoding
About Table of Contents Keywords Monthly Archive
Support designcoding!

Voronoi Cage

June 26, 2023 | Algorithms
#grasshopper #interlocking #parametric-surface #structure #voronoi

I have created a straightforward Grasshopper code that generates a Voronoi diagram on a surface. Then, it adds thickness to form a structure called a “Voronoi Cage.” In the initial step, I project a surface onto the ground plane (Z=0). The projected frame serves as the boundary for two operations: generating random points using the Populate 2D (Pop2D) function and calculating the Voronoi diagram based on these points. The resulting Voronoi cells are then slightly offset inwards.

Voronoi Cage grasshopper, interlocking

Moving on to the next step, I use the Project component to project the offset Voronoi cells onto the surface. I accomplished this by applying a vector in the positive Z direction. Using the newly projected curves, I utilize the Surface Split (SrfSplit) component to create separate parts on the surface. In this case, I chose not to directly connect the curves on the ground to the Surface Split operation. Because the project operation seemed more appropriate than the pull operation.

By experimenting with dividing the surface into parts, you will notice that the last element in the list of divided surfaces represents the frame of the cutting process on the surface. To extract this specific surface, I employed the Reverse property in a List Item (Item) component. The first element of the reversed list (index 0) corresponds to the last element of the original list. After selecting the appropriate surface in this manner, I finalized the application by subjecting it to the Extrude (Extr) process.

Voronoi Cage Grasshopper definition
Grasshopper definition (GH)Download

Cite this post

Yazar, T. (2023, June 26). Voronoi Cage. designcoding. Retrieved August 24, 2026, from https://www.designcoding.net/voronoi-cage/

Related Posts

Interlocking Structures Revisited

April 10, 2023

I studied the interlocking joint details in Grasshopper here and here. This time, the interlocking structures were revisited with a cleaner code and an in-depth explanation. I believe that this is a very good educational exercise for learning the potential of the native Grasshopper components. The Preparations The Region Difference (RDiff) component is used to create the interlocking detail of a surface that is contoured with bi-directional spacing. In the first part of the code, after contouring our surface in…

Interlocking Structure Between Two Surfaces

January 29, 2012

A previous work showed a method to create interlocking structures to be created without boolean operations. This time, a small addition is made to create waffle objects using two surfaces, one is the top surface, and the other is the bottom. It was a small modification at the beginning; to replace the “extrude” component with an “edge surface” component. But the interlocking details are now different at each intersection, so another modification is made to the drawing of the rectangles….

Interlocking Structure (No Boolean)

January 2, 2012

It has been a tough problem for me, for the last two days. A parametric model of an interlocking structure (sometimes also called egg-crate, waffle, or contouring structure) can be created easily in Grasshopper using a Contour component. In addition, you need a couple of list management operations and a boolean (or region) difference event. However, Rhino and Grasshopper are very slow at calculating boolean differences on both solids and surfaces. Fabrication models of such structures don’t have to be…

Voronoi Puzzle

April 5, 2023

In this Voronoi puzzle exercise, we derive two-dimensional puzzles by using Voronoi diagrams. This is similar to my previous studies here, and here. Part 1: The Random Voronoi Diagram In section 1 of the below image, I use a rectangular region to generate random points. Then, I create a standard Voronoi diagram by using those points. Finally, I explode the Voronoi cells. Part 2: The Voronoi Puzzle Details In the second part, we draw an arc on the edges of…

Voronoi Kündekâri

June 28, 2013

Kündekâri is an old woodworking technique, composed of interlocking parts without any glue or nail. It is primarily used in wooden doors and minbers inside Mosques. The interlocking system makes the whole structure very durable. I tried to model this technique using the Voronoi pattern, naming it Voronoi Kündekâri. Below you see a typical example of Kündekâri pieces and the resulting pattern. The interesting part of the Grasshopper model is to define the tongue-and-groove detail. It is similar to a…

  • Chapters

    • Algorithms
    • Discourses
    • Fabrications
    • Studios
  • Explore

    • All Keywords
    • Table of Contents
    • Monthly Archive
    • #robot
    • #kuka-prc
    • #polyhedra
    • #rhino-python
    • #rhinoceros
    • #tutorial
    • #moulding
    • #rammed-earth
    • #tessellation
    • #design-object
    • #relief
    • #growth
    • #boolean
    • #terrain
    • #sandblasting
    • #stone
    • #eps-foam
    • #hotwire-cutting
    • #basic-design
    • #dome
  • 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