graphic design tool
git clone https://git.lucas.co/cce-designer.git
nodes/group.json (2K)
1 {
2 "name": "Group",
3 "type": "group",
4 "inputs": 1,
5 "outputs": 1,
6 "params": [
7 {
8 "name": "Input",
9 "type": "text",
10 "default": ""
11 },
12 {
13 "name": "Group Name",
14 "type": "text",
15 "default": "group1"
16 },
17 {
18 "name": "Element Type",
19 "type": "choice:Points,Primitives,Edges",
20 "default": "Points",
21 "show_when": "Mode != Expand|Attribute"
22 },
23 {
24 "name": "Mode",
25 "type": "choice:Box,Random,Attribute,Expand",
26 "default": "Box"
27 },
28 {
29 "name": "Count",
30 "type": "spinbox",
31 "default": "1",
32 "min": 1.0,
33 "max": 500.0,
34 "step": 1.0,
35 "show_when": "Mode == Random"
36 },
37 {
38 "name": "Seed",
39 "type": "spinbox",
40 "default": "0",
41 "min": 0.0,
42 "max": 999.0,
43 "step": 1.0,
44 "show_when": "Mode == Random"
45 },
46 {
47 "name": "Center",
48 "type": "float3",
49 "default": "0.00:0.00:0.00",
50 "min": -10.0,
51 "max": 10.0,
52 "show_when": "Mode == Box"
53 },
54 {
55 "name": "Size",
56 "type": "float3",
57 "default": "1.00:1.00:1.00",
58 "min": 0.0,
59 "max": 20.0,
60 "show_when": "Mode == Box"
61 },
62 {
63 "name": "Invert",
64 "type": "toggle",
65 "default": "false"
66 },
67 {
68 "name": "Highlight",
69 "type": "toggle",
70 "default": "true"
71 },
72 {
73 "name": "Attribute",
74 "type": "text",
75 "default": "",
76 "show_when": "Mode == Attribute"
77 },
78 {
79 "name": "Comparison",
80 "type": "choice:Below,Above",
81 "default": "Above",
82 "show_when": "Mode == Attribute"
83 },
84 {
85 "name": "Threshold",
86 "type": "text",
87 "default": "0.50",
88 "show_when": "Mode == Attribute"
89 },
90 {
91 "name": "Source Group",
92 "type": "text",
93 "default": "",
94 "show_when": "Mode == Expand"
95 },
96 {
97 "name": "Rings",
98 "type": "spinbox",
99 "default": "1",
100 "min": -8.0,
101 "max": 8.0,
102 "step": 1.0,
103 "show_when": "Mode == Expand"
104 }
105 ]
106 }