Skip to main content

Prime Mesh Python client library 2026 R1

create_boundary_fitted_spline

Last update: 02.04.2026

BoundaryFittedSpline.create_boundary_fitted_spline(part_id, cell_zonelet_ids, boundary_fitted_spline_params)

Create boundary fitted spline for structured hex-mesh.

The hex-mesh can be structured in blocks but must be conformally connected. That is, each block must have six sided volume and must be connected to other blocks through unique face. The degree and number of control points of the spline can be set in the fitting parameter structure.

Parameters:

part_id

Id of the part.

cell_zonelet_ids

Ids of the cell zonelets on which spline will be fit.

boundary_fitted_spline_params

Structure containing spline fitting parameters.

Returns:

IGAResults

Returns the IGAResults.

Return type:

IGAResults

Examples

>>> from ansys.meshing.prime import BoundaryFittedSpline
>>> #connect client to server and get model from it
>>> client = Client(ip="localhost", port=50060)
>>> model = client.model
>>> boundary_fitted_spline = BoundaryFittedSpline(model = model)
>>> results = boundary_fitted_spline.create_boundary_fitted_spline(part_id, cell_zonelet_ids, boundary_fitted_spline_params)

Connect with Ansys