Wednesday, April 18, 2012

GH: IMAGE GILLS

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
GRASSHOPPER IMAGE GILLS


This definition samples an image to make a gilled surface

LOGIC
1. Divide a surface with points
2. Sample an image
3. Use image values to move points
4. Replace end points with original points
5. Create curves from points
6. Loft to make varying height gills that twist at ends

GH Version
0.8.0066


Tip
See Image Sample directions to set up the image sampler. Reverse the N 
vector from divide surface to flip the gill direction. Use images of objects 
and make the values very dense to actually see the image in the gills. Also, 
use images of shadow studies (as I did here) or heat maps to create 
smart facade or roof systems based on site conditions. 








Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

5 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hi my replace members component gives me the red error

    1. Solution exception:Object reference not set to an instance of an object.

    I followed the example perfectly. Any help?

    ReplyDelete
  3. same here, error occurs in the replace part and shows empty generic parameter

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete