@sadovshikov A note of caution: there is an open bug report for GetDistancesBetweenCurves https://mcneel.myjetbrains.com/youtrack/issue/RH-38227
-Willem