CODING

Recently, there has been a massive shift in the parametric tools that we use to design. A few years ago it was just grasshopper, now it is ML, AI, Coding, and various types of analysis. To get my hands dirty, I started learning python inside rhino to see how coding can influence the design process.

It is a weird process because you are writing the design and not manipulating the design/geometry (which we are used to) but once you understand the design in terms of its basic inputs like point or line then connecting that using a code and developing design doesn't seem that weird. One thing I want to point out is if it's a simple design, coding is complex but if it's a complex design then coding is fun.


 

1.jpg

rhinoPython - 6

In this code, I was experimenting with a non-planar surface to generate a weaving pattern on top of it. Very important for non-planar surfaces is to generate surface normals, for which the code used point matrices along with domains. Apart from this, the code uses dictionaries and lists to create the pattern. At the last step a color gradient was added to all the 155 strips.

rhinoPython - 5

Working with data structures and control flow in rhino python to generate this three dimensional pattern with the help of 3D point matrix. The code uses conditional statements in an iterative loop to perform the geometrical actions and develop the form. A color gradient was added as the last step, before closing the loop. The modules are assigned colors depending upon their size. Since the whole design was coded, it took less time than grasshopper to generate all the 2208 polysurfaces.

1.jpg
1.jpg

rhinoPython - 4

Working with conditionals, iteration and dictionaries to form 2D point matrices in rhinoPython in order to generate an iterative varying pattern.

rhinoPython - 3

Working with iterations and conditional statements in rhinoPython to create attractor patterning from a point matrix. Definitely easier to make this in grasshopper though :D

1.jpg
1.jpg

rhinoPython - 2

Working with tuples and lists in rhinoPython to create bone structures. Haven't explored looping yet, that's why the long code :p

rhinoPython - 1

Exploring the basic functions of python in rhinoceros.

1.jpg