I'm trying to get edge loop, starting from one edge and continuing as far as the loop goes.
The following code does not work, because vertex index order is disrupted, so I have no apparent way of telling which edge of link_edges
is continuing the loop.
v = bm.verts[0] # vertex at the start of edge loop
ov = edge.other_vert(v)
le = ov.link_edges
while len(le) == 4:
e = ov.link_edges[-1]
ov = e.other_vert(ov)
le = ov.link_edges
bpy.ops.mesh.loop_select
$\endgroup$