Skip to main content

Prime Mesh Python client library 2024 R2

TransformParams

Last update: 17.07.2025

class ansys.meshing.prime.TransformParams(model=None, transformation_matrix=None, json_data=None, **kwargs)

Parameters to transform given entities.

  • Parameters: model: Model : Model to create a TransformParams object with default parameters.

    transformation_matrix: Iterable[float], optional : Transformation matrix(4x4) to be used to transform.

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

Examples

>>> transform_params = prime.TransformParams(model = model)

Methods

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

Attributes

Name Description
TransformParams.transformation_matrix Transformation matrix(4x4) to be used to transform.

Connect with Ansys