Create stunning 3D crystal geometry using Python!
With PyVista, you can generate and visualize 3D geometric shapes with just a few lines of code.
This example creates a 3D octahedron, adds cyan-colored surfaces, highlights its edges, and displays it against a dark background.
Key concepts:
3D geometry with PyVista
Mesh visualization
Custom colors and edge styling
Interactive 3D plotting
Python makes scientific visualization and computational geometry easier and more powerful.

December 5, 2026 44 1