Given three selected points on a mesh how do I select the path that goes through the points using python?

In general, the goal is to select a precise set of points along the edge of a flat mesh with the smallest effort.

I am aware of


but there is no guarantee that the target selection between the two outer points is the shortest, hence the third (middle) selected point.

I'm also thinking along the lines:

  • select shortest pairwise
  • check if all points are in selection
  • if not try again

but it seems a bit brute force.



You must log in to answer this question.

Browse other questions tagged .