ms_gui_add_vacuum_current
Add vacuum thickness to the current periodic structure. For 3D cells, extends lattice length; for 2D surfaces, inserts vacuum slab.
Instructions
Add vacuum to the current GUI periodic document in place only when the user explicitly asks for vacuum. For an already-built 3D cell, extend_lattice increases the chosen lattice length while preserving Cartesian atom positions; for 2D surfaces, vacuum_slab uses CrystalBuilder VacuumSlab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | C | |
| mode | No | extend_lattice | |
| thickness | Yes | Vacuum thickness to add in Angstrom. | |
| exportFile | No | ||
| ballAndStick | No | ||
| documentName | No | ||
| slabPosition | No | ||
| transferSymmetry | No | ||
| reorientAfterVacuumSlab | No |