Vector3D Arithmetic Operations
Function Description
This step can perform element-wise addition/subtraction/multiplication/division operations on a set of 3D vectors with a number or another set of 3D vectors, and output a set of 3D vectors.
Use Cases
General-purpose 3D vector calculation (batch translation, scaling, component amplification/reduction, vector offset, etc.).
Inputs
Original Vector3D (Required): List of 3D vectors to be operated on (Vector3DList).
Another Vector3D/Input Number (Optional):
When Input Type = Vector3D, this port displays as a list of 3D vectors (Vector3DList).
When Input Type = Number, this port displays as a list of numbers (NumberList).
When this port is not connected, the “Specified Vector3D” or “Specified Value” in step parameters takes effect.
Outputs
Output Vector3D: Operation result (list of 3D vectors).
Parameters
Calculation Type
Add: Addition
Subtract: Subtraction
Multiply: Multiplication
Divide: Division
Input Type
Specifies the second input port type.
Vector3D: Specifies the second input as 3D vectors.
Number: Specifies the second input as numbers.
Specified Vector3D
When the “Input Type” parameter is set to “Vector3D”, this parameter can be set to specify another set of 3D vectors to be operated on.
This parameter takes effect when there is no input at the second input port.
Specified Value
When the “Input Type” parameter is set to “Number”, this parameter can be set to specify a number to be operated on.
This parameter takes effect when there is no input at the second input port.