コード例 #1
0
ファイル: lineation.py プロジェクト: greenarrow/skeinforgeGit
def getGeometryOutputByFunction( manipulationFunction, xmlElement ):
	"Get geometry output by manipulationFunction."
	geometryOutput = []
	target = evaluate.getPathsByKey([], 'target', xmlElement )
	for path in target:
		geometryOutput += getGeometryOutputByLoopFunction(manipulationFunction, SideLoop(path), xmlElement)
	return getUnpackedLoops(geometryOutput)
コード例 #2
0
ファイル: lineation.py プロジェクト: folksjos/RepG
def getGeometryOutputByFunction(manipulationFunction, xmlElement):
    "Get geometry output by manipulationFunction."
    geometryOutput = []
    target = evaluate.getPathsByKey('target', xmlElement)
    for path in target:
        geometryOutput += getGeometryOutputByLoopFunction(
            manipulationFunction, SideLoop(path), xmlElement)
    return getUnpackedLoops(geometryOutput)
コード例 #3
0
ファイル: array.py プロジェクト: aliensr85/Skeinforge-Mirror
def getVerticesByKey(key, xmlElement):
    "Get the vertices by key."
    return euclidean.getConcatenatedList(
        evaluate.getPathsByKey(key, xmlElement))
コード例 #4
0
ファイル: array.py プロジェクト: elmom/Skeinforge-Mirror
def getVerticesByKey( key, xmlElement ):
	"Get the vertices by key."
	return euclidean.getConcatenatedList( evaluate.getPathsByKey( key, xmlElement ) )