Is it possible to use Kangaroo outside of Grasshopper i.e. in a Python script that’s opened from Rhino with EditPythonScript? I know you can use Grasshopper components with:
import ghpythonlib.components as ghcomp
but Kangaroo is a little different because it has state.
We’ve also been implementing Kangaroo2 in IronPython since it was a wee Joey. There’s an example of how to reference the assembly here and an implementation of a zombie solver (i.e. one that solves the goals in one go, such that you won’t have to worry about implementing the iterative step solving as a dynamic process):
Edit: note that these example files are quite old at this point, and a lot has happened since. So I’m sure there are better, more efficient approaches here and there.