Skip to main content

Prime Mesh Python client library 2025 R2 SP04

HexToSplineParams

Last update: 20.02.2026

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

>>> hex_to_spline_params = prime.HexToSplineParams(model = model)

Methods

Name Description
HexToSplineParams.print_default() Print the default values of HexToSplineParams object.
HexToSplineParams.set_default([...]) Set the default values of the HexToSplineParams object.

Attributes

Name Description
HexToSplineParams.continuity Spline Continuity options.
HexToSplineParams.corner_angle Corner angle of the feature.
HexToSplineParams.feature_angle Angle to capture the feature.
HexToSplineParams.feature_capture_type Feature capture options.
HexToSplineParams.project_on_geometry Option to project on geometry.
HexToSplineParams.projection_scope Scope to evaluate entities for projection.
HexToSplineParams.use_projection_scope Option to use projection scope.

Connect with Ansys