Iterate patch command on multiple closed non-planar curves

Hey there kind people,
Is there a tool, script or grasshopper algorithm that would allow me to iterate the patch command on multiple non-planar closed curves? (As output i need multiple surfaces)
Thanks

without an example is hard to know what do you need ar what could help

Something like this I guess?

import rhinoscriptsyntax as rs


def multiPatch():
    
    ids = rs.GetObjects("select the curves.", filter = 4, preselect=True)
    if not ids:return
    
    for id in ids:
        rs.AddPatch([id],(15,15), trim= True)
        
multiPatch()
2 Likes

Thanks!