NormalEditModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.NormalEditModifier(Modifier)

Modifier affecting/generating custom normals

invert_vertex_group

Invert vertex group influence

Type:boolean, default False
mix_factor

How much of generated normals to mix with exiting ones

Type:float in [0, 1], default 1.0
mix_mode

How to mix generated normals with existing ones

  • 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:enum in [‘COPY’, ‘ADD’, ‘SUB’, ‘MUL’], default ‘COPY’
mode

How to affect (generate) normals

  • 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:enum in [‘RADIAL’, ‘DIRECTIONAL’], default ‘RADIAL’
offset

Offset from object’s center

Type:float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
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)

Type:boolean, default True
vertex_group

Vertex group name for selecting/weighting the affected areas

Type:string, default “”, (never None)

Inherited Properties

Inherited Functions