# -*- 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
[docs]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)