Grasshopper

algorithmic modeling for Rhino

Using Kangaroo force and spring functions in the C# component

Hello everybody,

Sorry if the question is repetitive, actually I couldn't find anything about it in the forum.

I am making a graph of of points and springs between certain (not all) nodes of which there are Kangaroo springs with special rest Lengthes, I can pretty do it with kangaroo components defining a point for each node,but the problem is it becomes very busy,and also for other reasons I want to be able to control the springs it in C# component:

 

1. I want to make the springs on and off according to certain "if conditions" (not only distance)

2. I want to increase the number of nodes to more than 20 (with for example 40 connections) and use many of these graphs to do the simulation.

 

I wanted to see if it is possible to access the functions of kangroo in C# component? if yes is there a documentation of Kangroo functions just like rhino SDK?

Thanks in advance,

 

cheers,

 

Mobasher

 

Views: 1035

Replies to This Discussion

Not yet, but just started working on it!

Having Kangaroo as a dll that you can reference from your own C# (or VB or Python) component is something I've been interested in doing for a while, as I think it could really open up the possibilities for many more interesting uses of the physics engine. Now thanks to some great help from Giulio Piacentino and Steve Baer, we are on the way to making this happen. 

Great to hear that, so I stay tuned =)

Daniel,

Any luck with this yet?

I'm looking forward to being able to create my own Springs inside a C# component and wire them straight into Kangaroo...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service