Hi guys, first of all thank you for the very usefull answer you gave me. I've founded a possible solution of the problem according to Danik's suggestion. I've generated multilple consecutive random connections between surfaces, and joined them by lines. Then I've joined each set of lines with the "join" command. Then I've baked the solution and made in rhino the transaction from poligonal lines to interpolated lines. We have not to forget that the script we make have to be functional to the solution we want to obtain,and I consider this solutuion acceptable for me..
By the way the substantial problem is to tell to grasshopper to repeat "n times" some operations, a sort of "meta-grasshopper" which parametrize Grasshopper!
