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

nodes/split_edges.json (605B)

 1 {
 2  "name": "Split Edges",
 3  "type": "split_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 refined. Point values ride to the new midpoints by interpolation."
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: every edge longer than 4/3 of it is split at its midpoint. Smaller means denser."
23   }
24  ]
25 }