v8.0 (2010)
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.
NormalizeUserNormals( [InputObjs], [BleedSelection] ); |
| 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 |
// 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); |