recttocyl#
- ens_calculator.recttocyl(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, vector: ENS_VAR | str | int, frame_number: int, output_varname: str | None = None) ENS_VAR #
Computes a vector variable defined as the radial, tangential, and z component according to specified frame. Intended for calculation purposes
- Args:
- source_parts:
Any part(s) or a part number.
- vector:
A vector variable.
- frame_number:
Specify the frame number to use for the cylindrical coordinate system.
- output_varname:
The name of the newly created variable
- Returns:
New ENS_VAR instance or None
- Note:
See RectToCyl() for function details.