Grasshopper

algorithmic modeling for Rhino

Hi all,

I am working on a C# component using kangaroo.dll as reference. I am wondering if I can run the solver inside my code.

Now what I am doing is just assemble the "goals" and then send it to kangaroo solver inside grasshopper. Nothing special. It's less powerful then include the solver in C# code(run it in loops for example).

Dose anyone know how to run the solve in code? Thanks.

Bests,

Dongyuan 

 

Views: 1243

Replies to This Discussion

The solver is the PhysicalSystem class defined in the KangarooSolver.dll

Check out the scripting sample files that come with Kangaroo download. In particular, have a look at the sample StepByStep.gh where Daniel Piker shows how to instantiate the PhysicalSystem class and update it step by step

Thanks Long! I will try it out.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service