mymesh.mesh.mesh.reset#

mesh.reset(properties=None, keep=None)[source]#

Reset some or all properties. If no arguments are provided, all cached mesh properties will be reset.

Parameters:
  • properties (NoneType, str, or list, optional) – If specified as a string or list of strings, will reset the properties specified by those names. By default, all properties other than those specified by keep will be reset.

  • keep (NoneType, str or list, optional) – If specified as a string or list of strings, the corresponding properties will not be reset. If the same entry is found in properties and keep, the former takes precedence and the property will be cleared. By default, None.