Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D Phase diagram #12

Open
Jeff-oakley opened this issue Nov 20, 2022 · 1 comment
Open

3D Phase diagram #12

Jeff-oakley opened this issue Nov 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Jeff-oakley
Copy link

Can we use beautiful-atoms to visualize the 3D composition/grand canonical phase diagrams in Materials Project?
One example of compositional phase diagram is:
image
One example of grand canonical phase diagram is:
image
I can help breaking the phase diagram into coordinates if needed.

@superstar54
Copy link
Member

@Jeff-oakley Thanks for reporting this. Yes, it is possible to draw the 3D phase diagram inside Blender.

For the compositional phase diagram, only the compositions and energies are needed. We can calculate the energy convex Hull, thus getting the vertices and plane index. It is then straightforward to draw the line and plane.

For the canonical phase diagram, do you have an idea of what algorithm to calculate the plane? What are the input data? It would be helpful if you could give some knowledge on that.

The difficult part would be the axis, legends and colorbar. Blender does not provide a built-in method to auto-draw these. Since they do not belong to the 3D object and do not rotate with the scene, they have to be drawn separately with some low-level function.

For the implementation, we could either add this feature to the beautiful-atoms or create a separate addon for the phase diagram.

@superstar54 superstar54 added the enhancement New feature or request label Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants