Skip to main content

Prime Mesh Python client library 2024 R2

ansys.meshing.prime.BoundaryFittedSpline

Last update: 17.07.2025

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