Hi Carlos -
The method behind the solution relies on the UV-space of surfaces to provide the mapping of points for the loft. If you haven’t already, you’ll want to look into that and understand how that mapping works. (A search on youtube yields this video, which deals with the concept).
Essentially, we create a mapping of our pattern in UV-space, move our surfaces (which carry the desired mapping around with them) to all of the desired locations and orientations in our loft (in your example, top, middle, and bottom), and then get the XYZ-space points from them by evaluating the surfaces, now in different locations, at the same UV parameters as the original surface. This way we only need to create the pattern once, create a surface (which is easy, since you already have the outlines), and then perform the remapping.
I’ve included a definition that does exactly this (modifying the one I sent you earlier). Since I don’t have your file, it uses internalised geometry made in Rhino, but you should be able to see the concept in the inputs and replace them with your algorithmically-generated pattern curves as need be - it should be able to work with any pattern curve (I’ve included two examples) or surface collection, as long as they are ordered and oriented correctly. The essence of the problem lies in structuring the data correctly for the loft. See the file for details - feel free to let me know if you have more questions!
pattern curve loft.gh