Skip to content

Conversation

@santisoler
Copy link
Member

@santisoler santisoler commented Nov 25, 2025

Add a to_pyvista method to all ellipsoid classes to export them to PyVista objects that can be either plotted by it, or exported as VTK files. Add tests for the new method, running it on all ellipsoid types.

Relevant issues/PRs:

Part of #594

Make use of the `ParametricEllipsoid.rotate` method that takes
a rotation matrix, so we avoid any potential bug due to misuse of the
`rotate_x`, `rotate_y` and `rotate_z` methods.
Add kwargs to it as well.
@santisoler santisoler changed the title Draft method to export ellipsoids to PyVista Add method to export ellipsoids as PyVista objects Nov 25, 2025
@santisoler santisoler marked this pull request as ready for review November 25, 2025 23:29
@santisoler santisoler mentioned this pull request Nov 25, 2025
12 tasks
@santisoler santisoler merged commit b0adc1f into main Nov 26, 2025
19 of 20 checks passed
@santisoler santisoler deleted the ellipsoid-vtk branch November 26, 2025 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants