compute.rhino3d
compute.rhino3d copied to clipboard
Added new endpoints to return plug-ins & versions
These endpoints return (sorted) dictionaries of plug-ins and their versions for both the running instances of Rhino and Grasshopper, as well as those used in a supplied GH file (examined using the GH_IO library). There is one assumption baked into this code: that it is satisfactory and desirable for the assembly version to be returned if the actual plug-in version is blank/empty/null.
These endpoints are useful in certain circumstances that can occur in large organisations, such as: there is a shared set of Rhino Compute instances running and a separate cohort of GH-authors want to run their files on the compute server, so they would like to check if the plug-ins they use are supported by the Rhino Compute instances running in their organisation.
Thanks @nic-burgers-arup . We merged the majority of this PR here https://github.com/mcneel/compute.rhino3d/pull/565 We left out the "plugins/gh/inspect" endpoint for now as we couldn't quite figure out how it works. Please make a new PR for the inspect endpoint if you still want if merged with this repo so we can focus on that single endpoint and discuss it.