human.hair.eyebrows

EyebrowSettings

human/hair/eyebrows.py

Inherits from BaseHair

Class for manipulating human eyebrows.

Attributes
lightnessNodeInput—from BaseHair
rednessNodeInput—from BaseHair
roughnessNodeInput—from BaseHair
salt_and_pepperNodeInput—from BaseHair
rootsNodeInput—from BaseHair
root_lightnessNodeInput—from BaseHair
root_rednessNodeInput—from BaseHair
roots_hueNodeInput—from BaseHair
fast_or_accurateNodeInput—from BaseHair
hueNodeInput—from BaseHair
particle_systemsPropCollectionGet propcollection of particle systems on the human used by this hair type.from BaseHair
modifiersPropCollectionModifiers associated with the particle systems of this hair type.from BaseHair
haircard_objOptional[bpy.types.Object]Blender object of haircards IF generated.from BaseHair
materialslist[bpy.types.Material]List of materials used for this type of hair.from BaseHair
nodesPropCollectionPropCollection of nodes used in the materials for this type of hair. # noqafrom BaseHair
Methods
remove_unused()Remove unused eyebrow systems.
set()Sets the eyebrow named in preset_data as the only visible eyebrow system.
convert_to_haircards()bpy.types.ObjectConvert the hair of this type to haircards.from BaseHair
get_evaluated_particle_systems()PropCollectionGet an evaluated version of the particle systems of this hair type.from BaseHair
delete_all()—from BaseHair
randomize_color()Randomize the color of the hair of this type.from BaseHair
as_dict()Save these settings to a dict and restore them from one.

Attributes

human.hair.eyebrows.lightness: NodeInputfrom BaseHair

source

No description yet.

human.hair.eyebrows.redness: NodeInputfrom BaseHair

source

No description yet.

human.hair.eyebrows.roughness: NodeInputfrom BaseHair

source

No description yet.

human.hair.eyebrows.salt_and_pepper: NodeInputfrom BaseHair

source

No description yet.

human.hair.eyebrows.roots: NodeInputfrom BaseHair

source

No description yet.

human.hair.eyebrows.root_lightness: NodeInputfrom BaseHair

source

No description yet.

human.hair.eyebrows.root_redness: NodeInputfrom BaseHair

source

No description yet.

human.hair.eyebrows.roots_hue: NodeInputfrom BaseHair

source

No description yet.

human.hair.eyebrows.fast_or_accurate: NodeInputfrom BaseHair

source

No description yet.

human.hair.eyebrows.hue: NodeInputfrom BaseHair

source

No description yet.

human.hair.eyebrows.particle_systems: PropCollectionread-onlyfrom BaseHair

source

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

human.hair.eyebrows.modifiers: PropCollectionread-onlyfrom BaseHair

source

Modifiers associated with the particle systems of this hair type.

human.hair.eyebrows.haircard_obj: Optional[bpy.types.Object]read-onlyfrom BaseHair

source

Blender object of haircards IF generated.

human.hair.eyebrows.materials: list[bpy.types.Material]read-onlyfrom BaseHair

source

List of materials used for this type of hair.

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

human.hair.eyebrows.nodes: PropCollectionread-onlyfrom BaseHair

source

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

Methods

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

source

Remove unused eyebrow systems.

ParameterTypeDescription
contextC
default None
Blender context. Defaults to None.
_internalbool
default False
—

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

source

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

ParameterTypeDescription
preset_eyebrowstrName of eyebrows to set as active

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.Objectfrom BaseHair

source

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.

ParameterTypeDescription
qualityLiteral['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.
contextC
default None
Blender context. bpy.context if not provided.
triangle_budgetOptional[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.

human.hair.eyebrows.get_evaluated_particle_systems(context: C = None) → PropCollectionfrom BaseHair

source

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

ParameterTypeDescription
contextC
default None
Blender context. bpy.context if not provided.

Returns PropCollection — PropCollection of evaluated particle systems

human.hair.eyebrows.delete_all()from BaseHair

source

No description yet.

human.hair.eyebrows.randomize_color()from BaseHair

source

Randomize the color of the hair of this type.

Serialization: as_dict

human.hair.eyebrows.as_dict() → dict[str, Any]

source

Returns dict of eyebrow settings.

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