I have a set of vertices for a
BMFace that I'm trying to rotate around the x-axis but in the face's normal orientation. Currently I'm doing:
c = face.calc_center_median() T = Matrix.Translation(-c) rot_angle = 0.25 rot_axis = (1, 0, 0) bmesh.ops.rotate( bm, space=T, matrix=Matrix.Rotation(rot_angle, 4, rot_axis), verts=face.verts )
My guess is that I can get the normal x-axis through
face.normal but I'm not sure what to do next or how to best formulate the question to learn more. There are an infinite number of possible x-axes orthogonal to
face.normal, aren't there?