graphic design tool
git clone https://git.lucas.co/cce-designer.git
nodes/attribute.json (2.4K)
1 {
2 "name": "Attribute",
3 "type": "attribute",
4 "inputs": 1,
5 "outputs": 1,
6 "params": [
7 {
8 "name": "Input",
9 "type": "text",
10 "default": ""
11 },
12 {
13 "name": "Operation",
14 "type": "choice:Create,Modify,Delete,Remap,Clip,Normalize,Composite,Promote",
15 "default": "Create"
16 },
17 {
18 "name": "Attribute Name",
19 "type": "text",
20 "default": "attr1"
21 },
22 {
23 "name": "Type",
24 "type": "choice:Float,Float2,Float3,Float4",
25 "default": "Float",
26 "show_when": "Operation == Create"
27 },
28 {
29 "name": "Value",
30 "type": "text",
31 "default": "1.00",
32 "show_when": "Operation == Create|Modify"
33 },
34 {
35 "name": "Combine",
36 "type": "choice:Set,Add,Multiply",
37 "default": "Set",
38 "show_when": "Operation == Modify"
39 },
40 {
41 "name": "Group",
42 "type": "text",
43 "default": "",
44 "show_when": "Operation != Promote"
45 },
46 {
47 "name": "From Min",
48 "type": "text",
49 "default": "0.00",
50 "show_when": "Operation == Remap|Clip"
51 },
52 {
53 "name": "From Max",
54 "type": "text",
55 "default": "1.00",
56 "show_when": "Operation == Remap|Clip"
57 },
58 {
59 "name": "To Min",
60 "type": "text",
61 "default": "0.00",
62 "show_when": "Operation == Remap"
63 },
64 {
65 "name": "To Max",
66 "type": "text",
67 "default": "1.00",
68 "show_when": "Operation == Remap|Normalize"
69 },
70 {
71 "name": "Source B",
72 "type": "text",
73 "default": "",
74 "show_when": "Operation == Composite"
75 },
76 {
77 "name": "Combine Op",
78 "type": "choice:Add,Subtract,Multiply,Divide,Minimum,Maximum,Average,Difference,Dot,Distance,Length",
79 "default": "Add",
80 "show_when": "Operation == Composite"
81 },
82 {
83 "name": "To Class",
84 "type": "choice:Detail,Point",
85 "default": "Detail",
86 "show_when": "Operation == Promote"
87 },
88 {
89 "name": "Method",
90 "type": "choice:Average,Sum,Minimum,Maximum,First",
91 "default": "Average",
92 "show_when": "Operation == Promote"
93 },
94 {
95 "name": "Target",
96 "type": "choice:Sum,Maximum,Range",
97 "default": "Maximum",
98 "show_when": "Operation == Normalize"
99 },
100 {
101 "name": "Kind",
102 "type": "choice:Live,Derivative",
103 "default": "Live",
104 "show_when": "Operation == Create"
105 }
106 ]
107 }