Grasshopper

algorithmic modeling for Rhino

Is it possible to alter lists of Anchor points while Kangaroo is running?

Hello guys,

I have a general question about Kangaroo possibilities via Anchor Points. Is it possible to automatically alter anchor points while Kangaroo is running?

When the algorithm is running it receives Forces and has some anchor points that I've set at the beginning. What I actually need is when running the algorithm, it should be possible to automatically replace the first list of anchor points with new ones. The reason for doing this is that the kinetic behaviour is based on this relationship of forces application and handling anchor points in time so that we have a sequence of behaviour.

In my case, there is a group of units that change their length by sliders, and collision is applied as force to them so that they move according to that. It is needed though to control anchor points to produce different patterns of geometry/movement.

If you have anything in mind let me know.

Thank you,

Ifigenia

Views: 862

Replies to This Discussion

There are probably better people to answer this, but here's my shot.

Not sure of your particular desired result.  In my experience, you can move anchor points freely as long as they are in the right place when the Kangaroo simulation starts.   I.e. you can drag (in Rhino viewport) or move (in GH) the anchored ends of a "hanging chain" and the form will follow.

"Replacing" anchor points with new ones is trickier.   Sometimes *culling* anchor points from a list that you started the simulation with works... sometimes it mixes the order of geometry-to-anchor and things go wacky.   Generally, I find that *adding* anchor points will throw an exception in Kangaroo.


So my experience tells me to start by looking for a way to apply transformations to existing anchor points, instead of reassigning the list... but maybe someone with a little more know-how has advice...

Thank you Joshua for your answer. 

Controlling points from Grasshopper was not the task, but what I wanted was to alter them from Kangaroo which produces error as you 've said. 

However, I 've done some other way without moving anchor points.

Thank you again,

Ifigenia

Following up on this topic...

I have a similar problem. Let's say I am manipulating the ends of a surface with anchor points, while the surface is constrained with springs and hinges. I want to "add" an anchor point somewhere in the middle of the surface, after the solver has been running, to steer the resolved form in one direction or another.

Is there a way to do this? If that middle anchor point is included from the beginning of the solver, it throws off the ability of the surface to find its initial ideal shape without a fixed point in the middle.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service