    

 ## On this page

  

 

 # HexToSplineParams

 Last update: 10.09.2025 

<a id="ansys.meshing.prime.HexToSplineParams"></a>

### *class* ansys.meshing.prime.HexToSplineParams(model=None, feature\_capture\_type=None, feature\_angle=None, corner\_angle=None, continuity=None, project\_on\_geometry=None, use\_projection\_scope=None, projection\_scope=None, json\_data=None, \*\*kwargs)

Parameters to control conversion of hex mesh to spline.

- **Parameters:**
    
    **model: Model**: Model to create a `HexToSplineParams` object with default parameters.
    
    **feature\_capture\_type: SplineFeatureCaptureType, optional**: Feature capture options.   
    **This is a beta parameter**. **The behavior and name may change in the future**.
    
    **feature\_angle: float, optional**: Angle to capture the feature.   
    **This is a beta parameter**. **The behavior and name may change in the future**.
    
    **corner\_angle: float, optional**: Corner angle of the feature.   
    **This is a beta parameter**. **The behavior and name may change in the future**.
    
    **continuity: SplineContinuityType, optional**: Spline Continuity options.   
    **This is a beta parameter**. **The behavior and name may change in the future**.
    
    **project\_on\_geometry: bool, optional**: Option to project on geometry.   
    **This is a beta parameter**. **The behavior and name may change in the future**.
    
    **use\_projection\_scope: bool, optional**: Option to use projection scope.   
    **This is a beta parameter**. **The behavior and name may change in the future**.
    
    **projection\_scope: ScopeDefinition, optional**: Scope to evaluate entities for projection.   
    **This is a beta parameter**. **The behavior and name may change in the future**.
    
    **json\_data: dict, optional**: JSON dictionary to create a `HexToSplineParams` object with provided parameters.

### Examples

```pycon
&gt;&gt;&gt; hex_to_spline_params = prime.HexToSplineParams(model = model)

```

### Methods

NameDescription[`HexToSplineParams.print_default`](ansys.meshing.prime.HexToSplineParams.print_default.md#ansys.meshing.prime.HexToSplineParams.print_default)()Print the default values of `HexToSplineParams` object.[`HexToSplineParams.set_default`](ansys.meshing.prime.HexToSplineParams.set_default.md#ansys.meshing.prime.HexToSplineParams.set_default)(\[...\])Set the default values of the `HexToSplineParams` object.### Attributes

NameDescription[`HexToSplineParams.continuity`](ansys.meshing.prime.HexToSplineParams.continuity.md#ansys.meshing.prime.HexToSplineParams.continuity)Spline Continuity options.[`HexToSplineParams.corner_angle`](ansys.meshing.prime.HexToSplineParams.corner_angle.md#ansys.meshing.prime.HexToSplineParams.corner_angle)Corner angle of the feature.[`HexToSplineParams.feature_angle`](ansys.meshing.prime.HexToSplineParams.feature_angle.md#ansys.meshing.prime.HexToSplineParams.feature_angle)Angle to capture the feature.[`HexToSplineParams.feature_capture_type`](ansys.meshing.prime.HexToSplineParams.feature_capture_type.md#ansys.meshing.prime.HexToSplineParams.feature_capture_type)Feature capture options.[`HexToSplineParams.project_on_geometry`](ansys.meshing.prime.HexToSplineParams.project_on_geometry.md#ansys.meshing.prime.HexToSplineParams.project_on_geometry)Option to project on geometry.[`HexToSplineParams.projection_scope`](ansys.meshing.prime.HexToSplineParams.projection_scope.md#ansys.meshing.prime.HexToSplineParams.projection_scope)Scope to evaluate entities for projection.[`HexToSplineParams.use_projection_scope`](ansys.meshing.prime.HexToSplineParams.use_projection_scope.md#ansys.meshing.prime.HexToSplineParams.use_projection_scope)Option to use projection scope.