PointCache(bpy_struct)

base class — bpy_struct

class bpy.types.PointCache(bpy_struct)

Active point cache for physics simulations

filepath

Cache file path (default “”, never None, blend relative // prefix supported)

Type:

str

frame_end

Frame on which the simulation stops (in [1, 1048574], default 0)

Type:

int

frame_start

Frame on which the simulation starts (in [-1048574, 1048574], default 0)

Type:

int

frame_step

Number of frames between cached frames (in [1, 20], default 0)

Type:

int

index

Index number of cache files (in [-1, 100], default 0)

Type:

int

info

Info on current cache status (default “”, readonly, never None)

Type:

str

is_baked

The cache is baked (default False, readonly)

Type:

bool

is_baking

The cache is being baked (default False, readonly)

Type:

bool

is_frame_skip

Some frames were skipped while baking/saving that cache (default False, readonly)

Type:

bool

is_outdated

(default False, readonly)

Type:

bool

name

Cache name (default “”, never None)

Type:

str

point_caches

(default None, readonly)

Type:

PointCaches[PointCacheItem]

use_disk_cache

Save cache files to disk (.blend file must be saved first) (default False)

Type:

bool

use_external

Read cache from an external location (default False)

Type:

bool

use_library_path

Use this file’s path for the disk cache when library linked into another file (for local bakes per scene file, disable this option) (default True)

Type:

bool

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

References