Utilities
MN_utils_curve_resample
Outputs
Geometry |
Geometry |
|
None |
Position |
Vector |
|
[0.0, 0.0, 0.0] |
Tangent |
Vector |
|
[0.0, 0.0, 0.0] |
Normal |
Vector |
|
[0.0, 0.0, 0.0] |
Field Float |
Float |
|
0.0 |
Field Int |
Int |
|
None |
Field Vec |
Vector |
|
[0.0, 0.0, 0.0] |
Attribute Remap
Sample an attribute from the mesh and remap from the minimum to the maximum to the specified values
Maps the range of values of the attribute on from the target atoms, to the range from min to max
Field Remap
Sample a field from the mesh and remap from the minimum to the maximum to the specified values
Maps the range of values of the attribute on from the target atoms, to the range from min to max
Between Integer
Test if an integer is between (and including) the upper and lower bounds
Outputs
Boolean |
Bool |
Whether the input Value is between (and including) the lower and upper bounds |
False |
Between Float
Test if a float is between the upper and lower bounds
Outputs
Boolean |
Bool |
Whether the input Value is between (and including) the lower and upper bounds |
False |
Between Vector
Test if a vector is element-wise between the upper and lower bounds.
Vector from Point
Calculate the vector from the current point’s position to the input vector
Outputs
Vector |
Vector |
Vector from the current point’s position to the given vector |
[0.0, 0.0, 0.0] |
Normalized |
Vector |
Normalized output vector |
[0.0, 0.0, 0.0] |
Length |
Float |
Length of the output vector |
0.0 |
Mix Position
Mix the current point’s Position
with the input vector. A convenience wrapper around a Mix Vector
using Position
as the first attribute
Outputs
Result |
Vector |
The resulting mixed vector, based on the factor |
[0.0, 0.0, 0.0] |
Fractionate Float
Test if a vector is element-wise between the upper and lower bounds.
Outputs
Fraction |
Float |
Fractional component of the value, between 0 and 1 |
0.0 |
Floor |
Int |
The floor of the value; the integer rounded down |
None |
Ceiling |
Int |
The ceiling of the value, the integer rounded up |
None |
Centroid
Calculate the centroid point for the selection for each group in the Group ID
. The centroid is the average position of all points in each Group ID
. If a selection is given, then only the selected points contribute towards the overall centroid calculation, but the result is still available on the other points in the Group ID
Outputs
Centroid |
Vector |
The computed average vector for each Group ID |
[0.0, 0.0, 0.0] |
Vector Angle
Compute the angle in radians between two vectors.
The angle between two vectors, in radians
Outputs
Angle |
Float |
The angle between the two vectors in radians |
0.0 |
Dihedral Angle
Computes the angle between two vectors, AB & CD around around the axis of BC. The first vector AB is treated as the “12 O’clock” up position, looking down the axis towards C, with angles being return in the range of (-Pi, Pi). Clockwise angles are positive and anti-clockwise angles are negative.
Outputs
Angle |
Float |
The angle between the vectors AB and CD, when made perpendicular to BC. |
0.0 |
BA⟂(BC) |
Vector |
The vector BA when made perpendicular to the axis BC |
[0.0, 0.0, 0.0] |
CD⟂(BC) |
Vector |
The Vector CD when makde perpendicular to the axis BC |
[0.0, 0.0, 0.0] |
BC |
Vector |
The axis vector BC |
[0.0, 0.0, 0.0] |
3 Point Angle
Calculate the angle between 3 different points. These points are selected based on their index in the point domain, with Index B being the centre of the calculation.
In the video example, the same calculation that is occurring internally inside of the MN_topo_edge_angle
node, is being handled explicity by this node. If the Index
is being used as Index B
then the current point that is being evaluated is the centre of the angle calculation. If this value is changed, then the point at the corresponding index is used, which results in a smaller angle in the example video.
Outputs
Angle |
Float |
Angle between the points around Index B in radians |
0.0 |
2 Point Angle
Calculate the angle that two points make, relative to the current point being evaluated. Points are selected based on their index, with the centre of the angle calculation being the current point’s position. Equivalent to using 3-Point angle and using Index
as the Index B
.
In the example video, the angle calculation is similar to that of the 3-Point Angle node, but the middle point is always the current point.
Outputs
Angle |
Float |
Angle of the line A -> Self -> C in radians |
0.0 |
Point Distance
Calculate the distance and the vector between the evaluating point and the point selected via the Index.
In the example video, each point is calculating a vector and a distance between itself and the indexed point. When the Point Mask node is used, this index is then on a per-group basis, so each point in the group points to just the group’s corresponding point.
Outputs
Vector |
Vector |
Vector from the current point to the indexed point |
[0.0, 0.0, 0.0] |
Distance |
Float |
Distance from the current point to the indexed point |
0.0 |