Line¶


Functionality¶
The node can create line with origin in center of coordinate system and X, Y or Z direction or with custom origin and direction. Also number of subdivisions can be set.
Category¶
Generators -> Line
Inputs¶
Num Verts - number of vertices of a line
Size - length of a line
Step(s) - distance between points of a line
Origin - custom center of coordinate system
Direction - direction of a line
Outputs¶
Verts - coordinates of line(s)
Edges - just edges
Parameters¶

Param |
Type |
Default |
Description |
---|---|---|---|
Direction |
Enum: X/Y/Z/OP/OD |
“X” |
|
Length |
Enum: Size/Num/Step/ St+Si |
“Size” |
Method of line size determination |
Center |
Boolean |
False |
center line in origin |
Split to objects |
Boolean (N panel) |
True |
Each line will be put to separate object any way |
Numpy output |
Boolean (N panel) |
False |
Convert vertices to Numpy array |
Step length mode - expect array of steps with help of which a line can be subdivided into unequal parts.
Step + size mode - expect array of steps with help of which a line can be subdivided into proportional parts with custom line length.
Example of usage¶
The first example shows just an standard line with 4 vertices and 1.00 ud between them

Number-> List Input
Viz-> Viewer Draw
Text-> Stethoscope
In this example the step is given by a series of numbers

Number-> List Input
Viz-> Viewer Draw
Text-> Stethoscope
You can create multiple lines if input multiple lists

Number-> List Input
List->List Main-> List Length
Viz-> Viewer Draw
Text-> Stethoscope
The “OD” mode (Origin Direction) can be used to visualize normals

Generator-> Line
Generator-> IcoSphere
Analyzers-> Component Analyzer/Faces/Center
Analyzers-> Component Analyzer/Faces/Normal
Viz-> Viewer Draw