How can i rotate (reshape) the mesh like in the mirror so the result mesh is in the same place as the start mesh?
I have tried following but the result mesh is not positioned where in the place of the start mesh .
Code: Select all
@staticmethod
def reverseModelSideMesh(mesh):
mat = App.Matrix()
factor = -1
mat.scale(factor,factor,factor)
meshCopy = mesh.copy()
meshCopy.transform(mat)
meshCopy.flipNormals()
return meshCopy