> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# StitchParams

### *class* ansys.meshing.prime.StitchParams(model=None, tolerance=None, use\_absolute\_tolerance=None, remesh=None, enable\_multi\_threading=None, type=None, json\_data=None, \*\*kwargs)

Parameters used for stitch operation.

**Parameters:**

**model: Model**

Model to create a `StitchParams` object with default parameters.

**tolerance: float, optional**

Distance tolerance for stitching boundaries.

**use\_absolute\_tolerance: bool, optional**

True if tolerance provided is absolute value.

**remesh: bool, optional**

Remesh at stitch connection.

**enable\_multi\_threading: bool, optional**

Option to run stitch in parallel using multithread.

**type: StitchType, optional**

Stitch type depending on nature of surface boundary edges to be stitched.

**json\_data: dict, optional**

JSON dictionary to create a `StitchParams` object with provided parameters.

### Examples

```python theme={null}
>>> stitch_params = prime.StitchParams(model = model)
```

### Methods

| Name | Description |
| - | - |
| [`StitchParams.print_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.StitchParams.print_default)() | Print the default values of `StitchParams` object. |
| [`StitchParams.set_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.StitchParams.set_default)(\[tolerance, ...]) | Set the default values of the `StitchParams` object. |

### Attributes

| Name | Description |
| - | - |
| [`StitchParams.enable_multi_threading`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.StitchParams.enable_multi_threading) | Option to run stitch in parallel using multithread. |
| [`StitchParams.remesh`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.StitchParams.remesh) | Remesh at stitch connection. |
| [`StitchParams.tolerance`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.StitchParams.tolerance) | Distance tolerance for stitching boundaries. |
| [`StitchParams.type`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.StitchParams.type) | Stitch type depending on nature of surface boundary edges to be stitched. |
| [`StitchParams.use_absolute_tolerance`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.StitchParams.use_absolute_tolerance) | True if tolerance provided is absolute value. |
