# ExportSettings

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

Reached as: `human.process.settings`

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

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

Everything the process system needs to process a human.

## Attributes

### version

```python
human.process.settings.version: int
```

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

### recipe

```python
human.process.settings.recipe: str
```

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

### output

```python
human.process.settings.output: OutputSettings
```

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

### lods

```python
human.process.settings.lods: List[QualitySettings]
```

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

### meshes

```python
human.process.settings.meshes: MeshSettings
```

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

### haircards

```python
human.process.settings.haircards: HaircardSettings
```

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

### skeleton

```python
human.process.settings.skeleton: SkeletonSettings
```

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

### shape_keys

```python
human.process.settings.shape_keys: ShapeKeySettings
```

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

### textures

```python
human.process.settings.textures: TextureBakeSettings
```

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

### animations

```python
human.process.settings.animations: AnimationClipSettings
```

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

### scripts

```python
human.process.settings.scripts: ScriptsSettings
```

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

## Methods

### from_dict()

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

*class method*

Settings from a dict, see `Settings.from_dict`.

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

Returns: [ExportSettings](https://humgen3d.com/docs/api/exportsettings)

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

### from_recipe()

```python
ExportSettings.from_recipe(recipe: str) -> ExportSettings
```

*class method*

Settings of a recipe, shipped or from the content folder.

Parameters:
- `recipe` (str): Identifier from `recipe_items`, or a path of a recipe file, or of the `.humgen3d.json` file next to an exported character for the settings it was made with.

Returns: [ExportSettings](https://humgen3d.com/docs/api/exportsettings) — The settings of the recipe.

Raises: ExportPackMissing — If the HG_Export content pack, which holds the built-in recipes, is not installed.

Raises: FileNotFoundError — If there is no such recipe.

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

### save_recipe()

```python
human.process.settings.save_recipe(folder: str, name: str) -> str
```

Writes the settings as recipe file for the user, in a group folder.

Parameters:
- `folder` (str): Group folder inside the recipe folder of the content folder, created if needed.
- `name` (str): Name of the recipe, becomes the file name.

Returns: str — Path of the written file.

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

### to_json()

```python
human.process.settings.to_json() -> str
```

The settings as JSON string, for storing on the result.

Returns: str

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

### from_json()

```python
ExportSettings.from_json(text: str) -> ExportSettings
```

*class method*

Settings from a JSON string made by `to_json`.

Parameters:
- `text` (str)

Returns: [ExportSettings](https://humgen3d.com/docs/api/exportsettings)

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

### differs_from()

```python
human.process.settings.differs_from(other: ExportSettings) -> bool
```

Whether any setting other than the recipe name differs.

Parameters:
- `other` ([ExportSettings](https://humgen3d.com/docs/api/exportsettings))

Returns: bool

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

### resolved_name()

```python
human.process.settings.resolved_name(human_name: str) -> str
```

The output name with the tokens filled in, see `OutputSettings.resolved_name`.

Parameters:
- `human_name` (str)

Returns: str

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

### to_dict()

```python
human.process.settings.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

### copy()

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

*inherited from Settings*

A deep copy.

Returns: T

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