PointCache(bpy_struct)#

base class — bpy_struct

class bpy.types.PointCache(bpy_struct)#

Active point cache for physics simulations

compression#

Compression method to be used

  • NO None – No compression.

  • LIGHT Lite – Fast but not so effective compression.

  • HEAVY Heavy – Effective but slow compression.

Type:

enum in [‘NO’, ‘LIGHT’, ‘HEAVY’], default ‘NO’

filepath#

Cache file path

Type:

string, default “”, (never None)

frame_end#

Frame on which the simulation stops

Type:

int in [1, 1048574], default 0

frame_start#

Frame on which the simulation starts

Type:

int in [-1048574, 1048574], default 0

frame_step#

Number of frames between cached frames

Type:

int in [1, 20], default 0

index#

Index number of cache files

Type:

int in [-1, 100], default 0

info#

Info on current cache status

Type:

string, default “”, (readonly, never None)

is_baked#

The cache is baked

Type:

boolean, default False, (readonly)

is_baking#

The cache is being baked

Type:

boolean, default False, (readonly)

is_frame_skip#

Some frames were skipped while baking/saving that cache

Type:

boolean, default False, (readonly)

is_outdated#
Type:

boolean, default False, (readonly)

name#

Cache name

Type:

string, default “”, (never None)

point_caches#
Type:

PointCaches bpy_prop_collection of PointCacheItem, (readonly)

use_disk_cache#

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

Type:

boolean, default False

use_external#

Read cache from an external location

Type:

boolean, default False

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)

Type:

boolean, default False

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References