Matched pairs and closest points

This sounds remarkably similar to a recent thread about a perforated “LobbyWall”:

Applied to your curves (after moving one set of curves some distance vertically), it looks like this:


matched pairs_2021May11a.gh (30.3 KB)

As you can see, three curve pairs have a common curve at one end… I haven’t figured out yet how to determine which of the two in each of these three pairs is shorter, which logically seems like the correct choice? Better than a manual length slider, eh?