```{index} single: Filters; Create AM Scan Paths
```
# Create AM Scan Paths Filter

## Group (Subgroup)

Core (Geometry/Processing)

## Description

Given an input **Edge Geometry**, stripe width, hatch spacing, laser power, and scan speed, this **Filter** will generate an **Edge Geometry** representing the additive manufacturing scan paths along with arrays containing times for each scan path node and powers, region ids, and slice ids for each scan path. The "SliceTriangleGeometry" filter is typically used before this filter to generate the proper edge geometry.

![](Images/CreateAMScanVectors_5.png)

## Examples of Scan Vector Width and Spacing Values

|   | Hatch Spacing=0.5 | Hatch Spacing=3.0 |
|----------------|--------------------|--------|
| Hatch Length=0.5  | ![](Images/CreateAMScanVectors_2.png) | ![](Images/CreateAMScanVectors_3.png)  |
| Hatch Length=3.0  | ![](Images/CreateAMScanVectors_4.png) | ![](Images/CreateAMScanVectors_1.png)  |


### Input Parameters

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Hatch Spacing | Scalar Value |Float32 | The orthogonal distance between each generated vector. |
| Hatch Length | Scalar Value |Float32 | The length of each vector that is created. |
| Hatch Rotation Angle (Degrees) | Scalar Value |Float32 | The angle in degrees by which each slice's hatches are rotated |
| Slice Data Container | Geometry Selection | Edge | The input edge geometry from which to create the scan paths |
| Slice Ids | Array Selection | Allowed Types: int32 Comp. Shape: 1 | Identifies the slice to which each edge belongs |
| Region Ids | Array Selection | Allowed Types: int32 Comp. Shape: 1 | Identifies the region to which each edge belongs |

### Created Objects

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Scan Vector Geometry | DataGroupCreation |  | The created edge geometry representing the scan paths |
| Vertex Attribute Matrix | DataObjectName |  | The name of the attribute matrix containing the scan paths' vertex data |
| Edge Attribute Matrix | DataObjectName |  | The name of the attribute matrix containing the scan path's Edge data |

### Vertex Node Data

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|

### Edge Data

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Region Ids | DataObjectName |  | The name of the array identifying the region to which each scan path belongs |

## Example Pipelines

CreateScanVectors

## License & Copyright

Please see the description file distributed with this **Plugin**

## DREAM3D-NX Help

If you need help, need to file a bug report or want to request a new feature, please head over to the [DREAM3DNX-Issues](https://github.com/BlueQuartzSoftware/DREAM3DNX-Issues/discussions) GitHub site where the community of DREAM3D-NX users can help answer your questions.
