Half-Edge Mesh

Each segment of this network has two half-edges Though the logic behind the data-structure of a half-edge mesh can be difficult or unintuitive to work with at first, once it becomes clear, it can become difficult to imagine working without recourse to functions that will tell you which face an edge is adjacent to, which … Continue reading

Face ID

Connecting moving points over a topographic model of Zermatt, Switzerland Following the previous post this code shows how to use the twin-edge function to more quickly identify a point position’s corresponding face from an HEM. In that code we simply checked through every face until finding one which intersected the cutting plane. In some ways … Continue reading

Mesh Section

Progressive sections through a topographic mesh of Zermatt, Switzerland This sketch adds to the Half-Edge Mesh sketch, a function sectionHEM() for cutting a planar section through a mesh. It also uses the Mesh Import function to instantiate the topography from a pair of .txt files (included in the .zip file below). The section function is … Continue reading

Medial Axis

The medial axes and vanes of various shapes One of the first grasshopper definitions shared at Daniel Piker‘s SpaceSymmetryStructure blog was a file for calculating the medial axis (or topological skeleton) of a curve: the set of points with at least two closest points on a curve boundary. This definition was more accurately a voronoi … Continue reading

Wind Impact Simulation:

Feasibility study of renewable energy sources. Ten years of monthly average wind directions and speed (via Wolfram), in reaction with topographic variations simulated in Processing for visual analysis using the Anar+ library and a custom built half-edge mesh class. Darkness of the line indicates proximity to ground. Red squares mark wind impact with and deflection … Continue reading