> ## 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.

# CreateContactPatchParams

### *class* ansys.meshing.prime.CreateContactPatchParams(model=None, contact\_patch\_axis=None, offset\_distance=None, grouping\_tolerance=None, suggested\_part\_name=None, suggested\_label\_prefix=None, json\_data=None, \*\*kwargs)

Parameters used for contact patch creation in the given axis.

* **Parameters:**

  **model: Model**
  : Model to create a `CreateContactPatchParams` object with default parameters.

  **contact\_patch\_axis: ContactPatchAxis, optional**
  : Assigns the contact patch direction.

  **offset\_distance: float, optional**
  : Source offset distance value.

  **grouping\_tolerance: float, optional**
  : Tolerance distance value to group regions for contact patch creation.

  **suggested\_part\_name: str, optional**
  : Suggested part name for created contact patch surfaces.

  **suggested\_label\_prefix: str, optional**
  : Suggested label name for created contact patch surfaces.

  **json\_data: dict, optional**
  : JSON dictionary to create a `CreateContactPatchParams` object with provided parameters.

### Examples

```python theme={null}
>>> create_contact_patch_params = prime.CreateContactPatchParams(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`CreateContactPatchParams.contact_patch_axis`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.CreateContactPatchParams.contact_patch_axis) | Assigns the contact patch direction. |
| [`CreateContactPatchParams.grouping_tolerance`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.CreateContactPatchParams.grouping_tolerance) | Tolerance distance value to group regions for contact patch creation. |
| [`CreateContactPatchParams.offset_distance`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.CreateContactPatchParams.offset_distance) | Source offset distance value. |
| [`CreateContactPatchParams.suggested_label_prefix`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.CreateContactPatchParams.suggested_label_prefix) | Suggested label name for created contact patch surfaces. |
| [`CreateContactPatchParams.suggested_part_name`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.CreateContactPatchParams.suggested_part_name) | Suggested part name for created contact patch surfaces. |
