flow360.AngleExpression#

class AngleExpression[source]#

Bases: SingleAttributeModel

AngleExpression class for define the angle expression for Rotation.spec. The result of the expression is assumed to be in radians.

Example

>>> fl.AngleExpression("0.1*sin(t)")

type_name: Literal['AngleExpression'] = 'AngleExpression'#
value: Annotated[str, AfterValidator(func=process_expressions)] [Required]#

The expression defining the rotation angle as a function of time.

Constraints:
  • func = <function process_expressions at 0x79c454ba96c0>