human.process.settings

Inherits from Settings

Everything the process system needs to process a human.

Attributes
versionint—
recipestr—
outputOutputSettings—
lodsList[QualitySettings]—
meshesMeshSettings—
haircardsHaircardSettings—
skeletonSkeletonSettings—
shape_keysShapeKeySettings—
texturesTextureBakeSettings—
animationsAnimationClipSettings—
scriptsScriptsSettings—
Methods
from_dict()ExportSettingsSettings from a dict, see `Settings.from_dict`.
from_recipe()ExportSettingsSettings of a recipe, shipped or from the content folder.
save_recipe()strWrites the settings as recipe file for the user, in a group folder.
to_json()strThe settings as JSON string, for storing on the result.
from_json()ExportSettingsSettings from a JSON string made by `to_json`.
differs_from()boolWhether any setting other than the recipe name differs.
resolved_name()strThe output name with the tokens filled in, see `OutputSettings.resolved_name`.
to_dict()Dict[str, Any]The settings as plain dict, nested settings included.from Settings
copy()TA deep copy.from Settings

Attributes

human.process.settings.version: int

source

No description yet.

human.process.settings.recipe: str

source

No description yet.

human.process.settings.output: OutputSettings

source

No description yet.

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

source

No description yet.

human.process.settings.meshes: MeshSettings

source

No description yet.

human.process.settings.haircards: HaircardSettings

source

No description yet.

human.process.settings.skeleton: SkeletonSettings

source

No description yet.

human.process.settings.shape_keys: ShapeKeySettings

source

No description yet.

human.process.settings.textures: TextureBakeSettings

source

No description yet.

human.process.settings.animations: AnimationClipSettings

source

No description yet.

human.process.settings.scripts: ScriptsSettings

source

No description yet.

Methods

ExportSettings.from_dict(data: Dict[str, Any]) → ExportSettingsclass method

source

Settings from a dict, see Settings.from_dict.

ParameterTypeDescription
dataDict[str, Any]—

Returns ExportSettings

ExportSettings.from_recipe(recipe: str) → ExportSettingsclass method

source

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

ParameterTypeDescription
recipestrIdentifier from `recipe_items`, or a path of a recipe file.

Returns ExportSettings — The settings of the recipe.

Raises FileNotFoundError — If there is no such recipe.

human.process.settings.save_recipe(folder: str, name: str) → str

source

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

ParameterTypeDescription
folderstrGroup folder inside the recipe folder of the content folder, created if needed.
namestrName of the recipe, becomes the file name.

Returns str — Path of the written file.

human.process.settings.to_json() → str

source

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

Returns str

ExportSettings.from_json(text: str) → ExportSettingsclass method

source

Settings from a JSON string made by to_json.

ParameterTypeDescription
textstr—

Returns ExportSettings

human.process.settings.differs_from(other: ExportSettings) → bool

source

Whether any setting other than the recipe name differs.

ParameterTypeDescription
otherExportSettings—

Returns bool

human.process.settings.resolved_name(human_name: str) → str

source

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

ParameterTypeDescription
human_namestr—

Returns str

human.process.settings.to_dict() → Dict[str, Any]from Settings

source

The settings as plain dict, nested settings included.

Returns Dict[str, Any]

human.process.settings.copy() → Tfrom Settings

source

A deep copy.

Returns T