The below script for blender 2.7x is not working with 2.80 How could I fix it? I got the message - "TypeError: Converting py args to operator properties: : keyword "axis" unrecognized".

bpy.ops.transform.rotate(value=wheel_rotation_angle , axis=(wheel_rotation_x_axis, wheel_rotation_y_axis, wheel_rotation_z_axis), constraint_axis=(False, True, True))
  • $\begingroup$ Use orient_axis instead of axis as the argument name. Check the ops documentation here. $\endgroup$ – Blender Dadaist Sep 25 at 3:34
  • $\begingroup$ "axis" has 3 floating values, however, "orient_axis" has 3x3 floating values. $\endgroup$ – Vivianna Sep 25 at 4:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.