stevebaer
(Steve Baer)
March 22, 2018, 9:29pm
23
@nathan.lowe I updated the server to allow for multiple “function calls” with a single call to the server. I still need to figure out how to make convert this into something in the C# SDK that makes sense.
The multiple querystring is now supported for all endpoints. Here is a curl example for creating two circles
curl -H "api_token: steve@mcneel.com" -H "Content-Type: application/json"
-d '[[{"X":1.0,"Y":2.0,"Z":3.0},12],[{"X":1.0,"Y":2.0,"Z":4.0},30]]'
https://compute.rhino3d.com/Rhino/Geometry/Circle/New?multiple=true
Results are just returned as a json array. I didn’t take the time to do any optimizations on the server for this, but I plan to. multiple calls for things like intersections s…
That is amazing! I will share the code for the client side tomorrow per my earlier direction.