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

# SearchByFoldsParams

### *class* ansys.meshing.prime.SearchByFoldsParams(model=None, critical\_angle=None, json\_data=None, \*\*kwargs)

Parameters to control fold detection.

* **Parameters:**

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

  **critical\_angle: float, optional**
  : Threshold angle for fold detection.

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

### Examples

```python theme={null}
>>> search_by_folds_params = prime.SearchByFoldsParams(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`SearchByFoldsParams.critical_angle`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.SearchByFoldsParams.critical_angle) | Threshold angle for fold detection. |
