Hello.
This might be a stupid question, but I am a noob, and I need help
- I have set up Rhino.compute on AWS ec2.
- I can send requests to the compute server with an base64 decoded gh-file and input parameters.
- I do receive conceivably legit output - but.
- When I want to render that output in a three.js scene - I am struggling to decode the respons-data into something renderable.
Is there some documentation on the format to properly decode the data? And what is the difference between outputting a Context Bake component versus a mesh-component? Is the baked data supposed to be a complete and valid 3DM file? Or is it a mesh? Or is it something else?
the current output is something like: {
“geometryData”: {
“modelunits”: “Millimeters”,
“dataversion”: 7,
“algo”: “”,
“filename”: null,
“pointer”: “md5_52F6099190F37FCF588A816C196ABDCA”,
“cachesolve”: false,
“values”: [
{
“ParamName”: “OutputBake”,
“InnerTree”: {
“{0}”: [
{
“type”: “Rhino.Geometry.Mesh”,
“data”: "{"version":10000,"archive3dm":70,"opennurbs":-1875079255,"data":"+n8CABRAAAAAAAAA+/8CABQAAAAAAAAA5NTXTkfp0xG/5QAQgwEi8C25G1z8/wIA3D8AAAAAAAA4AAEAAPwBAADSHTOevfjl/9IdM569+OX/0h0znr345f/SHTOevfjl/9IdM569+OX/0h0znr345f/SHTOevfjl/9IdM569+OX/AAAAAAAAAAAAAAAAAAAAAAAAgD8AAIA/AACAPw… etc etc etc
Thanks
Markus