IsMeshManifold

Verifies a mesh object is manifold.  A mesh for which every edge is shared by at most two faces is called a manifold.  If a mesh has at least one edge that is shared by more than two faces, then that mesh is called non-manifold.

Syntax

rhinoscriptsyntax.IsMeshManifold (object_id)

rhinoscript.mesh.IsMeshManifold (object_id)

Parameters

object_id

Required.  String or Guid.  The object's identifier.

Returns

Boolean

True if successful, otherwise False.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select a mesh", rs.filter.mesh)

if rs.IsMeshClosed(obj):

    print "The mesh is manifold."

else:

    print "The mesh is non-manifold."

Also See

IsMesh

IsMeshClosed