Saturday, April 21, 2012

GH: GRADIENT LOUVERS

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


This definition uses points to group, orient, and colorize louvers

LOGIC
1. Define a profile curve
2. Divide curve into points for louvers
2. Measure distance points between curve points and grouping points
3. Evaluate the cross referenced distances to find the minimum distances
4. Cull vectors into groups based on matching lengths
5. Measure vector angles and assign a color value to each
6. Extrude louvers and colorize


GH Version
0.8.0066


Tip
Rotate the A output of the angle component by 90 degrees to make the louvers
perpendicular to the the vectors rather than parallel. For a single gradient just use
one grouping point. Change up the color schemes and patters for desired results.
To bake the colors to rhino you will need the BAKE ATTRIBUTES COMPONENT 
and reference this post








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

No comments:

Post a Comment