Using kangaroo2 or Galapagos in GhPython

They are pretty old though, but should get you going. Note that I’ve been importing the KangarooSolver namespace like so :

import Grasshopper as gh
import clr
clr.AddReferenceToFileAndPath(gh.Folders.PluginFolder+"Components\KangarooSolver.dll")
import KangarooSolver as ks

Since Kangaroo2 became a first-party plugin. It’s pretty neat in that one does not need to add paths etc. And everything will “just work” when you issue definitions at work/workshops.

3 Likes