This guide demonstrates how to construct own crystal models and implement them in MTEX on the example of replicating the maolivine crystal shape published in Welsch et al. (2013, J. Pet.).
Open the smorf website
The crystal drawing tool of the Smorf website is an alternative to commercial software packages for defining custom crystal shapes. This free tool is made available by Mark Holtkamp.
Select crystal parameters
Select the point group for crystal symmetry and update the cell parameters in celldata. (Hint: use cell parameters from your own EBSD file). For the interpretation of face distance, choose
Crystallographic (Kristall2000), because MTEX follows this convention.
In MTEX define the crystal symmetry accordingly
Select the face normals
Depending on the complexity of the crystal shape, the drawing of crystal can be tedious. Start constructing the crystal shape as seen along the main crystallographic axes \(\vec a\), \(\vec b\) and \(\vec c\) and add all visible crystal faces from the Welsch et al. (2013) model with distance of 1.
Accordingly we define the face normals in MTEX as a variable of type Miller
Adapt the distances of the faces
Start modifying the morphology by changing distance values of a given crystal face. (Hint: d-step of 0.05 works quite well and is fast).
A higher distance value moves the crystal face farther from the origin, and vice versa. Fix first the largest crystal faces and maintain aspect ratio of the overall crystal shape by moving faces away or closer to origin. Note that the model in the crystal-drawing tool is not updated automatically, so you may need to click on Draw crystal button to apply changes. When ready, compare the original and replicate olivine and take a note on the hkl Miller indices and the corresponding distances in Smorf.
to define the corresponding crystal shape in MTEX use the command crystalShape and provide as input the quotient between the face normals and the distances
Get inspired by the Smorf mineral database for more crystal morphologies!