< Process‎ | Addons‎ | Rigify

Feature Set Package Structure

Feature sets are packaged as a ZIP archive containing a valid Python module package, with specific required sub-packages:


When an archive containing these files is installed, it will add a Feature Set -> Feature Set Metarig template to the Add Armature menu, and, provided contains a valid rig class, a feature_set.custom_rig rig component will become available. The metarigs subpackage is optional, while rigs is required.

The rigs and metarigs packages of all feature sets and Rigify itself are merged into a common flat namespace, so feature sets should explicitly use sub-packages to group and separate the provided rigs, as demonstrated above.

The root directory of the archive must be a valid python module name (i.e. an identifier); however as a special exceptions the characters '.' and '-' will be automatically replaced with '_' when the archive is installed. The exception is provided to allow using archives produced by the Download ZIP button on GitHub as-is.

The root of the feature set may contain the following global variable definition to provide a user-friendly name to the feature set:

rigify_info = {
    "name": "Custom Feature Set"

It can also provide register and unregister functions, like stand-alone add-ons, in order to implement more complex utilities for editing the meta-rig than passive properties in the rig settings UI. The generated rig should not depend on objects provided this way.

def register():

def unregister():

Feature sets are loaded as sub-packages of the rigify.feature_sets placeholder package.