algorithmic modeling for Rhino
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.
Tags:
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.
Yea, that wont work.
Your Variable Vertical Thrusts is an dynamic result generated from the calculation. You cannot feed the result back to the system without generating an infinite loop, which is invalid in programming nature. You need cannot make a loop like that.
If you intended that this is a loop calculation as optimization, either look into other Kangaroo example, which uses counteracting forces as an optimization method.
Or look into Hoopsnake which allows you to make loops.
Or look into Galapagos if you want to compute a result from genetic solver. (Which is a smart trial and error)
Cheers
Victor
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson. Powered by