Triangle¶
Functionality¶
The node is designed to generate triangles from various combinations of vertices, sides length and angles.
Inputs / Parameters¶
Param |
Type |
Description |
---|---|---|
Mode |
Enum |
Choose how you want to define the triangle:
|
A |
Vector |
Vertex A of the triangle |
B |
Vector |
Vertex B of the triangle |
C |
Vector |
Vertex C of the triangle |
a |
Float |
Normal of the plane B |
b |
Float |
Normal of the plane B |
c |
Float |
Normal of the plane B |
Alpha |
Float |
Normal of the plane B |
Beta |
Float |
Normal of the plane B |
Advanced Parameters¶
In the N-Panel (and on the right-click menu) you can find:
Join Last level: Join (mesh join) last level of triangles (default set to False)
Remove Doubles: Remove doubles of the joined triangles (only active when “Join Last Level” is True)
Tolerance: Removing Doubles Tolerance (only active when “Remove Doubles” is True)
Flat output: Flatten output by list-joining level 1 and unwrapping it (default set to True)
Match List Global: Define how list with different lengths should be matched. Refers to the matching of groups (level 1)
Match List Local: Define how list with different lengths should be matched. Refers to the matching inside groups (level 2)
Outputs¶
Vertices: Vertex of triangles
Edges: Edges of triangles
Faces: Polygon data of the triangles
Example of usage¶
Three ways of getting the same triangle from different inputs
Viz-> Viewer Draw
The node can be used to generate more complex shapes, note that “join last level” is activated the N-Panel
Generator-> Circle
CAD-> Inset Special
List->List Struct-> List Shift
Viz-> Viewer Draw
Advanced example using the node to generate structural ribbons
old example
restore the old example with a new version of nodes
Generator-> Line
Transform-> Matrix Apply (verts)
Modifiers->Modifier Make-> UV Connection
Number-> A Number
Number-> Number Range
SIN, MUL, ADD: Number-> Scalar Math
Viz-> Viewer Draw
Viz-> Mesh Viewer