# Slice

Input: | Output (slice width = 0): | Output (slice width > 0):

This modifier deletes particles on one side of an infinite cutting plane. Alternatively, the modifier can cut out a slice of particles as shown in the third picture on the right.

Several buttons in the modifier's parameter panel allow to position and align the slicing plane:

Move plane to simulation box center positions the plane in the center of the simulation cell. The current plane orientation is kept.

Align view direction to plane normal rotates the viewing direction of the active viewport such that it is perpendicular to the cutting plane.

Align plane normal to view direction rotates the cutting plan such that it is perpendicular to the current viewing direction.

Pick three particles lets the user select three particles in the viewport with the mouse. The slicing plane will be repositioned such that it intersects all three particles.

## Parameters

Distance

  The (signed) distance of the slicing plane from the coordinate system's origin along the direction of the normal vector.

Normal (X,Y,Z)

  Components of the slicing plane's normal vector. The vector does not have to be a unit vector.

Slice width

  Specifies the width of the slice to cut from the particle set. If this parameter is zero, all particles on the positive side of the slicing plane are deleted. If the slice width parameter is non-zero, all particles whose distance from the slicing plane is more than half of the slice width are deleted.

Invert

  Inverts the selection of particles, i.e., reverses the slicing plane's orientation.

Select particles (do not delete)

  If activated, the modifier selects particles instead of deleting them.

Apply to selected particles only

  If activated, the modifier touches only particles that are selected. This option can be used to restrict the modifier's action to a subset of particles.