Change the outcome of the unroll component

hello,
i have created this hexagonal pyramid array and im trying to unroll them like in the second sketch.
any advice on how to do so?
i have tried to use other unroll components from other plugins and the result is the same.
thanks!


Canvas at 18;38;20
unroll hex pyramid.gh (10.5 KB)

You need to unjoin the correct edges.

Look here for a script: