graphic design tool
git clone https://git.lucas.co/cce-designer.git
nodes/collapse_edges.json (667B)
1 {
2 "name": "Collapse Edges",
3 "type": "collapse_edges",
4 "inputs": 1,
5 "outputs": 1,
6 "params": [
7 {
8 "name": "input",
9 "label": "Input",
10 "type": "node",
11 "default": "",
12 "description": "The node whose mesh is coarsened. The surviving point of each collapsed edge keeps its values and joins the other end's groups."
13 },
14 {
15 "name": "target_length",
16 "label": "Target Length",
17 "type": "slider",
18 "default": "0.10",
19 "min": 0.001,
20 "max": 1.0,
21 "step": 0.005,
22 "description": "Edge length, in world units, the pass steers toward: edges shorter than 4/5 of it are collapsed, unless that would make an edge longer than 4/3 of it."
23 }
24 ]
25 }