paya.trunk#
- class Trunk#
A subclass of
Trunk
is aware of the directory it was defined in. This is useful for sourcing inherited dependencies (e.g. control shape templates, weight files etc.) in rig or rig part construction.- classmethod getDirs()#
- classmethod findFiles(pattern, first=False, inherited=True)#
- Parameters
- Returns
Either a single file path, or a list of file paths.
- Return type
- classmethod findFile(pattern, inherited=True)#
Equivalent to
findFiles(pattern, first=True [...])
.