UnifyMeshNormals

Fixes inconsistencies in the directions of faces of a mesh object.

Syntax

rhinoscriptsyntax.UnifyMeshNormals (object_id)

rhinoscript.mesh.UnifyMeshNormals (object_id)

Parameters

object_id

Required.  String or Guid.  The identifier of a mesh object.

Returns

Number

The number of faces that were modified if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

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

if rs.IsMesh(obj): rs.UnifyMeshNormals(obj)

Also See

IsMesh