Grasshopper

algorithmic modeling for Rhino

Hey Im trying to take a series of many different size hexagons and reduce them down to only 5 or 10 different modules.

 

 

I kindof have an idea of how to do it, but theres some things I dont know how to accomplish.

 

So what I have is a definition that is a bunch of hexagons with a second hexagon inside.  I am trying to variate these inner hexagon sizes based on their distance from a few attraction points.  Currently they vary smoothly in size, but what im looking for is the ability to have maybe 5 modules so there arent 100s of different pieces.  

 

Im guessing this is how to do it.

 

1. measure the distance from attractor point, so you have a list of all the sizes of the hexagons.

2. establish what the highest and lowest points are

2. split this list into however many different modules want to have

3. take these lists and set a new size for a module

 

I have attached my definition, just open a new rhino document and make and set two attractor points

seems easy, but im still learning.

 

thanks

 

andrew

 

 

 

Views: 626

Attachments:

Replies to This Discussion

The list of number gives 4 different scale factors, so 4 different modules.

Using Closest point working only on z is unelegant but it works. It selects the number in the scales list which is closest to your calculated scales from attractor distances.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service