code: def set_all_name_components(self, name, weight, width, custom_name):
          
          self.weight = weight or "Regular"
          self.width = width or "Regular"
          self.customName = custom_name or ""
          # Only store the requested name if we can't build it from the parts
          if self._joinName() == name:
              self._name = None
              del self.customParameters["Master Name"]
          else:
              self._name = name
              self.customParameters["Master Name"] = name
docs: This function ensures that after being called, the master.name,
          master.weight, master.width, and master.customName match the given
          values.