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
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
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