NormalEditModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.NormalEditModifier(Modifier)

Modifier affecting/generating custom normals

invert_vertex_group

Invert vertex group influence (default False)

Type:

bool

mix_factor

How much of generated normals to mix with existing ones (in [0, 1], default 1.0)

Type:

float

mix_limit

Maximum angle between old and new normals (in [0, 3.14159], default 3.14159)

Type:

float

mix_mode

How to mix generated normals with existing ones (default 'COPY')

  • COPY Copy – Copy new normals (overwrite existing).

  • ADD Add – Copy sum of new and old normals.

  • SUB Subtract – Copy new normals minus old normals.

  • MUL Multiply – Copy product of old and new normals (not cross product).

Type:

Literal[‘COPY’, ‘ADD’, ‘SUB’, ‘MUL’]

mode

How to affect (generate) normals (default 'RADIAL')

  • RADIAL Radial – From an ellipsoid (shape defined by the boundbox’s dimensions, target is optional).

  • DIRECTIONAL Directional – Normals ‘track’ (point to) the target object.

Type:

Literal[‘RADIAL’, ‘DIRECTIONAL’]

no_polynors_fix

Do not flip polygons when their normals are not consistent with their newly computed custom vertex normals (default False)

Type:

bool

offset

Offset from object’s center (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Vector

target

Target object used to affect normals

Type:

Object

use_direction_parallel

Use same direction for all normals, from origin to target’s center (Directional mode only) (default True)

Type:

bool

vertex_group

Vertex group name for selecting/weighting the affected areas (default “”, never None)

Type:

str

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions