# BakeSettings

> Human Generator for Blender documentation. Web version: https://humgen3d.com/docs/api/bakesettings

Reached as: `human.process.baking`

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/bake.py#L66

The `human.process.baking` API of earlier versions.

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

## Methods

### bake_all()

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

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

Parameters:
- `folder_path` (Optional[str], default None): Folder to write the images to, None packs them in the blend file.
- `samples` (int, default 4): Cycles samples of the bakes.
- `settings` (Optional[[TextureBakeSettings](https://humgen3d.com/docs/api/texturebakesettings)], default None): Passes, resolution and packing. Defaults to separate maps at 2k.
- `context` (C, default None): Blender context. bpy.context if not provided.

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

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/bake.py#L75

### is_baked()

```python
human.process.baking.is_baked() -> bool
```

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

Returns: bool

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/bake.py#L102
