vector1dprojection#

ens_calculator.vector1dprojection(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, vector_to_project: ENS_VAR | str | int, which_direction: int = 0, output_varname: str | None = None) ENS_VAR#

Computes a vector variable defined as the specified vector variable projected into the 1D part’s tangent or normal direction

Args:
source_parts:

Any 1D part(s) or a part number.

vector_to_project:

A vector variable.

which_direction:

Select the direction to project.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See Vector1DProjection for function details.