Kangaroo

THIS FORUM IS NO LONGER ACTIVE. PLEASE POST ANY NEW QUESTIONS OR DISCUSSION ON:

https://discourse.mcneel.com/c/grasshopper/kangaroo

The discussions here are preserved for reference, but new questions posted here are likely to go unanswered.

Kangaroo is a Live Physics engine for interactive simulation, optimization and form-finding directly within Grasshopper.

Conform Curves

Hi,  I have been trying to create a simple interaction in Kangaroo where a circle would collapse around a series of arbitrary lines or closed curves.  I can't seem to make this work using the UnaryForce object.  Would it be better to assign Springs only?

 

Glenn

 

 

 

  • up

    Daniel Piker

    See the attached definition for one approach to this.

    It uses a combination of springs and an attraction force to pull the curve inwards, and springs with cutoffs for the hard circles.

    6