def getPathByList(vertexList):
 if (len(vertexList) < 1):
  return Vector3()
 if (vertexList[0].__class__ != list):
  vertexList = [vertexList]
 path = []
 for floatList in vertexList:
  vector3 = getVector3ByFloatList(floatList, Vector3())
  path.append(vector3)
 return path

def getPathByList ( vertexList ) : if ( len ( vertexList ) < 1 ) : return Vector3 ( ) if ( vertexList [ 0 ] . __class__ != list ) : vertexList = [ vertexList ] path = [ ] for floatList in vertexList : vector3 = getVector3ByFloatList ( floatList , Vector3 ( ) ) path . append ( vector3 ) return path
get the paths by list .