Source code for artv2.components.finger

# -*- coding: utf-8 -*-
"""
:author:
    Jeremy Ernst
:description:
    This module contains the class for defining and creating the finger component. The finger, by default,
    creates 4 joints.
"""

import artv2.components.base_components.base_component as base


[docs]class Finger(base.ART_Component): """ This class creates and defines the finger component, which by default, will create 4 joints. """ nice_name = "Finger" category = "Limbs" base_name = "finger" has_sides = True can_overwrite_names = True joint_mover_file = "resources\\rigging_guides\\finger.ma" mirror_table = {"translateX": -1, "translateY": -1, "translateZ": -1, "rotateX": 1, "rotateY": 1, "rotateZ": 1} # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # def _add_metadata(self, network_node, prefix, suffix): super(Finger, self)._add_metadata(network_node, prefix, suffix)