Verifies a mesh object is closed.
rhinoscriptsyntax.IsMeshClosed (object_id)
rhinoscript.mesh.IsMeshClosed (object_id)
object_id |
Required. String or Guid. The object's identifier. |
Boolean |
True if successful, otherwise False. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select a mesh", rs.filter.mesh)
if rs.IsMeshClosed(obj):
print "The mesh is closed."
else:
print "The mesh is not closed."