1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 # Draw centered hexagonal grid # 25.07.2017 www.designcoding.net – Tugrul Yazar import rhinoscriptsyntax as rs import math hexGridCenter = rs.GetPoint("Specify center point") hexGridExtend = rs.GetInteger("Enter the number of radial levels", 3, 2) hexGridClSize = rs.GetReal("Edge size of hexagons", 1.0) hexGridCAngle = rs.GetReal("Rotation angle of hexagons", 0.0) edges = 6 rs.AddPoint(hexGridCenter) hexGrid = [] pythagoras = 2 * math.sqrt((hexGridClSize * hexGridClSize) – […]

Recently, I returned to old fashion RhinoScripts in order to recapture its idea and functionalities agin. After almost 10 years, this is my first experiment on creating a custom function that draws hexagonal grids. I tried to implement a fast process for it, however there could be much faster ones out there. This script focuses on the use of functions, variables, and object arrays. I’ll continue to make more of this simple exercises, and try to revisit some of the older studies in this blog pages that were done with […]

It all started with the platonic passion on origami tessellations, not much of the origami, but the tessellation part, as I didn’t want to fold it physically, nor model them using a physical engine such as Kangaroo. That would also be very unnecessary (and yes, very boring) to simulate a folding effort on computer unless we lose our connection with the real world. Instead, I tried to look at a much abstract, silly and basic part of it; the creasing patterns. I found below tessellation named “waterbomb” by the beautiful […]

Back to serious business, I finally managed to make use of force fields in Grasshopper. It was a couple of updates ago, a new tool group emerged in vector tab, introducing different  types of vector fields to users. These fields could be merged together to form more complex effects. However, I created a very simple example of how we can use those components to create a distortion on a system (such as a regular tessellation).   Using attractor forces (usually in geometric forms) is one of the fundamental concepts of […]

This is a small exercise, to remember old-school tessellation of surfaces. While reading about rhombic dodecahedron (the stackable solid), I’ve come by this tiling. It’s quite simple, just a hexagonal grid, animated by a variation of Breststroke surface function (described here), then reconstructed as three quadrangles with proper vertex id. [GHX: 0.9.0006] here is the Grasshopper definition. You may subdivide any surface to create such tessellations, this time I chose to rebuild the surface from hexagonal cells.

This is a starting point of pattern generation study in a dataflow environment. Based on Hankin’s method of Islamic Pattern generations, I tried to simulate his process beginning with a basic regular tiling (regular hexagonal tessellation). This and other methods are explained in phD thesis of Craig S. Kaplan (here) Grasshopper definition can be downloaded here: [GHX file:0.8.0063] This approach is especially good at deformations from various attractors (without breaking linear stability). Further research should include other generation methods such as the rule-based approach that, at first sight seems to […]