Exemplo n.º 1
0
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)
Exemplo n.º 2
0
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)
Exemplo n.º 3
0
def getVerticesByKey(key, xmlElement):
    "Get the vertices by key."
    return euclidean.getConcatenatedList(
        evaluate.getPathsByKey(key, xmlElement))
Exemplo n.º 4
0
def getVerticesByKey( key, xmlElement ):
	"Get the vertices by key."
	return euclidean.getConcatenatedList( evaluate.getPathsByKey( key, xmlElement ) )