Verifies a mesh object has face normals.
rhinoscriptsyntax.MeshHasFaceNormals (object_id)
rhinoscript.mesh.MeshHasFaceNormals (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.MeshHasFaceNormals(obj):
print "The mesh has face normal."
else:
print "The mesh does not have face normals."