I just want to use this python script to snap the rotation of a plane to another plane.

bpy.ops.transform.rotate(value=0.0, orient_axis='Z', orient_type='GLOBAL', orient_matrix=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, orient_matrix_type='GLOBAL', constraint_axis=False, False, False, mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target='CLOSEST', snap_point=0.0, 0.0, 0.0, snap_align=False, snap_normal=0.0, 0.0, 0.0, gpencil_strokes=False, center_override=0.0, 0.0, 0.0, release_confirm=False, use_accurate=False)

it looks like the snapping option is available to use here but I can't get it to work.


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.