ModelTransformation#

class ansys.stk.core.graphics.ModelTransformation#

A model transformation defines a transformation that is applied to geometry on a model primitive. That geometry is identified by the model articulation which contains the transformation…

Overview#

current_value

Get or set the current value of the transformation. The current value of the transformation will be reflected in the geometry of the model primitive that it is associated with.

minimum_value

Get the minimum value of the transformation.

maximum_value

Get the maximum value of the transformation.

default_value

Get the default value of the transformation. The current value property of the transformation will have this value when the model primitive is initialized.

range

Get the value range of the transformation. Equivalent to the difference of the maximum value and minimum value properties.

name

Get the name of the transformation.

type

Get the model transformation type associated with the transformation.

Import detail#

from ansys.stk.core.graphics import ModelTransformation

Property detail#

property ModelTransformation.current_value: float#

Get or set the current value of the transformation. The current value of the transformation will be reflected in the geometry of the model primitive that it is associated with.

property ModelTransformation.minimum_value: float#

Get the minimum value of the transformation.

property ModelTransformation.maximum_value: float#

Get the maximum value of the transformation.

property ModelTransformation.default_value: float#

Get the default value of the transformation. The current value property of the transformation will have this value when the model primitive is initialized.

property ModelTransformation.range: float#

Get the value range of the transformation. Equivalent to the difference of the maximum value and minimum value properties.

property ModelTransformation.name: str#

Get the name of the transformation.

property ModelTransformation.type: ModelTransformationType#

Get the model transformation type associated with the transformation.