```{index} single: Filters; Slice Triangle Geometry
```
# Slice Triangle Geometry

## Group (Subgroup)

Sampling (Geometry)

## Description

This **Filter** slices an input **Triangle Geometry**, producing an **Edge Geometry**.  The user can control the range over which to slice (either the entire range of the geoemtry or a specified subregion), and the spacing bewteen slices. Currently this filter only supports slicing along the direction of the z axis. The total area and perimieter of each slice is also computed and stored as an attribute on each created slice.

Additionally, if the input **Triangle Geometry** is labeled with an identifier array (such as different regions or features), the user may select this array and the resulting edges will inherit these identifiers.

## Example Output

Example Surface Mesh being sliced with a 0.25 slice spacing.

![](Images/SliceTriangleGeometry_1.png)


Example Surface Mesh being sliced with a 2.0 slice spacing.

![](Images/SliceTriangleGeometry_2.png)


### Input Parameter(s)

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Slice Range | Choices |  | Type of slice range to use, either Full Range or User Defined Range |
| Slicing Start | Scalar Value |Float32 | The z axis start value. Only needed for 'User Defined Range' |
| Slicing End | Scalar Value |Float32 | The z axis stop value. Only needed for 'User Defined Range' |
| Slice Spacing | Scalar Value |Float32 | The spacing between slices |

### Input Geometry

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Triangle Geometry | Geometry Selection | Triangle | The input triangle geometry to be sliced |

### Optional Input Region Ids

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Have Region Ids | Bool |  | Whether to supply an id array that propagates to the created edges |
| Region Ids | Array Selection | Allowed Types: int32 Comp. Shape: 1 | Optional identifier array, if Have Region Ids is selected |

### Output Edge Geometry

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Created Edge Geometry | DataGroupCreation |  | The name of the created Edge Geometry |
| Edge Attribute Matrix | DataObjectName |  | Attribute Matrix to store information about the created edges |
| Slice Ids | DataObjectName |  | Identifies the slice to which each edge belongs |
| Slice Attribute Matrix | DataObjectName |  | Attribute Matrix to store information about the created edges |

## Example Pipelines

CreateScanVectors

## License & Copyright 

Please see the description file distributed with this plugin.

## DREAM3D Mailing Lists

If you need more help with a filter, please consider asking your question on the DREAM3D Users mailing list:
https://groups.google.com/forum/?hl=en#!forum/dream3d-users
