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