mpfb_list_rigs
List every standard, Rigify, and custom rig available for a MakeHuman basemesh in Blender without adding anything to the scene. Use the identifier to add a rig.
Instructions
List every rig this Blender could add to a MakeHuman basemesh: MPFB's bundled standard and Rigify rigs, plus custom rigs found in the user's data directories. Adds nothing to the scene.
Pass a rig's identifier, not its name, to mpfb_add_rig. The
two are not the same string: a standard rig is "default_no_toes", a
Rigify one "rigify.human", a custom one "custom.my_rig". The prefix
also picks between MPFB's two non-interchangeable adding functions -
add_function says which - and crossing them does not read as the
mistake it is: a built-in name handed to the custom function comes back
missing under a mangled one.
refresh=true rescans the user data directories for custom rigs first.
MPFB caches that list for the lifetime of the Blender session, so a rig
installed after Blender started will not appear otherwise.
result carries:
rigs: one entry per rig, withname,identifier,family("standard"/"rigify"/"custom"),path(absolute, or null),label/description(MPFB's own UI text, null for custom rigs),add_function,availableandunavailable_reason.Per entry, what adding it would do about weights:
has_weights,weights_pathandweights_from. MPFB resolves weights through a fallback table, not by filename, soweights_fromdiffers fromnamefordefault_no_toes(which borrowsdefault's) andrigify.human(which borrowsrigify.human_toes's). That is normal.has_weights: falseis not: adding that rig produces a character with no vertex weights.count,families,message, andrigify_available- whether Rigify is enabled here. Rigify rigs are listed either way, carryingavailable: falsewhen it is not, since adding one then raises rather than degrading.rig_dirs: every directory looked in, each flagged with whether it exists. MPFB scans its own data dir and the user data roots - not the MakeHuman user data directory.unrecognized_custom_rig_files:.jsonfiles in a scanned user rigs directory that MPFB refused as rig definitions - a name outside[A-Za-z0-9_], or noidentifying_boneskey. MPFB drops these silently, which otherwise makes "I put the file there and it does not show up" undiagnosable.
Do not expect this list to match mpfb_get_object_info's
rig_identified_as. That value comes from MPFB identifying an armature by its
bone names and can be rigify_generated.* or unknown, neither of
which names something addable. A character whose rig is not in this
list is ordinary, not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||