Link karamba structural values to a hexagonal pattern

I am trying to link a hexagonal pattern on a shell structure values, varying the thickness based on the compression and tension values N1.
I would appreciate it if you can guide me through.
Thank you

hexaStructure.gh (59.4 KB)