def tree_view(self, fold_symmetry=True, **kwargs): if fold_symmetry: return (str(self) + '\n' + ' ├─' + self.half.tree_view().replace('\n', '\n │ ') + '\n' + f" └─mirrored copy of the above {str(self.half)}") else: return CollectionOfMeshes.tree_view(self, **kwargs)
def tree_view(self, fold_symmetry=True, **kwargs): if fold_symmetry: return ( str(self) + '\n' + ' ├─' + self.first_slice.tree_view().replace('\n', '\n │ ') + '\n' + f" └─{len(self)-1} rotated copies of the above {str(self.first_slice)}" ) else: return CollectionOfMeshes.tree_view(self, **kwargs)