Barycentric Transform¶

Functionality¶
The node is coded to perform the transformation of one or many vertices according to the relation of two triangles
Eaxh triangle is defined by three vectors.
Inputs / Parameters¶
Param |
Type |
Description |
---|---|---|
Vertices |
Vertices |
Points to calculate |
Edg_Pol |
Int Lists |
Edges or pols of the input Vertices (optional) |
Verts Tri Source |
Vertices |
It will get the first and last vertices’s to define the line segment |
Verts Tri Target |
Float |
Minimal distance to accept one point is intersecting. |
Advanced Parameters¶
In the N-Panel (and on the right-click menu) you can find:
Implementation: Choose between MathUtils (Faster transforming light meshes) and NumPy (Faster transforming heavy meshes)
Output NumPy: to get NumPy arrays in stead of regular lists (makes the node faster). Only in the NumPy implementation.
Match List: Define how list with different lengths should be matched. Refers to the matching of groups (one tris couple per group)
Outputs¶
Vertices: Transformed vectors.
Edg_Pol: A matched copy of the input Edg_Pol data.
Example of usage¶
The node can be used to place geometry over triangular faces.

Generator-> Cricket
Generator-> Circle
Generator-> IcoSphere
Transform-> Rotate
Transform-> Move
Modifiers->Modifier Change-> Polygon Boom
Vector-> Vector In
Viz-> Viewer Draw
The List Match option can offer different output combinations, in this case Cyclic is used

Generator-> Circle
Generator-> IcoSphere
Number-> Number Range
Modifiers->Modifier Change-> Polygon Boom
Viz-> Viewer Draw
Text-> Stethoscope
Custom triangular Tessellation in this case Cyclic is used to alternate between the input geometry

Generator-> Circle
Generator->Generator Extended-> Polygon Grid
Transform-> Rotate
Modifiers->Modifier Change-> Polygon Boom
Number-> List Input
Vector-> Vector In
Matrix-> Matrix In
Viz-> Viewer Draw