Hello everyone,
I’m currently working on generating a JSON file using the JSWAN plugin in Grasshopper. I’m not very experienced with handling these files, so I could use some assistance.
My goal is to maintain the existing data tree structure in Grasshopper when creating the JSON file. Specifically, I want to preserve the current grid levels and replicate the same data structure for the slabs as I initially had. In my script, I’m creating and reading the JSON file to obtain the results. However, I’m concerned that if I only have the JSON file, I won’t be able to verify whether the data tree was correct from the beginning.
By the way, if I do not flatten the output coming from the slabs at the beginning I am changing the structure of the grids!
Here’s an image for reference:
Could someone please review this? Is it possible to provide the right data structure using other plugins such as @shapediver I’m unsure of the correct approach. Your help is much appreciated!
Thank you in advance!
JSON File.gh (16.6 KB)