Bad experience trying to get started (again!) with Grasshopper

Thanks Marc,
Can you please check what Kangaroo files you have in these directories?:

C:\Users…\AppData\Roaming\Grasshopper\Libraries

and

C:\Program Files\Rhino 6\Plug-ins\Grasshopper\Components

The Libraries directory is empty.

And in components:
image

Ah, there needs to be another file in there called KangarooSolver.dll
If you have already downloaded that file, put it in the same directory and unblock it, then restart Rhino.

Ok, thanks, I’ll ask that when the IT guy next comes up here…

That dll file should have been there originally as part of the Rhino6 install, so I guess it must have got deleted at some point.

I can see how some of the information on the old Grasshopper page was misleading, since it didn’t mention that Kangaroo now comes as part of Rhino6, so there’s no need to install. I’ve now added a note there to clarify.

help daniel please, i have just installed the trial version of Rhino6 and no, Kangaroo2 is not showing up when i open Grasshopper in this version! also, the Grasshopper for this version seems to be locating itself here:
C:\Program Files\Rhino 6\Plug-ins\Grasshopper\Components
rather than here:
C:\Users\aileen\AppData\Roaming\Grasshopper\Libraries

note i still have a working version of Rhino5 which shows Kangaroo2 and don’t want to uninstall Rhino5 before i can get the new one to work.

please help

@aileen - Grasshopper loads the built-in components from C:\Program Files\Rhino 6\Plug-ins\Grasshopper\Components. Since Rhino 6, this includes Kangaroo2. The %AppData%\Grasshopper\Libraries directory is still used for third-party plug-ins.

Do you have Kangaroo2Component.gha and KangarooSolver.dll in either (or both) of these directories?

yes Kangaroo2 and KangarooSolver.dll are in both directories, is that a problem?
also now Kangarro2 is not showing up in my Rhino5 version.
is there anyway we can share screen?

It could be that you need to add a “no6” file in the r5 libraries folder to stop r6 from trying to load this one. That way you can keep different versions of a gha for r5 and r6. See David’s reply here: Rhino 6 grasshopper install fails

ok so i have 3 directories:
C:\Program Files\Common Files\McNeel\Rhinoceros\5.0\Plug-ins\Grasshopper (b45a29b1-4343-4035-989e-044e8580d9cf)\0.9.76.0\Components
C:\Users\aileen\AppData\Roaming\Grasshopper\Libraries
C:\Program Files\Rhino 6\Plug-ins\Grasshopper\Components

and 2 versions of Rhino, Rhino5 and Rhino6.

does Rhino6 use other directories other than C:\Program Files\Rhino 6\Plug-ins\Grasshopper\Components

do i need all 3 directories?
in all 3 directories i have copied:
Kangaroo2
Kangaroo2Component
and
KangarooSolver.dll

now i will open Rhino5 and Rhino6 again and see if any of them have Kangaroo2

please help i am desperate to get this working, want to use the new tools like RigidBody

ok no still not seeing Kangaroo2 appear in either version of Rhino
also when i right click on any of these files i do not get the window with the option to Unblock, in case that is somehow related.
again, please reply/ help

thanks sorry i am an architect and not a computer wizard. is there anyway to get more direct help with getting this to work? like sharing my screen with you? i am happy to pay for this service i just cant see where the problem could be an now kangarro2 is not working in any Rhino version.

You should have the following:

  • C:\Program Files\Rhino 6\Plug-ins\Grasshopper\Components
    • Kangaroo2Components.gha
    • KangarooSolver.dll
  • %AppData%\Grasshopper\Libraries
    • Kangaroo2.gha*
    • KangarooSolver.dll

*Note that the GHA is called “Kangaroo2.gha” in the version that @DanielPiker publishes on Food4Rhino. You don’t need a .no6 files unless you change the name of this file.

I’ve just tested this and Kangaroo2 works in both Rhino 5 and Rhino 6 without any conflict errors.

You shouldn’t have the Kangaroo2 GHA or DLL anywhere else.

i just cleaned up my directories as you have written here however Kangaroo2 is still missing:
image

Are you getting any loading errors now on Grasshopper startup?

no error messages but kangaroo looks very odd:

here are the 2 directories:

hi Will and Daniel,

so now Rhino6 is set up with the 2 directories as you have suggested here and it works. i am very grateful.
however i wanted to look at a test resistance grasshopper file and apparently need Kangaroo .099 for this since for example the Grasshopper i have now does not have PulltoMesh? also, wanted to look at tensegrity and this needs Kangaroo .089 s

when i try to PackageRestore i get the message “not all plug-ins were found on the package server”.

can you advise, do i need to download both Kangaroo .089 and .099 and replace files in my directories?

1 Like

It would be better to make a separate topic about what specifically you want to do.
Instead of trying to make an old example work using old versions, I’d recommend just describing the aim and I can point you to some examples or how to go about it with the current version.

2 Likes

Rhino 7 here.
I’m trying a circle packing definition from another thread and when I load it, I get the “Assembly Reference could not be resolved” error, mentionning the “KangarooSolver.dll” component.
This comes on top of a long history of confusing Kangaroo installs, including old and new versions existing concurrently, “Plankton” appendages, extraneous components like MeshMachine…

Daniel, I’m a big fan of your work, but at this point, would it be possible to tidy-up in such a way that we don’t spend more time hunting for files than actually using your fantastic tools ?