pymel.core.modeling.polySetToFaceNormal¶
- polySetToFaceNormal(*args, **kwargs)¶
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.
Flags:
Long Name / Short Name Argument Types Properties setUserNormal / su bool 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 have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.polySetToFaceNormal
Example:
import pymel.core as pm # Create user normals and set them to the face normals pm.polySetToFaceNormal( setUserNormal=True ) # Set the normals to the default normal values (internally computed) pm.polySetToFaceNormal()