git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

nodes/valence.json (716B)

 1 {
 2  "name": "Valence",
 3  "type": "valence",
 4  "inputs": 1,
 5  "outputs": 1,
 6  "params": [
 7   { "name": "input", "label": "Input", "type": "node", "default": "", "description": "The node whose geometry is measured; each point's valence is written as a point attribute and the geometry passed on." },
 8   { "name": "attribute", "label": "Attribute", "type": "attribute", "default": "valence", "description": "The name of the integer point attribute the count is written to. Empty writes nothing." },
 9   { "name": "measure", "label": "Measure", "type": "choice:Neighbours,Primitives", "default": "Neighbours", "description": "What is counted per point: its neighbouring points along edges, or the primitives that use it." }
10  ]
11 }