Bend

by Tuğrul Yazar | December 16, 2013 11:44

Bending is an easy operation in Rhino and Rhinoscript, however, Grasshopper did not include that particular transformation (along with cage editing) yet. I tried to simulate the bending transformation by using native Grasshopper components. First, surface projections and pulls did not work at all, because I wanted to simulate a real bending effect without changing the surface area or edge lengths. Then, the Surface Morph component seemed to handle this issue, but it became an interesting challenge to put the correct inputs into it. Finally, I managed to implement the effect with a reasonable outcome (but without complete success if you look at the surface areas). Here is the Grasshopper definition if you also need this transformation for your project: [GHX: 0.9.0061][1]

2013_12_16_bend-def[2]
2013_12_17-bend1

You should feed the shape to be bent, a line resembling the hinge axis of the operation, then the point to be used to measure the angle of bending. You can play with the definition to alter its input styles. The definition is suitable to work with multiple outputs. Below is a simple test of such multiplicity on a regular grid:

2013_12_17-bend2

A two-fold one:

2013_12_17-bend3

An irregular test with random points: (however leaves start to collide at certain distances)

2013_12_16_bend
Endnotes:
  1. [GHX: 0.9.0061]: https://www.designcoding.net/decoder/wp-content/uploads/2013/12/2013_12_16_bend.ghx
  2. [Image]: https://www.designcoding.net/decoder/wp-content/uploads/2013/12/2013_12_16_bend-def.jpg

Source URL: https://www.designcoding.net/bend/