aboutsummaryrefslogtreecommitdiff
path: root/scripts/artv2/components/finger.py
blob: 6688cad0d1ecbd97e6c8d8a9b9a17683a6c5357b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- 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


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)