aboutsummaryrefslogtreecommitdiff
path: root/scripts/artv2/components/segment.py
blob: 93899801d4005dd3314024c0eb86f99e37a15f2d (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
# -*- coding: utf-8 -*-
"""
:author:
    Jeremy Ernst
:description:
    This module contains the class for defining and creating a simple joint segment component.
"""

import artv2.components.base_components.base_component as base


class Segment(base.ART_Component):
    """
    This class defines and creates a simple joint segment component.
    """

    nice_name = "Segment"
    category = "Primitives"
    base_name = "segment"
    has_sides = True
    can_overwrite_names = True
    joint_mover_file = "resources\\rigging_guides\\segment.ma"

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

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