# ShapeKeySettings

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

Reached as: `human.process.settings.shape_keys`

Inherits from: [Settings](https://humgen3d.com/docs/api/settings)

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L277

Keep, bake or remove per group of keys, see shape_keys.py.

When disabled no shape keys are kept: the driven groups are removed and the
sliders are baked at their current value.

## Attributes

### enabled

```python
human.process.settings.shape_keys.enabled: bool
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L285

### face_rig

```python
human.process.settings.shape_keys.face_rig: str
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L286

### expressions

```python
human.process.settings.shape_keys.expressions: str
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L287

### correctives

```python
human.process.settings.shape_keys.correctives: str
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L288

### body

```python
human.process.settings.shape_keys.body: str
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L289

### face

```python
human.process.settings.shape_keys.face: str
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L290

### age

```python
human.process.settings.shape_keys.age: str
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L291

### keep

```python
human.process.settings.shape_keys.keep: Dict[str, Optional[List[str]]]
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L295

### lod0_only

```python
human.process.settings.shape_keys.lod0_only: bool
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L297

## Methods

### to_dict()

```python
human.process.settings.shape_keys.to_dict() -> Dict[str, Any]
```

*inherited from Settings*

The settings as plain dict, nested settings included.

Returns: Dict[str, Any]

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L177

### from_dict()

```python
ShapeKeySettings.from_dict(data: Dict[str, Any]) -> T
```

*class method, inherited from Settings*

Settings from a dict, missing fields get their default.

Unknown keys are logged and ignored, so recipes of a newer version still
load as far as possible.

Parameters:
- `data` (Dict[str, Any])

Returns: T

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L181

### copy()

```python
human.process.settings.shape_keys.copy() -> T
```

*inherited from Settings*

A deep copy.

Returns: T

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L190
