Grasshopper

algorithmic modeling for Rhino

Hello,

I'm trying to construct a condition that allows me to choose the distance between 2 bounding boxes or if that's not possible between 2 surfaces...

I have 4 different types of bounding boxes and I want to use the function galapagos with the condition that the boxes need to stay a certain distance from each other, can anyone help me?

Is there any function to do so because now I can only find some functions related to points and curves and the closest points but I want to define the distance by myself (with a slider).

Thank you very much!

Lise

Views: 1064

Replies to This Discussion

Do the bounding boxes change size over time?  

 

I would use:

Populate the surface with points > Kangaroo2 sphere collide with solid object. Because then the (solid) objects can rotate and interact.

But that can get intense really fast. It might be as simple as measuring the diagonals of each bounding boxes (BoxProp). If 2 objects are closer than the Sum of their (diagonal distance/2), then tell galapagos that's bad.

Do you have any definition yet?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service