Skip to main content

Prime Mesh Python client library 2025 R2

RefineSplineParams

Last update: 10.09.2025

class ansys.meshing.prime.RefineSplineParams(model=None, refine_flag_u=None, refine_flag_v=None, refine_flag_w=None, spline_refinement_type=None, json_data=None, **kwargs)

Spline refinement parameters.

  • Parameters:

    model: Model : Model to create a RefineSplineParams object with default parameters.

    refine_flag_u: bool, optional : Indicates whether refinement is applied in u direction.

    refine_flag_v: bool, optional : Indicates whether refinement is applied in v direction.

    refine_flag_w: bool, optional : Indicates whether refinement is applied in w direction.

    spline_refinement_type: SplineRefinementType, optional : Type of spline refinement. Currently, supports h-refinement and p-refinement.

    json_data: dict, optional : JSON dictionary to create a RefineSplineParams object with provided parameters.

Examples

>>> refine_spline_params = prime.RefineSplineParams(model = model)

Methods

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

Attributes

Name Description
RefineSplineParams.refine_flag_u Indicates whether refinement is applied in u direction.
RefineSplineParams.refine_flag_v Indicates whether refinement is applied in v direction.
RefineSplineParams.refine_flag_w Indicates whether refinement is applied in w direction.
RefineSplineParams.spline_refinement_type Type of spline refinement.

Connect with Ansys