Beispiel #1
0
    def __init__(self, skeleton):
        """Constructs global for PIM
        :param skeleton: file name of the skeleton file
        :type skeleton: str
        """

        Piece.reset_counters()
        Material.reset_counter()
        Part.reset_counter()
        Locator.reset_counter()
        Bones.reset_counter()

        self._skeleton = skeleton.replace("\\", "/")  # make sure to replace backslashes for windows paths
Beispiel #2
0
    def __init__(self, skeleton):
        """Constructs global for PIM
        :param skeleton: file name of the skeleton file
        :type skeleton: str
        """

        Piece.reset_counters()
        Material.reset_counter()
        Part.reset_counter()
        Locator.reset_counter()

        self._bone_count = 0

        self._skeleton = skeleton
Beispiel #3
0
    def __init__(self, skeleton):
        """Constructs global for PIM
        :param skeleton: file name of the skeleton file
        :type skeleton: str
        """

        Piece.reset_counters()
        Material.reset_counter()
        Part.reset_counter()
        Locator.reset_counter()

        self._bone_count = 0

        self._skeleton = skeleton
Beispiel #4
0
    def __init__(self, skeleton):
        """Constructs global for PIM
        :param skeleton: file name of the skeleton file
        :type skeleton: str
        """

        Piece.reset_counters()
        Material.reset_counter()
        Part.reset_counter()
        Locator.reset_counter()
        Bones.reset_counter()

        self.__skeleton = skeleton.replace(
            "\\", "/")  # make sure to replace backslashes for windows paths