Adding a list into a list with a pattern

Hello,

Does anyone have a way to insert the smaller list in to the bigger one for example every 100th time. The value needs to also be at the end of the row after the EM value and not as an individual row. This is a feedrate which changes every now and then but not all the time.

  • Do you want to concatenate the first item in the smaller panel to the 100th item in the large panel, then second item in the smaller panel to the 200th item in the large panel, etc.?

  • Or concatenate the first item in the smaller panel to the first 100 items in the large panel, then second item to the next 100, etc.?

3. Attach minimal versions of all the relevant files

Yes the first one is correct. Any help with this would be much apprecciated and thanks for the tips!

No help from me because you haven’t posted a GH file to work with, per the guidelines I linked to.

Okey sure, I will provide it here tomorrow currently unable to do that.

A substantial part of this code is creating the data you didn’t provide.

2 Likes

Thank you so much for your help that was already enough to solve my problem.

Posting GH files is always easier for both parties, especially if there are hidden details like expressions.

list_2024Jan3a.gh (14.3 KB)

1 Like