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