Check connected loop of vertices

Hello,

I’m trying to check if two or more vertices selection are connected or not in a script and I don’t have any idea on how to do that. To be more precise I need to store a list of vertices from different loop selections, see image below:


Any idea ?

Thx in advance :slight_smile:

Hi Panicq,

Interesting problem, maybe that this example script helps:
[http://blender.stackexchange.com/questions/15153/bmesh-python-list-directly-or-indirectly-connected-verts](http://Hi Panicq,Interesting problem, maybe that this example script helps: http://blender.stackexchange.com/questions/15153/bmesh-python-list-directly-or-indirectly-connected-verts)