Grasshopper

algorithmic modeling for Rhino

Add attractor points on a single unit of a surface.

Hi,

I got a surface with hexagon paneling, how can i add a group of points inside a single hexagon unit instead of all the surface, and then add attractor points into this hexagon unit (to achieve the effect as the image attached), i just have no idea where to start. Can someone help? Many thanks!

Views: 493

Attachments:

Replies to This Discussion

Hi Renj,

There are various ways to do this, here is one example:

- Create a plane for each cell, and project the cell onto it

- On this flat cell, create your pattern of points

- Find the distance from each hole to the center of the cell. Remap these number so you can use them for the size of your holes.

- Draw the holes!

I'm attaching the script for your reference (The 3dm file is still the original).

Attachments:

Hi Anders, thank you so much for the help! A million thanks! 

Can i ask another question? i want to cut the holes on surface, and get the surface without the holes. However, when i use list item, i get the holes not the surface.. 

I would also want to cull the hexagon pattern, not every cell has the holes, i tried using random reduce component but seems i didn't get it right.. Thanks for helping!

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service