Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.

Synopsis

polySetToFaceNormal [-setUserNormal]

polySetToFaceNormal is undoable, NOT queryable, and NOT editable.

This command takes selected polygonal vertices or vertex-faces and changes their normals. If the option userNormal is used, the new normal values will be the face normals arround the vertices/vertex-faces. Otherwise the new normal values will be default values according to the internal calculation.

Return value

stringof the node name

Keywords

poly, userNormal, polyNormals, setToFaceNormal, setNormal, vertexNormal

Related

polyAverageNormal, polyNormal, polyNormalPerVertex, polySoftEdge

Flags

setUserNormal
Long name (short name) Argument types Properties
-setUserNormal(-su) create
when this flag is presented, user normals will be created on each vertex face and the values will be the face normal value. Otherwise the normal values will be the internal computing results. Default is false.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// Create user normals and set them to the face normals
polySetToFaceNormal	-setUserNormal;
// Set the normals to the default normal values (internally computed)
polySetToFaceNormal;