Skip to main content

Prime Mesh Python client library 2026 R1 SP01

TetParams

Last update: 29.04.2026

class ansys.meshing.prime.TetParams(model=None, quadratic=None, json_data=None, **kwargs)

Parameters to control tetrahedral mesh generation.

Parameters:

model: Model

Model to create a TetParams object with default parameters.

quadratic: bool, optional

Option to generate quadratic tetrahedral mesh. It is not supported with parallel meshing. It is only supported with pure tetrahedral mesh.

json_data: dict, optional

JSON dictionary to create a TetParams object with provided parameters.

Examples

>>> tet_params = prime.TetParams(model = model)

Methods

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

Attributes

Name Description
TetParams.quadratic Option to generate quadratic tetrahedral mesh.

Connect with Ansys