HEM functions

Offset, Distance, and Walk over Half-Edge Mesh Presented here are three functions for working with Half-Edge Meshes in Grasshopper. The first uses the lists of vertex’ incident edges (vIE) to calculate the bisecting angles at intersections in-between branches and create an offset of the graph which can be uniquely defined at every vertex (in black … Continue reading

Auxin Flux Canalisation

Each layer illustrates a change in step length Auxin Flux Canalisation is a an algorithmic process developed by Adam Runions at the University of Calgary Algoritmic Botany group to model the morphogenesis of leaf venation. The key to the process is a simulation of the distribution and flux of auxin -a plant hormone- whose distribution … Continue reading

Mesh Import

Rhino to Processing This sketch expands on the earlier Half-Edge Mesh sketch, demonstrating how to generate a large HEM class from text files containing the vertex positions and the vertex indices for each face as comma separated lists. (To generate these .txt files from Rhino via Rhinoscript see this post.) The difference between this sketch … Continue reading

Mesh Export

Rhino to Processing In a previous post I covered the implementation of a Half-Edged Mesh as a class in Processing. In that definition, however, both the vertex coordinates and face indexing were hard-coded in the body of the script (Lines 8-9). This may be acceptable for a mesh with only 16 faces, but for most … Continue reading

Half-Edge Mesh

¬†key to the HEM class methods and face splitting modifier This is a class to be used with the Anar+ library for Processing to create a half-edge (or doubly-connected) mesh datastructure which uses the parametric geometry of Anar’s faces, and points. The schema for this HEM class is based on the description of doubly-connected edge … Continue reading