Extrude Edges ============= .. image:: https://user-images.githubusercontent.com/14288520/200043893-b45dbc77-971a-439d-9be4-f64dcbde010d.png :target: https://user-images.githubusercontent.com/14288520/200043893-b45dbc77-971a-439d-9be4-f64dcbde010d.png Functionality ------------- You can extrude edges along matrices. Every matrix influence on separate vertex of initial mesh. .. image:: https://user-images.githubusercontent.com/14288520/200049153-1522d39b-c89e-41e9-9259-b2a28cf6c8b7.png :target: https://user-images.githubusercontent.com/14288520/200049153-1522d39b-c89e-41e9-9259-b2a28cf6c8b7.png 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: .. image:: https://user-images.githubusercontent.com/14288520/200052169-daf55b93-65a8-4926-9d03-c81f977f9b7f.png :target: https://user-images.githubusercontent.com/14288520/200052169-daf55b93-65a8-4926-9d03-c81f977f9b7f.png * Generator-> :doc:`Circle ` * Number-> :doc:`A Number ` * Number-> :doc:`Number Range ` * SUB, MUL, SINE: Number-> :doc:`Scalar Math ` * Vector-> :doc:`Vector In ` * Viz-> :doc:`Viewer Draw ` --------- Extruded circle in XY directions by sinus and cosinus drived by pi*N: .. image:: https://user-images.githubusercontent.com/14288520/200053013-696b830d-9ec8-40c2-8662-1d08027d7c3b.png :target: https://user-images.githubusercontent.com/14288520/200053013-696b830d-9ec8-40c2-8662-1d08027d7c3b.png * Generator-> :doc:`Circle ` * Number-> :doc:`A Number ` * Number-> :doc:`Number Range ` * SUB, MUL, SINCOS: Number-> :doc:`Scalar Math ` * Vector-> :doc:`Vector In ` * Viz-> :doc:`Viewer Draw ` --------- Matrix input node can make skew in one or another direction: .. image:: https://user-images.githubusercontent.com/14288520/200053481-4a5d04ae-39bb-4a94-a7dd-51d63a6bac7a.png :target: https://user-images.githubusercontent.com/14288520/200053481-4a5d04ae-39bb-4a94-a7dd-51d63a6bac7a.png * Generator-> :doc:`Circle ` * Matrix-> :doc:`Matrix Input ` * Viz-> :doc:`Viewer Draw ` --------- Matrix input node can also scale extruded edges, so you will get bell: .. image:: https://user-images.githubusercontent.com/14288520/200054071-6c774ff2-06ef-421b-945b-f842681eebbe.png :target: https://user-images.githubusercontent.com/14288520/200054071-6c774ff2-06ef-421b-945b-f842681eebbe.png * Generator-> :doc:`Circle ` * Matrix-> :doc:`Matrix Input ` * Viz-> :doc:`Viewer Draw ` --------- Extrude only top edges of the cube: .. image:: https://user-images.githubusercontent.com/14288520/200054687-06e9797c-39e3-47e4-9159-f5e45e8a46d8.png :target: https://user-images.githubusercontent.com/14288520/200054687-06e9797c-39e3-47e4-9159-f5e45e8a46d8.png * Generator-> :doc:`Box ` * Analyzers-> :ref:`Select Mesh Elements (By Normal Direction)` * Matrix-> :doc:`Matrix In ` * Viz-> :doc:`Viewer Draw ` --------- Extrude only boundary edges of the plane; this also is an example of FaceData socket usage: .. image:: https://user-images.githubusercontent.com/284644/71553528-ca5c4f00-2a32-11ea-95c4-80c1d85129f1.png :target: https://user-images.githubusercontent.com/284644/71553528-ca5c4f00-2a32-11ea-95c4-80c1d85129f1.png * Generator-> :doc:`Plane ` * Analyzer-> :doc:`Mesh Filter ` * Number-> :doc:`Random Num Gen ` * List->List Main-> :doc:`List Length ` * Matrix-> :doc:`Matrix In ` * Viz-> :doc:`Mesh Viewer ` * BPY Data-> :doc:`Assign Materials List `