compute.rhino3d icon indicating copy to clipboard operation
compute.rhino3d copied to clipboard

Added new endpoints to return plug-ins & versions

Open nic-burgers-arup opened this issue 2 years ago • 1 comments

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.

nic-burgers-arup avatar Jun 24 '22 00:06 nic-burgers-arup

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.

nic-burgers-arup avatar Jun 28 '22 06:06 nic-burgers-arup

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.

sbaer avatar Feb 20 '23 17:02 sbaer