AverageUserNormals

Introduced

v8.0 (2010)

Categories

property

Description

Sets the normals associated with the input components to the average of adjacent normals.

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

Scripting Syntax

AverageUserNormals( [InputObjs], [Distance], [BleedSelection] );

Parameters

Parameter Type Description
InputObjs String List of components.

Default Value: Currently selected components

Distance Integer Cutoff distance factor for averaging adjacent normals.

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

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

Python Example

# Create a cube and set the user normals to the average of the normals
app = Application
app.CreatePrim("Cube", "MeshSurface")
app.AverageUserNormals(None, None, 0)

See Also

CreateUserNormals RemoveUserNormals ResetUserNormals SetVertexUserNormals SetPolygonUserNormals InvertUserNormals NormalizeUserNormals CopyUserNormals PasteUserNormals SetUserNormalValues