Slab Builder#
The Slab Builder cuts a surface from a 3D periodic crystal. In AMS2027, it previews the slab as you edit the cut and cell settings.
How to use the slab builder#
Open a 3D periodic crystal and choose Builders → Slab…. The builder attempts to convert the crystal to its conventional cell on opening. Use the indices of the cell shown in the preview.
Enter h, k, and l for the surface plane. The builder displays the derived fourth index i = −(h + k) used in Miller–Bravais notation for hexagonal crystals.
Choose By layers and enter the Number of layers, or choose By thickness and enter Top z and Bottom z in Å. In thickness mode, these positions are measured perpendicular to the surface, relative to the reference atom or the cell origin. To set a reference atom, select one atom in the bulk view and click Use Current Selection. Clear the selection and click the same button to use the cell origin.
Set the 2D supercell matrix to expand the slab in-plane. The diagonal entries set repeats along each lattice direction, and off-diagonal entries mix the two directions. Translation shifts the finished slab along its normal.
Under Out-of-plane cell, choose Keep 2D for in-plane periodicity. To create a 3D cell, choose Vacuum gap and enter the empty distance between slab copies, or choose Total c length and enter the full cell height. The vacuum gap must be positive, and the full height must exceed the slab thickness.
Click Use or press Return to replace the bulk crystal with the previewed slab. Click Cancel or press Esc to restore the original crystal. After applying the slab, you can recover the bulk crystal with Edit → Undo.