Run grasshopper script as an internal service from a network location

That may not be a common use-case, but I am wondering if it is possible to package grasshopper scripts so that others, who don’t have Rhino installed on their local machines could run them from a shared, network location (private, not web).

I recall couple of recent projects, which aimed at running Rhino “headlessly” on a server, but not sure if this applies to Grasshopper as well?

That would be great, because prototyping solutions in Grasshopper is usually much quicker than in any other framework. Regular users though often don’t have Rhino installed, which really cuts the benefits short.

Projects like shapediver seem to had it figured out in some way.

This is one of the use cases for Rhino.Compute. You would prototype a remote definition with Hops. Once you are happy with how the remote definition is set up, you could right click on the Hops definition to generate a sample python script that could be used in lieu of running everything in Rhino/Grasshopper. The python script would need some modifications, but could be used as a starting point for running the script on other people’s computers who do not have Rhino installed on their computers.

1 Like

that’s brilliant, thank you