Karamba3D 2.2.0
Search…
3.1.16: Select Elements
Use the "Select Elements"-component for getting element with specific properties. The resulting elements can later on used to retrieve results or calculate their mass, surface, volume or meshes (see component "Element Query").
Fig. 3.1.16.1. shows how this works: the input-plugs 'ElemIds', 'Colors', 'CrosSecs', 'Materials', 'LenInter' and 'ElemTypes' can be supplied with lists of element identifiers, element colors, cross sections, materials, length intervals and type indexes. The values in each input-plug form criteria via 'OR'. in fig. 3.1.16.1 the selected elements may have purple or red color for example. The individual input-plugs are connecte via 'AND': in the image below the selected element needs to be named 'Membrane_D' and be of color red or purple and needs to be either a membrane or shell and so on.
in case of shells and membranes the length refers to the diagonal of their axis aligned bounding box. For 1-D Elements it is simply their length.
The element types are indexed starting with zero. Right-click on the component-icon and select 'Expand ValueLists' to make the Value-list input appear.
Fig. 3.1.16.1: Selection of elements via identifiers, colors, cross sections, materials, size and type.
​
Element_Selection.gh
20KB
Binary
ElementSelection.gh
28KB
Binary
Select_Element.gh
16KB
Binary
SelectionViaElementSet.gh
15KB
Binary
Last modified 21d ago
Copy link