def __init__(self): # Parameters names, definition and values. self.paramNames = [ ] ## List of parameter name cause it's actually important to keep them sorted. self.paramDefs = {} ## Dictionary of parameter definition. self.values = {} ## Dictionary of options values. # Property layout and logic self.layout = ppg.PPGLayout() ## PPGLayout object. self.logic = ppg.PPGLogic() ## PPGLogic object. # We will check a few things and make sure the guide we are loading is up to date. # If parameters or object are missing a warning message will be display and the guide should be updated. self.valid = True self.controlers = {} ## Dictionary of controlers # Keys are the component fullname (ie. 'arm_L0') self.components = {} ## Dictionary of component self.componentsIndex = [ ] ## List of component name sorted by order creation (hierarchy order) self.parents = [ ] ## List of the parent of each component, in same order as self.components self.addParameters() self.addLayout() self.addLogic() self.plog = uit.ProgressLog(False, True)
def __init__(self): self.guide = RigGuide() ## Dictionary of component.\n # Keys are the component fullname (ie. 'arm_L0') self.components = {} self.componentsIndex = [] ## Dictionary of Groups. self.groups = {} self.addToGroup(None, ["hidden", "unselectable", "deformers", "geometries"]) self.plog = uit.ProgressLog(True, False)