def getTranslateMatrixTetragrid(prefix, xmlElement):
 translation = getCumulativeVector3Remove(prefix, Vector3(), xmlElement)
 if translation.getIsDefault():
  return None
 return [[1.0, 0.0, 0.0, translation.x], [0.0, 1.0, 0.0, translation.y], [0.0, 0.0, 1.0, translation.z], [0.0, 0.0, 0.0, 1.0]]

def getTranslateMatrixTetragrid ( prefix , xmlElement ) : translation = getCumulativeVector3Remove ( prefix , Vector3 ( ) , xmlElement ) if translation . getIsDefault ( ) : return None return [ [ 1.0 , 0.0 , 0.0 , translation . x ] , [ 0.0 , 1.0 , 0.0 , translation . y ] , [ 0.0 , 0.0 , 1.0 , translation . z ] , [ 0.0 , 0.0 , 0.0 , 1.0 ] ]
get translate matrix and delete the translate attributes .