Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

Commit

Permalink
anticipated analysis function for finding poles in existing mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
patmo141 committed Sep 4, 2013
1 parent 6fe6ac3 commit 37f0d8f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/addons/contour_tools/contour_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,18 @@ def fit_path_to_endpoints(path,v0,v1):
return new_path



def pole_detector(bme):

pole_inds = []

for vert in bme.verts:
if len(vert.link_edges) in {3,5}:
pole_inds.append(vert.index)

return pole_inds


def mix_path(path1,path2,pct = .5):
'''
will produce a blended path between path1 and 2 by
Expand Down

0 comments on commit 37f0d8f

Please sign in to comment.