Grasshopper

algorithmic modeling for Rhino

Sorry if this is covered elsewhere, if so please point me to the right spot.

 

How is the collide surface module used with Kangaroo? Does it feed into the geometry input? I've got P-law working to repel a set of partilces from each other. now I'm trying to use collide surface or pull-to surface to bound them within a region. I'm used to the older version of Kangaroo that has constrain to surface integrated, now having trouble understanding how to hook up. 

 

 

Views: 4329

Replies to This Discussion

Oops, got my answer from a previous post here:

http://www.grasshopper3d.com/group/kangaroo/forum/topics/packing-ci...

 

looks like collide and pull-to both feed into force objects. both need to be flattened to work.

Tremendously useful tool, thanks!!

Thanks Chris, glad you got it figured out.

 

For everyone else - to clarify a bit:

 

Both CollideSurf and PullToSurf treat the points input as a list and the surface as an item.

You can collide/pull points with multiple surfaces, you just need to remember to pay attention to the data matching - if you give one CollideSurf component a list of 10 points and a list of 10 surfaces, by default it will only collide each point with its corresponding surface in the list - to make each point collide with each surface you need to set the component to Cross-reference.

 

They then both feed into force objects.

In some previous versions I did have the possibility to choose between hard and soft constraints for these (particles never penetrate collision surfaces/ always stay exactly on PullSurf, vs just a force pulling them there). This option will be coming back in soon, as I think there are times when both are useful.

 

 

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service