mesh.Mesh.non_manifold_edges#

Mesh.non_manifold_edges()#

Return the non-manifold edges of a Mesh.

Non-manifold edges are edges where subparts of a mesh of level 3 are connected by an edge but not by a face.

Returns#

int array

An integer array with the non-manifold edge numbers. Possibly empty (always if the dimensionality of the Mesh is lower than 3).

Notes#

The definition of the nonManifold edges in terms of the nodes can be obtained as follows

self.edges[self.non_manifold_edges()]

Examples#

>>> M1 = Mesh(eltype='hex8')
>>> M2 = M1.translate([1.0, 1.0, 0.0])
>>> M = M1 + M2
>>> print(M.non_manifold_edges())
[6]
>>> print(M.face_mesh().non_manifold_nodes())
[]