SkeletonSettings
human/process/settings.pyInherits from Settings
Conversion of the rig to a skeleton for game engines, see game_rig.py.
| Attributes | ||
|---|---|---|
| enabled | bool | — |
| names | str | — |
| names_file | str | — |
| rest_pose | str | — |
| root_bone | bool | — |
| root_bone_name | str | — |
| keep_eyes | bool | — |
| keep_jaw | bool | — |
| keep_breasts | bool | — |
| keep_metacarpals | bool | — |
| units | str | — |
| Methods | ||
| to_dict() | Dict[str, Any] | The settings as plain dict, nested settings included.from Settings |
| from_dict() | T | Settings from a dict, missing fields get their default.from Settings |
| copy() | T | A deep copy.from Settings |
Attributes
No description yet.
No description yet.
human.process.settings.skeleton.names_file: str
sourceNo description yet.
No description yet.
No description yet.
human.process.settings.skeleton.root_bone_name: str
sourceNo description yet.
No description yet.
No description yet.
human.process.settings.skeleton.keep_breasts: bool
sourceNo description yet.
human.process.settings.skeleton.keep_metacarpals: bool
sourceNo description yet.
No description yet.
Methods
The settings as plain dict, nested settings included.
Returns Dict[str, Any]
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.
| Parameter | Type | Description |
|---|---|---|
| data | Dict[str, Any] | — |
Returns T
A deep copy.
Returns T