Grasshopper

algorithmic modeling for Rhino

Non-uniform scaling of a slightly complicated hex grid in relation to distance to a point

Hi, 

I am trying to scale a slightly complicated hex grid (large hexagon containing a smaller hexagon and triangles in a non-symmetrical way) in relation to a distance to a moveable point (see explanatory screenshot).

I can get a simple hex grid to work (scaling correctly and changing colour) in relation to a distance to a point.

However, when I plug in my slightly more complicated hex grid I can't seem to get it to work. I have tried multiple ways of trying to connect my more complicated hex grid up, and this is the best I can come up with with my experience so far (only 3 weeks experience with grasshopper and rhino). 

Sorry if this is a newbie qs that has already been answered (I have tried searching, but no luck), but I would like to be able to

1) Have my more complicated hex grid scale appropriately in relation to a distance to a point

2) Not lose any hexagons at any rectangular grid points

3) If possible I would love to get my coloured triangles to also work with this distance to a point definition as well

Grasshopper file included.

Any help would be much appreciated.

Thank-you


Views: 809

Attachments:

Replies to This Discussion

U should use Remap component with Construct Domain component (u can set values to Construct domain component like the minimum value of hexagons to maximum size of hexagon) 

Here is a file explaining .. hope this helps, the smallest value of hexagons will scale to 0.2 and largest to 0.8 as i set in domain function... also u can use  "min" , "max" components .... with graph mappers components to bring in variations ...

Attachments:

Thank-you Shridhar.

I just tried the remapping definition but it doesn't seem to be scaling the hexagons when I move the point. Just wondering if I am using it correctly?

Grasshopper file included.

Thank-you

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service