Examples

The following contains examples of MicroStructPy. These examples include an introduction to the XML input files, some more advanced input files used on the CLI, and scripts that use the Python package.

Input File Introduction

Triangular mesh from first intro example. Triangular mesh from second intro example. Triangular mesh from third intro example. Triangular mesh from fourth intro example. Triangular mesh from fifth intro example. Triangular mesh from sixth intro example.

CLI Examples

Triangular mesh with elliptical grains. Polygonal mesh from minimal example. Triangular mesh from basalt example. Polygonal mesh from 3D two phase example. Triangular mesh from 3D colormap example.

Python Package Examples

Standard Voronoi diagram. Voronoi diagram with uniformly-spaced seeds, colored by area. Mesh of foam microstructure. MicroStructPy logo. Triangular mesh of microstructure with seed neighborhoods. Triangular mesh of aluminum microstructure. Microstructure meshing process..