TetraAggregation | Tetrahedral Morphing in Grasshopper


Box Morphing is a common technique used in GH  to create panelled surfaces or evenly packed geometries. Tetrahedral morphing however is not available through a single component. Going through  a very interesting discussion in the GH forum, I decided to address a simple aggregation system through Tetrahedral Morphing. The definition implements a 4×4 transformation matrix [Math Power!!!!] to morph an initial geometry to a provided set of tetrahedra. Moreover, some VB.Net scripting is essential here for the development of the matrix (originally written by Jacek Jaskólski \ re-written narrowed down by myself). Tetrahedral morphing can be extremelly interesting in the case of  Barycentric coordinates, follow the GH discussion if you want to get into more detail on that .





In TetraAggregation the initial morphed geometry is a 4-axial relaxed surface dependable on 4 points(thus a tetrahedron). This is geometry is consequentiality morphed into a  group face-attached tetrahedra to create the gap-less aggregation result.


you can download the def here.


11 thoughts on “TetraAggregation | Tetrahedral Morphing in Grasshopper

  1. Pingback: ZEGO | Pearltrees

  2. Pingback: diseño parametrico | Pearltrees

  3. Pingback: simonetchonova | Pearltrees

  4. thanks for the code. I try to try code but i dont know which mech to select. There is only one mesh on the screen and select target hedra component gives and error. What should I do?

  5. Hi M,

    I am getting an error at the transform matrix component. It states it is getting 16 null values but the vb component is producing 16 values.

    • Hi,
      Its due to the way the transform matrix display works in Rh6.0 and GH 1.0.
      this should still work in in rh5.0.

      Add a construct matrix component in between. 4×4 cells feec the values of the vb component into V. And then connect to the Transform Matrix component.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s