def getInsetLoopsFromVector3Loop(loop, radius, thresholdRatio=0.9):
 if (len(loop) < 2):
  return [loop]
 loopComplex = euclidean.getComplexPath(loop)
 loopComplexes = getInsetLoopsFromLoop(radius, loopComplex)
 return euclidean.getVector3Paths(loopComplexes, loop[0].z)

def getInsetLoopsFromVector3Loop ( loop , radius , thresholdRatio = 0.9 ) : if ( len ( loop ) < 2 ) : return [ loop ] loopComplex = euclidean . getComplexPath ( loop ) loopComplexes = getInsetLoopsFromLoop ( radius , loopComplex ) return euclidean . getVector3Paths ( loopComplexes , loop [ 0 ] . z )
get the inset loops from vector3 loop .