Skip to content

Conversation

@AlejandroFernandezLuces
Copy link
Collaborator

@AlejandroFernandezLuces AlejandroFernandezLuces commented Oct 23, 2025

Overview

Add a tree like structure to the mesh object plot class, mainly to add the ability of showing and hiding whole branches of meshes as it is being done in the main products. I think this is a common use case in the main product and it will be helpful.

For the moment this is the base of the implementation for PyVista, but I still need to think how to properly expose this in the plotting view. The tree structure itself is backend agnostic.

@github-actions github-actions bot added testing Anything related to testing enhancement New features or code improvements labels Oct 23, 2025
@AlejandroFernandezLuces AlejandroFernandezLuces marked this pull request as ready for review October 23, 2025 11:50
@AlejandroFernandezLuces AlejandroFernandezLuces requested a review from a team October 23, 2025 12:03
@AlejandroFernandezLuces AlejandroFernandezLuces linked an issue Oct 23, 2025 that may be closed by this pull request
Copy link
Member

@jorgepiloto jorgepiloto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks for adding this, @AlejandroFernandezLuces. Nice use of recursion when iterating over the children.

@AlejandroFernandezLuces AlejandroFernandezLuces merged commit 2093ad0 into main Oct 23, 2025
23 checks passed
@AlejandroFernandezLuces AlejandroFernandezLuces deleted the feat/meshobject-trees branch October 23, 2025 15:04
@RobPasMue
Copy link
Member

Is there a demo of this capability?

@AlejandroFernandezLuces
Copy link
Collaborator Author

I just added the data structure, I haven't adapted it to any of the backends yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New features or code improvements testing Anything related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for tree representation in MeshObjectPlot

5 participants