Mesh Filter¶
Functionality¶
This node sorts vertices, edges or faces of input mesh by several available criteria: boundary vs interior, convex vs concave and so on. For each criteria, it puts “good” and “bad” mesh elements to different outputs. Also mask output is available for each criteria.
destination after Beta: Analyzers
Inputs¶
This node has the following inputs:
Vertices
Edges
Faces
Parameters¶
This node has the following parameters:
Mode. Which sort of mesh elements to operate on. There are three modes available: Vertices, Edges and Faces.
Filter. Criteria to be used for filtering. List of criteria available depends on mode selected. See below.
Outputs¶
Set of outputs depends on selected mode. See description of modes below.
Modes¶
Vertices¶
The following filtering criteria are available for the Vertices
mode:
- Wire.
Vertices that are not connected to any faces.
- Boundary.
Vertices that are connected to boundary edges.
- Interior.
Vertices that are not wire and are not boundary.
The following outputs are used in this mode:
YesVertices. Vertices that comply to selected criteria.
NoVertices. Vertices that do not comply to selected criteria.
VerticesMask. Mask output for vertices. True for vertex that comly selected criteria.
YesEdges. Edges that connect vertices complying to selected criteria.
NoEdges. Edges that connect vertices not complying to selected criteria.
YesFaces. Faces, all vertices of which comply to selected criteria.
NoFaces. Faces, all vertices of which do not comply to selected criteria.
Note that since in this mode the node filters vertices, the indicies of vertices in input list are not valid for lists in YesVertices
and NoVertices
outputs. So in edges and faces outputs, this node takes this filtering into account. Indicies in YesEdges
output are valid for list of vertices in YesVertices
output, and so on.
Edges¶
The following filtering criteria are available for the Edges
mode:
- Wire.
Edges that are not connected to any faces.
- Boundary.
Edges that are at the boundary of manifold part of mesh.
- Interior.
Edges that are manifold and are not boundary.
- Convex.
Edges that joins two convex faces. This criteria depends on valid face normals.
- Concave.
Edges that joins two concave faces. This criteria also depends on valid face normals.
- Contiguous.
Manifold edges between two faces with the same winding; in other words, the edges which connect faces with the same normals direction (inside or outside).
The following outputs are used in this mode:
YesEdges. Edges that comply to selected criteria.
NoEdges. Edges that do not comply to selected criteria.
Mask. Mask output.
Faces¶
For this mode, only one filtering criteria is available: interior faces vs boundary faces. Boundary face is a face, any edge of which is boundary. All other faces are considered interior.
The following outputs are used in this mode:
Interior. Interior faces.
Boundary. Boundary faces.
BoundaryMask. Mask output. It contains True for faces which are boundary.
Examples of usage¶
Move only boundary vertices of plane grid:
Generator-> Plane
List->List Struct-> List Item
Transform-> Move
List->List Struct-> List Item Insert
List-> Mask To Index
Viz-> Viewer Draw
Viz-> Viewer Index+
Bevel only concave edges:
Generator-> IcoSphere
Transform-> Move
Transform-> Scale
Modifiers->Modifier Change-> Extrude Separate Faces
CAD-> Bevel
Number-> A Number
Matrix-> Matrix In
List->List Struct-> List Item
List->List Struct-> List Item Insert
Viz-> Viewer Draw
Viz-> Viewer Index+
Text-> Stethoscope
Extrude only boundary faces:
Generator->Generators Extended-> Bricks Grid
Modifiers->Modifier Change-> Extrude Separate Faces
Matrix-> Matrix In
Color-> Color Input
Logic-> Switch
Viz-> Viewer Draw
Viz-> Viewer Index+
Text-> Stethoscope