Extrude Edges¶
Functionality¶
You can extrude edges along matrices. Every matrix influence on separate vertex of initial mesh.
Inputs¶
This node has the following inputs:
Vertices. This input is mandatory.
Edges
Faces
EdgeMask. The mask for edges to be extruded. By default, all edges will be extruded. Note that providing this input does not have sense if Edges input was not provided.
FaceData. List containing an arbitrary data item for each face of input mesh. For example, this may be used to provide material indexes of input mesh faces. Optional input.
Matrices. Matrices for vertices transformation. This input expects one matrix per each extruded vertex.
Parameters¶
Implementation: (in N-panel) Offers Numpy (Faster) and Bmesh (Legacy. Slower) List Match: (in N-panel) Chose how list length should be matched
Outputs¶
This node has the following outputs:
Vertices
Edges
Faces
NewVertices - only new vertices
NewEdges - only new edges
NewPolys - only new faces.
FaceData. List containing data items from the FaceData input, which contains one item for each output mesh face.
Examples of usage¶
Extruded circle in Z direction by sinus, drived by pi*N:
Generator-> Circle
Number-> A Number
Number-> Number Range
SUB, MUL, SINE: Number-> Scalar Math
Vector-> Vector In
Viz-> Viewer Draw
Extruded circle in XY directions by sinus and cosinus drived by pi*N:
Generator-> Circle
Number-> A Number
Number-> Number Range
SUB, MUL, SINCOS: Number-> Scalar Math
Vector-> Vector In
Viz-> Viewer Draw
Matrix input node can make skew in one or another direction:
Generator-> Circle
Matrix-> Matrix Input
Viz-> Viewer Draw
Matrix input node can also scale extruded edges, so you will get bell:
Generator-> Circle
Matrix-> Matrix Input
Viz-> Viewer Draw
Extrude only top edges of the cube:
Generator-> Box
Analyzers-> Select Mesh Elements (By Normal Direction)
Matrix-> Matrix In
Viz-> Viewer Draw
Extrude only boundary edges of the plane; this also is an example of FaceData socket usage:
Generator-> Plane
Analyzer-> Mesh Filter
Number-> Random Num Gen
List->List Main-> List Length
Matrix-> Matrix In
Viz-> Mesh Viewer
BPY Data-> Assign Materials List