I´m in need to calculate the shortest distance in 3d between a set of basepoints and a line.
Something similar to a Neighborfinder in 3d mode.
Do any of you know a way to do this?
Solved
Neighborfinder 3d, calculate 3d distance.
Best answer by hkingsbury
An approach could be that you extract the vertices of the line and then use them and the coordinates of the candidate points to create a 3d line, then get the length of the resulting line. This will give you the shortest distance been a 3d point and a vertex of the line. I’ve attached and example workbench (2024.1)
If you want to find the closest point along the line, you could use the Densifier to emulate segment snapping. This will make a heap of vertices along your line and will get exponentially slower as your line gets longer.

Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.