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
bpy.ops.mesh.shortest_path_select()
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.