Cell.unify_cycles

Cell.unify_cycles(root=None)

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.