Mesh.unify_cycles

Mesh.unify_cycles(root=None)[source]

Unify the cycle directions of all faces.

Unified cycle directions is a necessary condition for the data structure to work properly. When in doubt, run this function on your mesh.

Parameters
  • mesh (Mesh) – A mesh object.

  • root (str, optional [None]) – The key of the root face.