aboutsummaryrefslogtreecommitdiff
path: root/scripts/artv2/components/joint.py
blob: b6a49bb0b757e2ba284f70a0bb41f8ab22422e77 (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 the joint component. Just a simple joint you can use for things like
    packs, pouches, or a clavicle. Wherever you may need a simple joint.
"""

import artv2.components.base_components.base_component as base


class Joint(base.ART_Component):
    """
    This class defines and creates the joint component. Just a simple joint you can use for things like
    packs, pouches, or a clavicle. Wherever you may need a simple joint.
    """

    nice_name = "Joint"
    category = "Primitives"
    base_name = "joint"
    has_sides = True
    can_overwrite_names = True
    joint_mover_file = "resources\\rigging_guides\\joint.ma"

    # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    def _add_metadata(self, network_node, prefix, suffix):

        super(Joint, self)._add_metadata(network_node, prefix, suffix)