MeshCacheModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.MeshCacheModifier(Modifier)

Cache Mesh

cache_format
Type:enum in [‘MDD’, ‘PC2’], default ‘MDD’
deform_mode
  • OVERWRITE Overwrite, Replace vertex coords with cached values.
  • INTEGRATE Integrate, Integrate deformation from this modifiers input with the mesh-cache coords (useful for shape keys).
Type:enum in [‘OVERWRITE’, ‘INTEGRATE’], default ‘OVERWRITE’
eval_factor

Evaluation time in seconds

Type:float in [0, 1], default 0.0
eval_frame

The frame to evaluate (starting at 0)

Type:float in [0, 500000], default 0.0
eval_time

Evaluation time in seconds

Type:float in [0, inf], default 0.0
factor

Influence of the deformation

Type:float in [0, 1], default 0.0
filepath

Path to external displacements file

Type:string, default “”, (never None)
flip_axis
Type:enum set in {‘X’, ‘Y’, ‘Z’}, default {‘X’}
forward_axis
Type:enum in [‘POS_X’, ‘POS_Y’, ‘POS_Z’, ‘NEG_X’, ‘NEG_Y’, ‘NEG_Z’], default ‘POS_X’
frame_scale

Evaluation time in seconds

Type:float in [0, 100], default 0.0
frame_start

Add this to the start frame

Type:float in [-500000, 500000], default 0.0
interpolation
Type:enum in [‘NONE’, ‘LINEAR’], default ‘NONE’
play_mode
  • SCENE Scene, Use the time from the scene.
  • CUSTOM Custom, Use the modifier’s own time evaluation.
Type:enum in [‘SCENE’, ‘CUSTOM’], default ‘SCENE’
time_mode

Method to control playback time

  • FRAME Frame, Control playback using a frame-number (ignoring time FPS and start frame from the file).
  • TIME Time, Control playback using time in seconds.
  • FACTOR Factor, Control playback using a value between [0, 1].
Type:enum in [‘FRAME’, ‘TIME’, ‘FACTOR’], default ‘FRAME’
up_axis
Type:enum in [‘POS_X’, ‘POS_Y’, ‘POS_Z’, ‘NEG_X’, ‘NEG_Y’, ‘NEG_Z’], default ‘POS_X’

Inherited Properties

Inherited Functions