|
Usually, it is complicated to draw a crystal purely by giving the Miller indices (including the distances of the different faces from the coordinate center) to the command MakeCrystal. This is caused by the difficulty to estimate where a given face described by the number triple {hkl} is exactly located in space, and whether it is too far away from the center to be visible at all. To facilitate this, the additional function Habitus[m, k, {e1,e2,e3}] can be used, where the first entry is a list of Miller indices, and k, e1, e2, e3 are parameters. For every Miller index {h,k,l}, Habitus returns the same indices but rescaled by the factor [(h e1)k + (k e2)k + (l e3)k]-1/k. The numbers e1, e2, e3 and k are free parameters determining the final overall shape of the crystal. In the special case of {e1, e2, e3} = {1,1,1}, k = 2, and a cubic axis system, the returned indices describe crystal faces that are tangential to a sphere. The best way to get a feeling for the action of Habitus is to play around with this function. For example, the command ShowCrystal[{{1,0,0},{0,0,1}}, "D6"];] shows an isometric crystal:
| |