Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I am looking to solve two problems. I tried different methods but it doesn't work.

1. I have a list of boxes. the boxes are intersecting with each other.

I want to count how many boxes are intersecting with each box in the list.

2. Also I have another list of boxes. the boxes are adjacent to each other.

I want to count how many boxes are adjacent to each box in the list.

any idea how to do that in grasshopper?

Thank you,

AA

Views: 1756

Attachments:

Replies to This Discussion

Aha, now I got it. I will try to work on it so I can learn from the code as much as I can,

Thank you for your time and help 

The Idea of paths is new for me I think it will help me to solve a lot of codes in the future. 

Q: In the random reduce node when I use seed input to make a variation of the form. the result dose not follow the same rule "Only delete the boxes that surrounded by less than 6 boxes".

I don't understand why?

It random reduces on everything in the the example I originally gave, you would need to put the random reduce after the node based on the condition. Upload what you have and I can take a look on Monday.

Thank you for helping me here is what I did:

I used the red group color in the code:

1.I tried to use the seed to make a variation of each solution

2.I tried to join all the boxes in one form I want to calculate the skin area also in future I want to apply some environmental analysis.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service