Hello everybody,

i wanted to know if it is possible to multiply index numbers in an offset for a Relative Item component. I will be using the component to join those relative items using lines.

Basically I need the following result (i’m attaching the file and a screenshot too):

multiplying indexes in a Relative Item Offset.gh (14.7 KB)

the point {0}(0) will join with {1}(0), {1}(1) and {1}(2).

the point {1}(0) will join with {2}(0), {2}(1) and {2}(2).

the point {1}(1) will join with {2}(2), {2}(3) and {2}(4).

the point {1}(2) will join with {2}(4), {2}(5) and {2}(6).

this means that my offsets should look something like:

{1}(2i)

{1}(2i+1)

{1}(2i+2)

but it seems that index multiplications can´t be done.

Is there any other way to solve this?

Thanks in advance!