The human.process.baking API of earlier versions.

Use human.process.bake_textures and human.process.was_baked instead.

Methods
bake_all()list[bpy.types.Image]Bakes every material of this human, see `ProcessSettings.bake_textures`.
is_baked()boolWhether the materials of this human were baked, see `ProcessSettings.was_baked`.

Methods

human.process.baking.bake_all(folder_path: Optional[str] = None, samples: int = 4, settings: Optional[TextureBakeSettings] = None, context: C = None) → list[bpy.types.Image]

source

Bakes every material of this human, see ProcessSettings.bake_textures.

ParameterTypeDescription
folder_pathOptional[str]
default None
Folder to write the images to, None packs them in the blend file.
samplesint
default 4
Cycles samples of the bakes.
settingsOptional[TextureBakeSettings]
default None
Passes, resolution and packing. Defaults to separate maps at 2k.
contextC
default None
Blender context. bpy.context if not provided.

Returns list[bpy.types.Image] — list[bpy.types.Image]: The baked images.

human.process.baking.is_baked() → bool

source

Whether the materials of this human were baked, see ProcessSettings.was_baked.

Returns bool