Beispiel #1
0
def manipulateXMLElement(target, xmlElement):
	"Manipulate the xml element."
	rotateMatrixTetragrid = matrix.getRotateMatrixTetragrid('', xmlElement)
	if rotateMatrixTetragrid == None:
		print('Warning, rotateMatrixTetragrid was None in rotate so nothing will be done for:')
		print(xmlElement)
		return
	matrix.setAttributeDictionaryToMultipliedTetragrid(rotateMatrixTetragrid, target)
Beispiel #2
0
def manipulateXMLElement(target, xmlElement, xmlProcessor):
	"Manipulate the xml element."
	translateMatrixTetragrid = matrix.getTranslateMatrixTetragrid('', xmlElement)
	if translateMatrixTetragrid == None:
		print('Warning, translateMatrixTetragrid was None in translate so nothing will be done for:')
		print(xmlElement)
		return
	matrix.setAttributeDictionaryToMultipliedTetragrid(translateMatrixTetragrid, target)
Beispiel #3
0
def manipulateXMLElement(target, xmlElement):
    "Manipulate the xml element."
    scaleTetragrid = matrix.getScaleTetragrid('', xmlElement)
    if scaleTetragrid == None:
        print(
            'Warning, scaleTetragrid was None in scale so nothing will be done for:'
        )
        print(xmlElement)
        return
    matrix.setAttributeDictionaryToMultipliedTetragrid(scaleTetragrid, target)
Beispiel #4
0
def manipulateXMLElement(target, xmlElement):
    'Manipulate the xml element.'
    rotateTetragrid = matrix.getRotateTetragrid('', xmlElement)
    if rotateTetragrid == None:
        print(
            'Warning, rotateTetragrid was None in rotate so nothing will be done for:'
        )
        print(xmlElement)
        return
    matrix.setAttributeDictionaryToMultipliedTetragrid(rotateTetragrid, target)