fedoo.Mesh.is_periodic

Mesh.is_periodic(tol: float = 1e-08, dim: int | None = None) bool

Test if the mesh is periodic (have nodes at the same positions on adjacent faces)

Parameters:
  • tol (float (default = 1e-8)) – Tolerance used to test the nodes positions.

  • dim (1,2 or 3 (default = 3)) – Dimension of the periodicity. If dim = 1, the periodicity is tested only over the 1st axis (x axis). if dim = 2, the periodicity is tested on the 2 first axis (x and y axis). if dim = 3, the periodicity is tested in 3 directions (x,y,z).

Return type:

True if the mesh is periodic else return False.