Installing GH Player commands like a plugin?

Hi.

We use Grasshopper player to create some custom commands for Rhino that are easy to use. The main reason is so that it is easier for others in our company to use things that are created in Grasshopper.

One thing that is super cumbersome though is that “installation” of the GH Player commands is not quick and easy. You have to copy files into a super hidden folder (if you are not a GH user), create a new toolbar, create new buttons, add the commands, etc.

So now my question: How could I bundle all this into something that people can install like a plugin, so that it copies the files, creates the toolbar with icons and so on?

If that’s not easily possible how do others solve this problem?

ps: bonus points for also being able to easily update it

2 Likes

You can compile GH player scripts into an rhp file with the Rhino Script complier.

Image 1161

If you create a custom UI/toolbar, name it the same as the rhp file/add it to the same folder rhino will install the UI and commands with a drag and drop install.

Cheers

DK

2 Likes

This is exactly how I created this ‘plugin’ for Rhino:

Cheers

DK

2 Likes