NormalizeUserNormals
 
 
 

NormalizeUserNormals

Introduced

v8.0 (2010)

Description

Normalizes the normals associated with the input components so that they have a length of 1 unit.

Note: This command will create user normals for the input components if required.

Scripting Syntax

NormalizeUserNormals( [InputObjs], [BleedSelection] );

Parameters

Parameter Type Description
InputObjs String List of components.

Default Value: Currently selected components

BleedSelection Boolean True to extend edge/polygon selections to include neighboring vertices.

Default Value: If not specified, the Tweak User Normal tool setting will be used

Examples

JScript Example

// Create a grid and set the user normals to non-unit normals and then normalize them
CreatePrim("Grid", "MeshSurface");
PasteUserNormals("", false, 0, 3, 0, null, false);
NormalizeUserNormals("", false);

See Also

CreateUserNormals ResetUserNormals RemoveUserNormals AverageUserNormals SetVertexUserNormals SetPolygonUserNormals InvertUserNormals CopyUserNormals PasteUserNormals SetUserNormalValues