#NEWLINE# @ staticmethod #NEWLINE# def makeVMDBoneLocationToBlenderMatrix( blender_bone ) : #NEWLINE# #INDENT# mat = mathutils . Matrix ( [ [ blender_bone . x_axis . x , blender_bone . x_axis . y , blender_bone . x_axis . z , 0.0 ] , [ blender_bone . y_axis . x , mat . y_axis . y , blender_bone . y_axis . z , 0.0 ] , [ blender_bone . z_axis . x , blender_bone . z_axis . y , blender_bone . z_axis . z , 0.0 ] , [ 0.0 , 0.0 , 0.0 , 1.0 ] ] ) #NEWLINE# mat2 = mathutils . Matrix ( [ [ 1.0 , 0.0 , 0.0 , 0.0 ] , [ 0.0 , 0.0 , 1.0 , 0.0 ] , [ 0.0 , 1.0 , 0.0 , 0.0 ] , [ 0.0 , 0.0 , 0.0 , 1.0 ] ] ) #NEWLINE# return ( mat * mat2 )