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.

tolerance ?

Hi Daniel, 

I have been playing around with the new kangaroo solver quite a bit now and it is great, it does however have a slight disadvantage over the old solver - The collapsing of short springs. 

I am working on a project where we have trimmed a mesh based on a boundary which at times leaves short lines/springs along the edge. With the old kangaroo you could run it with these and it wouldn't care(will give a weird edge), or you can(what we did) alternatively make find these short segments on the edge and make the start/end points fixed points, we are however still inputting the short segment as a spring(which doesn't move because of the before mentioned fix points), and the old solver wouldn't care. 

The new solver however collapses the short segments, which then makes the entire structure i am working on disappear(see attached images). I have however found a way to fix this, which is to remove the short segments from the spring list, and still use them as fixed points. And then put the full geometry through as a "show" object.

My question is, would it be possible for the future to potentially alter the tolerance? you know with a settings component similar to that in the former kangaroo options.

Keep up the excellent work!

- Jens 

  • up

    Daniel Piker

    Hi Jens,

    Thanks.

    Certainly I can put in a control for the tolerance at which points get combined.

    I hardcoded it at 0.1, intending to add an input parameter for this later, then forgot to do this before the release. Thanks for reminding me.

    Daniel

    1