Need to ask around.
“Slices to Pattern” is the one I was thinking of (thanks dblue):
https://forum.renoise.com/t/new-tool-2-7-2-8-slices-to-pattern/31593
@Medito: that tool requires you to set the beat-sync of the first sample - so, could be a limitation for you if you need > 512 lines ?