|
|
@ -112,13 +112,20 @@ def save(operator, context, scale = 1.0, filepath = "", global_matrix = None, us
|
|
|
|
body_name = bpy.path.display_name_from_filepath(filepath)
|
|
|
|
body_name = bpy.path.display_name_from_filepath(filepath)
|
|
|
|
geo.setName(body_name)
|
|
|
|
geo.setName(body_name)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#print("AXIS_ROTATION")
|
|
|
|
#axis_rotation = axis_conversion('-Y', 'Z', 'Z', 'Y')
|
|
|
|
#axis_rotation = axis_conversion('-Y', 'Z', 'Z', 'Y')
|
|
|
|
|
|
|
|
#print("%s" % (axis_rotation, ))
|
|
|
|
|
|
|
|
#print("AXIS_ROTATION")
|
|
|
|
#axis_rotation = axis_conversion('Y', 'Z', '-Z', 'Y')
|
|
|
|
#axis_rotation = axis_conversion('Y', 'Z', '-Z', 'Y')
|
|
|
|
|
|
|
|
#print("%s" % (axis_rotation, ))
|
|
|
|
|
|
|
|
#print("AXIS_ROTATION")
|
|
|
|
axis_rotation = mathutils.Matrix([
|
|
|
|
axis_rotation = mathutils.Matrix([
|
|
|
|
[-1, 0, 0],
|
|
|
|
[-1, 0, 0],
|
|
|
|
[0, 0, -1],
|
|
|
|
[0, 0, 1],
|
|
|
|
[0, 1, 0],
|
|
|
|
[0, -1, 0],
|
|
|
|
])
|
|
|
|
])
|
|
|
|
|
|
|
|
#print("%s" % (axis_rotation, ))
|
|
|
|
|
|
|
|
#print("AXIS_ROTATION")
|
|
|
|
axis_rotation.resize_4x4()
|
|
|
|
axis_rotation.resize_4x4()
|
|
|
|
|
|
|
|
|
|
|
|
print("scale: %s" % (scale, ))
|
|
|
|
print("scale: %s" % (scale, ))
|
|
|
|