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

nodes/transfer.json (1.8K)

 1 {
 2  "name": "Transfer",
 3  "type": "transfer",
 4  "inputs": 2,
 5  "outputs": 1,
 6  "params": [
 7   {
 8    "name": "input",
 9    "label": "Input",
10    "type": "node",
11    "default": "",
12    "description": "The geometry that receives values: each of its points takes them from the nearest point of the From geometry."
13   },
14   {
15    "name": "from",
16    "label": "From",
17    "type": "node",
18    "default": "",
19    "description": "The geometry to copy point attributes and groups from, by nearest point. Nothing is copied if it is unconnected or has no points."
20   },
21   {
22    "name": "attributes",
23    "label": "Attributes",
24    "type": "text",
25    "default": "",
26    "description": "Comma-separated names of the point attributes to copy. Empty copies every point attribute the source has."
27   },
28   {
29    "name": "transfer_groups",
30    "label": "Transfer Groups",
31    "type": "toggle",
32    "default": "false",
33    "description": "Also copies point group membership from the nearest source point, so points join or leave each group to match the source.",
34    "group": "groups"
35   },
36   {
37    "name": "groups",
38    "label": "Groups",
39    "type": "text",
40    "default": "",
41    "show_when": "transfer_groups == true",
42    "description": "Comma-separated names of the point groups to copy. Empty copies every point group the source has.",
43    "group": "groups"
44   },
45   {
46    "name": "maximum_distance",
47    "label": "Maximum Distance",
48    "type": "slider",
49    "default": "0.00",
50    "min": 0.0,
51    "max": 10.0,
52    "step": 0.01,
53    "description": "Points further than this from any source point, in world units, receive nothing. 0 means no limit.",
54    "group": "reach"
55   },
56   {
57    "name": "group",
58    "label": "Group",
59    "type": "group",
60    "default": "",
61    "description": "Only points of the input in this group receive values. Empty lets every point receive.",
62    "group": "where"
63   }
64  ]
65 }