def shape_off_delete(self, name): """ Deletes a shape OFF file saved Args: * name (str): the name of the file """ self._shape_delete( core.make_filepath_nostamp(name, core.SHAPEOFFFILENAME))
def shape_off_load(self, name): """ Loads a shape OFF file previously saved Args: * name (str): the name of the file """ name = core.make_filepath_nostamp(name, core.SHAPEOFFFILENAME) res = self._shape_load(name) if res is not None: self._off = np.loadtxt(name)