I’m trying to create a printable guide sheet for a layout with size and color of a tringle grid. As you can see, the size was easy, but I’m having trouble with the color designation as I can’t figure out how to match the jittered and partitioned list items back to the original list of items so I can place the value in the respective triangle.
I think what I need to do is iterate through the unaltered list, find that index in the partitioned list, then use the partition number as the color code (fed into the “C data” field of the Concatenate going into Text Tag 3D). I’ve played around with a few components like Tree Statistics, Member Set, Tree Item, but I either don’t have the right ones or haven’t figured out how to construct it properly. Bonus points if you can take that partition number and use it to write the color name in the multiline panel beside the colors.
triangle_grid.gh (34.7 KB)