Created
April 20, 2014 20:12
-
-
Save zeffii/11124044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def find_loops(edge, min, maxv): | |
start_verts = verts_from_edge(edge) | |
while(maxv > 0): | |
for v in start_verts: | |
vrts = verts_attached_to_vert(v) | |
print(v, '->', vrts) | |
start_verts = vrts | |
maxv -= 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment