# ClothingSettings

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

Reached as: `human.clothing`

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/clothing/clothing.py#L20

Interface class for accessing OutfitSettings and FootwearSettings.

## Attributes

### outfit

```python
human.clothing.outfit: OutfitSettings
```

*read-only*

Use this property to access OutfitSettings.

OutfitSettings allows you to change the outfits (excluding footwear) of
the human.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/clothing/clothing.py#L32

### footwear

```python
human.clothing.footwear: FootwearSettings
```

*read-only*

Use this property to access FootwearSettings.

FootwearSettings allows you to change the footwear of the human.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/clothing/clothing.py#L44

## Methods

### as_dict()

```python
human.clothing.as_dict() -> dict[str, dict[str, Any]]
```

Returns dict of clothing settings.

Returns: dict[str, dict[str, Any]] — dict[str, dict[str, Any]]: Dict of clothing settings.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/clothing/clothing.py#L54

### set_from_dict()

```python
human.clothing.set_from_dict(data: dict[str, Any]) -> list[str]
```

Set clothing settings from dict.

Parameters:
- `data` (dict[str, Any]): Dict of clothing settings.

Returns: list[str] — list[str]: List of errors occurred during setting.

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