Hops has two ways to interpret the path setting on a component
- Address of a server that handles the entire process of receiving inputs, performing calculations and returning results. This is what the ghhops-server python server does as well as the AppServer project (GitHub - mcneel/compute.rhino3d.appserver: A node.js server for solving Grasshopper definitions on Rhino Compute)
- Address of a grasshopper definition file (.gh or .ghx). This definition is passed on the a copy of rhino.compute that is running on your computer to solve or to another rhino.compute instance running on your network as specified in the grasshopper preferences.
For the case of a grasshopper definition path, I wanted to share that this could be set in multiple ways.
- Path to a definition that is on your computer
(C:\mydefinitions\SpikeyThing.gh) - Path to a definition that is stored on a shared network drive
(\mynetworkdrive\steve\SpikeyThing.gh) - Path to a definition that is stored in a location accessible over the internet. If you use a service that stores files online, you could use the address to the online asset as the path. Here are a couple examples,
github: https://github.com/mcneel/compute.rhino3d/raw/master/src/hops/definitions/SpikeyThing.gh
dropbox
https://www.dropbox.com/s/m3ntoyqfn0qbbsw/SpikeyThing.gh?dl=1