Back to main menu

Option: cut

Syntax

-cut <cutdirection> <cutdistance> <cutplane>

Description

This option allows to "cut" a system, i.e. to output only part of its atoms. In this option, a plane is defined by its normal (which can only be X, Y or Z axes) and its distance from the origin; then atoms can be deleted above or below that plane.

The parameters for this option are the following:

This option does not change the size of the box. In other words, it will result in a void region where atoms have been removed.

If you want to cut above (or below) a plane that is not aligned with X, Y or Z, then you can first rotate the system to align the direction you want with an axis, then cut the system, and finally rotate it back to its original orientation.

Examples

Back to main menu