# EyebrowSettings

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

Reached as: `human.hair.eyebrows`

Inherits from: [BaseHair](https://humgen3d.com/docs/api/basehair)

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/eyebrows.py#L17

Class for manipulating human eyebrows.

## Attributes

### lightness

```python
human.hair.eyebrows.lightness: NodeInput
```

*inherited from BaseHair*

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L47

### redness

```python
human.hair.eyebrows.redness: NodeInput
```

*inherited from BaseHair*

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L48

### roughness

```python
human.hair.eyebrows.roughness: NodeInput
```

*inherited from BaseHair*

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L49

### salt_and_pepper

```python
human.hair.eyebrows.salt_and_pepper: NodeInput
```

*inherited from BaseHair*

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L50

### roots

```python
human.hair.eyebrows.roots: NodeInput
```

*inherited from BaseHair*

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L51

### root_lightness

```python
human.hair.eyebrows.root_lightness: NodeInput
```

*inherited from BaseHair*

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L52

### root_redness

```python
human.hair.eyebrows.root_redness: NodeInput
```

*inherited from BaseHair*

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L53

### roots_hue

```python
human.hair.eyebrows.roots_hue: NodeInput
```

*inherited from BaseHair*

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

### fast_or_accurate

```python
human.hair.eyebrows.fast_or_accurate: NodeInput
```

*inherited from BaseHair*

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L55

### hue

```python
human.hair.eyebrows.hue: NodeInput
```

*inherited from BaseHair*

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L56

### particle_systems

```python
human.hair.eyebrows.particle_systems: PropCollection
```

*read-only, inherited from BaseHair*

Get propcollection of particle systems on the human used by this hair type.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L59

### modifiers

```python
human.hair.eyebrows.modifiers: PropCollection
```

*read-only, inherited from BaseHair*

Modifiers associated with the particle systems of this hair type.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L71

### haircard_obj

```python
human.hair.eyebrows.haircard_obj: Optional[bpy.types.Object]
```

*read-only, inherited from BaseHair*

Blender object of haircards IF generated.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L86

### materials

```python
human.hair.eyebrows.materials: list[bpy.types.Material]
```

*read-only, inherited from BaseHair*

List of materials used for this type of hair.

Usually singleton, but will contain multiple values if haircards are generated.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L97

### nodes

```python
human.hair.eyebrows.nodes: PropCollection
```

*read-only, inherited from BaseHair*

PropCollection of nodes used in the materials for this type of hair. # noqa

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L111

## Methods

### as_dict()

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

Returns dict of eyebrow settings.

Returns: dict[str, Any] — dict[str, Any]: Dict of eyebrow settings, storing active eyebrow and material settings.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/eyebrows.py#L51

### remove_unused()

```python
human.hair.eyebrows.remove_unused(context: C = None, _internal: bool = False)
```

Remove unused eyebrow systems.

Parameters:
- `context` (C, default None): Blender context. Defaults to None.
- `_internal` (bool, default False)

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/eyebrows.py#L65

### set()

```python
human.hair.eyebrows.set(preset_eyebrow: str)
```

Sets the eyebrow named in preset_data as the only visible eyebrow system.

Parameters:
- `preset_eyebrow` (str): Name of eyebrows to set as active

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/eyebrows.py#L93

### convert_to_haircards()

```python
human.hair.eyebrows.convert_to_haircards(quality: Literal['ultra', 'high', 'medium', 'low', 'haircap_only'] = 'high', context: C = None, triangle_budget: Optional[int] = None) -> bpy.types.Object
```

*inherited from BaseHair*

Convert the hair of this type to haircards.

Will generate a mesh object consisting of a haircap and haircards, skinned to
the rig of the human. For eye systems only a haircap will be generated. The
object follows the expressions of the human.

Parameters:
- `quality` (Literal['ultra', 'high', 'medium', 'low', 'haircap_only'], default 'high'): Quality of the haircards, which sets the number of triangles of the generated object. Defaults to high.
- `context` (C, default None): Blender context. bpy.context if not provided.
- `triangle_budget` (Optional[int], default None): Maximum number of triangles of the generated object, overrides the budget of the quality.

Returns: bpy.types.Object — bpy.types.Object: Blender object of the haircap and haircards

Raises: HumGenException — If this human has no hair of this type to convert.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L122

### get_evaluated_particle_systems()

```python
human.hair.eyebrows.get_evaluated_particle_systems(context: C = None) -> PropCollection
```

*inherited from BaseHair*

Get an evaluated version of the particle systems of this hair type.

Parameters:
- `context` (C, default None): Blender context. bpy.context if not provided.

Returns: [PropCollection](https://humgen3d.com/docs/api/propcollection) — PropCollection of evaluated particle systems

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L283

### delete_all()

```python
human.hair.eyebrows.delete_all()
```

*inherited from BaseHair*

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L299

### randomize_color()

```python
human.hair.eyebrows.randomize_color()
```

*inherited from BaseHair*

Randomize the color of the hair of this type.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/hair/basehair.py#L302
