Skip to content

DmrBlender_Tools Operators VertexGroup

Dreamer edited this page Jan 8, 2022 · 1 revision

Vertex Group Operators

Select by Weight

dmr.select_by_weight(threshold, compmode)

  • Selects vertices in active vertex group by weight threshold
    • Weight Threshold: Weight value to use for comparison (float)
    • Select Less Than: Select vertices less than the threshold (bool)

Clear Groups From Selected

dmr.clear_weights_from_selected()

  • Clears all vertex groups from selected vertices

Clean Weights from Selected

dmr.clean_weights_from_selected()

  • Cleans weights from selected objects

Remove Empty Vertex Groups

dmr.remove_empty_vertex_groups(removeZero)

  • Removes Vertex Groups with no weight data
    • Ignore Zero Weights: Ignore weights of 0 when checking if groups are empty (bool)

Remove Right Vertex Groups

dmr.remove_right_vertex_groups()

  • Removes vertex groups with the right mirror prefix

Remove From Selected Bones

dmr.remove_from_selected_bones()

  • Removes selected vertices from selected bones` groups.\n(Both a mesh and armature must be selected)

Add Missing Mirror Groups

dmr.add_missing_right_vertex_groups()

  • Creates groups for those with a mirror name if they don`t exist already

Move Vertex Group to End

dmr.vgroup_movetoend(bottom)

  • Moves active vertex group to end of vertex group list
    • Bottom of List: Move vertex group to bottom of list instead of top (bool)

Clone this wiki locally