Distance between curves

Hi,

I’m trying to come up with a way to measure a set of curves and find any that are too close together. The closest I’ve been able to come up with is a grasshopper definition that will give me a true false list if there are any curves less than 5mm apart but I’m not sure how to get it to specify just which ones are which. It’s pretty clunky and requires a lot of manual curve section. Ideally I’d be able to input everything and get back a line or some other indicator if any two curves are less than a set distance apart.
Lines.3dm (2.6 MB)
CurveDistance.gh (12.2 KB)