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.
I am having trouble assigning individual masses to particles in the system. I have been working on a model in processing that creates a hanging chain with particle springs, but then re-calculates each particle's mass depending on its distance down to a surface. This creates a variable thickness arch that re-directs the thrust vector inside the thickness of the material (as demonstrated in this video). I would love to re-create this with kangaroo, but am running into a problem when i try to inform each particle with the vertical dimension (list).
If you find the two attached files, you will see the funicular/catenary is produced (though currently each particle is using the same vertical thrust (even distribution). I also have the list of vertical dimensions I need to feed back into the system. I can not seem to figure out how to turn this list into a series of vertical vectors to assign to each particle in kangaroo. Is this even possible? Thanks so much for all of your help and advice.
Victor Leung
Quick thought without going into Rhino,
If you set individual values of vector when you define the Uniary Force of each point in the chain, you could supply a list of points together with the list of vectors (assuming they all point Z, but should then have different values). If both matches in order (data structure). The Unary Force component will assign a different force for each point.
Sep 28, 2011