BoundaryFittedSplineParams#
- class ansys.meshing.prime.BoundaryFittedSplineParams(model=None, degree_u=None, degree_v=None, degree_w=None, refinement_fraction_u=None, refinement_fraction_v=None, refinement_fraction_w=None, control_points_count_u=None, control_points_count_v=None, control_points_count_w=None, n_refine=None, control_point_selection_type=None, json_data=None, **kwargs)#
Boundary fitted spline fitting parameters.
- Parameters:
- model: Model
Model to create a
BoundaryFittedSplineParams
object with default parameters.- degree_u: int, optional
Degree of spline in u direction.
- degree_v: int, optional
Degree of spline in v direction.
- degree_w: int, optional
Degree of spline in w direction.
- refinement_fraction_u: float, optional
Fraction of input mesh size that sets the control points size in u direction. This is used in program controlled control points selection mode.
- refinement_fraction_v: float, optional
Fraction of input mesh size that sets the control points size in v direction. This is used in program controlled control points selection mode.
- refinement_fraction_w: float, optional
Fraction of input mesh size that sets the control points size in w direction. This is used in program controlled control points selection mode.
- control_points_count_u: int, optional
Spline control points count in U direction. Used in manual control points selection mode.
- control_points_count_v: int, optional
Spline control points count in V direction. Used in manual control points selection mode.
- control_points_count_w: int, optional
Spline control points count in W direction. Used in manual control points selection mode.
- n_refine: int, optional
Spline refinement level for rendering.
- control_point_selection_type: ControlPointSelection, optional
Spline control points selection type.
- json_data: dict, optional
JSON dictionary to create a
BoundaryFittedSplineParams
object with provided parameters.
Examples
>>> boundary_fitted_spline_params = prime.BoundaryFittedSplineParams(model = model)
Methods
Print the default values of
BoundaryFittedSplineParams
object.Set the default values of the
BoundaryFittedSplineParams
object.Attributes
Spline control points selection type.
Spline control points count in U direction.
Spline control points count in V direction.
Spline control points count in W direction.
Degree of spline in u direction.
Degree of spline in v direction.
Degree of spline in w direction.
Spline refinement level for rendering.
Fraction of input mesh size that sets the control points size in u direction.
Fraction of input mesh size that sets the control points size in v direction.
Fraction of input mesh size that sets the control points size in w direction.