Skip to main content

Prime Mesh Python client library 2025 R2

TetMeshSplineParams

Last update: 10.09.2025

class ansys.meshing.prime.TetMeshSplineParams(model=None, feature_angle=None, mode=None, decimation_factor=None, json_data=None, **kwargs)

Parameters for meshing the solid spline.

  • Parameters:

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

    feature_angle: float, optional : Feature angle used in meshing of the solid spline.
    This is a beta parameter. The behavior and name may change in the future.

    mode: TrimmedSolidSplineCutMode, optional : Cut mode to specify rule for mesh cell selection in the volume mesh.
    This is a beta parameter. The behavior and name may change in the future.

    decimation_factor: float, optional : Decimation factor used in meshing of the solid spline.
    This is a beta parameter. The behavior and name may change in the future.

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

Examples

>>> tet_mesh_spline_params = prime.TetMeshSplineParams(model = model)

Methods

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

Attributes

Name Description
TetMeshSplineParams.decimation_factor Decimation factor used in meshing of the solid spline.
TetMeshSplineParams.feature_angle Feature angle used in meshing of the solid spline.
TetMeshSplineParams.mode Cut mode to specify rule for mesh cell selection in the volume mesh.

Connect with Ansys