3D Vector Arithmetic Operations

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step performs simple operations on a list of 3D vectors of the Vector3D data type with another list of 3D vectors (or numbers).

Usage Scenario

This Step is a general 3D vector calculation Step. No fixed usage scenarios.

Input and Output

Input

Input port Data type Description

Original 3D Vector

Vector3D[]

First list of 3D vectors for the operation.

Another 3D Vector

Vector3D[]

(Optional) Second list of 3D vectors for the operation. This port is displayed when the Input Type is Vector3D. If no data is input to this port, the “Operand Vector” parameter will be used.

Input Number

Number[]

(Optional) Values that change dynamically. This port is displayed when Input Type is Number. If no data is input to this port, the “Operand Number” parameter will be used.

Output

Output port Data type Description

Output 3D Vector

Vector3D[]

3D vectors obtained from operation.

Parameter Description

Parameter Description

Operation

Parameter description: This parameter specifies the type of 3D vector operation.
Value list: Add, Minus, Multiply, Divide
Default value: Add

Operand Type

Parameter description: This parameter is used to specify the data type received by the second input port of the Step. The data type needs to be set according to the calculation type.
Value list: Vector3D, Number
Default value: Vector3D
Instruction: If you need to perform “add” or “minus” operations, please select “Vector3D”. If you need to perform “multiply” or “divide” operations, please select “Number”.

Operand Vector

Parameter description: This parameter is used to set the custom 3D vectors for the operation. This parameter should be set when the Operand Type is Vector3D and the “Another 3D Vector” port is not connected.
Default value: 0, 0, 1

Operand Number

Parameter description: This parameter is used to set the custom value for the operation. This parameter should be set when the Operand Type is Number and the “Input Number” port is not connected.
Default value: 1.0000

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.