Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@clatlan
Copy link
Owner

@clatlan clatlan commented Feb 23, 2024

Starting from @ewbellec's code (see ISSUE #29), I implemented the 3d surface projection in the pipeline.

The views together with their associated axes should be consistent with the 3D views provided by Paraview or Vedo.

cdiutils_S311_3d_strain
cdiutils_S14_3d_strain

@clatlan clatlan linked an issue Feb 23, 2024 that may be closed by this pull request
@clatlan clatlan requested a review from ewbellec February 23, 2024 17:17
Copy link
Collaborator

@ewbellec ewbellec left a comment

Choose a reason for hiding this comment

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

All good to me. It looks a bit strange when there's no specific features on the surface (same for my particles). I could maybe try adding some "depth" feeling using transparency but it already looks good enough.
It's can be a simple way to compare surface strain between different scans without having to open them all in paraview.

@clatlan clatlan merged commit 68e8c6a into master Feb 23, 2024
@clatlan clatlan deleted the 3d-surface-projections branch February 23, 2024 17:35
@clatlan
Copy link
Owner Author

clatlan commented Feb 23, 2024

We can also play the "interpolation" parameter in the matplotlib matshow function to get a smoother result

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.

[FEATURE] plot surface projection

3 participants