OdFotan
It isn't a point where the lines nearly intersect.
How to find the closest distance in the most resource-efficient way ?
Hi, just for fun I had a go, not really expecting very much.
This reminded me of some javascript code I did once that determined the distance between a bunch of bouncing balls. That is why I wanted to test this out.
However, as you mention there is no point exactly at the closest distance. So one idea I had was to first find the points that was closest, and then make a new line pair only for those points. These lines should be resampled to any desired detail. Then finally the distance is measured to the given accuracy level.
Although I do not think we will use Python for this, I just played with the numbers, and share it just for fun.
Edit: After thinking a bit about this, probably the entire lines should be resampled first, if there is no node/function that can simply "walk/follow" the entire lines and check the distances.
Interested in character concepts, modeling, rigging, and animation. Related tool dev with Py and VEX.