Rhino.Compute mesh parameter

Hello,

I am currently exploring the Rhino.Compute app server (https://github.com/mcneel/compute.rhino3d.appserver) in combination with Rhino.Compute (https://github.com/mcneel/compute.rhino3d).
Steve Baer’s workshop on this is quite helpful for understanding on how these different parts are working together. He mentioned that you can use more several different input types besides the used numeric slider values. I also read in the RESThopper github that it is possible to for example use Meshes or Curves as input parameters for your grasshopper definition.
On the basis of his example files, I am trying to adapt the project to gain an understanding of it.

I unfortunately didn’t manage to use meshes as input yet and wasn’t able to find an example here or on the web.

In the attached screenshot I tried providing a rhino3dm mesh in the request payload to the rhino.compute app server, which lead to “500 Internal Server Error”. I am pretty sure it’s about my provided data.
2020-10-26 14_20_32-Window

1 Like

Solved by this thread: Rhino Compute JavaScript Mesh Input Parameter Error

1 Like