WolfParametric commited on
Commit
08a15f3
·
verified ·
1 Parent(s): 2dbd2b7

Grasshopper script export from Akshay Khaneja

Browse files

Community contributed Grasshopper script from WOLF plugin

scripts/Akshay_Khaneja_20250619_151253_Contribution_GH2JSON_20250619_151253.json ADDED
@@ -0,0 +1,404 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meta": {
3
+ "version": "1.0"
4
+ },
5
+ "User": {
6
+ "FullName": "Akshay Khaneja",
7
+ "Country": "Spain",
8
+ "Email": "akshay.khaneja@gmail.com",
9
+ "LinkedInId": "akshay-khaneja-09"
10
+ },
11
+ "Description": "What the script does: create an example and use of Pic \u0027n\u0027 Choose component - The Pick\u0027n\u0027Choose component in Grasshopper is used to select specific items from a list based on a list of indices. It\u2019s essentially a way to \u0022pick\u0022 certain elements from a data set using a custom pattern.; inputs: panel; outputs: panel",
12
+ "output": {
13
+ "components": [
14
+ {
15
+ "id": 1,
16
+ "type": "Group",
17
+ "objectType": "Unknown",
18
+ "guid": "c552a431-af5b-46a9-a8a4-0fcbc27ef596",
19
+ "params": {},
20
+ "position": {
21
+ "x": 0,
22
+ "y": 0
23
+ },
24
+ "inputSettings": [],
25
+ "outputSettings": [],
26
+ "componentState": null
27
+ },
28
+ {
29
+ "id": 2,
30
+ "type": "Group",
31
+ "objectType": "Unknown",
32
+ "guid": "c552a431-af5b-46a9-a8a4-0fcbc27ef596",
33
+ "params": {},
34
+ "position": {
35
+ "x": 0,
36
+ "y": 0
37
+ },
38
+ "inputSettings": [],
39
+ "outputSettings": [],
40
+ "componentState": null
41
+ },
42
+ {
43
+ "id": 3,
44
+ "type": "Panel",
45
+ "objectType": "Parameter",
46
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
47
+ "params": {
48
+ "Value": "0\r\n2\r\n1\r\n1\r\n2\r\n1"
49
+ },
50
+ "position": {
51
+ "x": 3818.934,
52
+ "y": 2977.5479
53
+ },
54
+ "inputSettings": [],
55
+ "outputSettings": [
56
+ {
57
+ "parameterName": "Panel",
58
+ "dataMapping": "None",
59
+ "isReparameterized": false,
60
+ "hasExpression": false,
61
+ "expressionContent": null,
62
+ "persistentData": null,
63
+ "additionalSettings": {
64
+ "Optional": false,
65
+ "Reverse": false,
66
+ "Simplify": false,
67
+ "IsPrincipal": "CannotBePrincipal",
68
+ "Locked": false
69
+ }
70
+ }
71
+ ],
72
+ "componentState": {
73
+ "wrap": true,
74
+ "color": {
75
+ "r": 255,
76
+ "g": 255,
77
+ "b": 255,
78
+ "a": 159
79
+ }
80
+ }
81
+ },
82
+ {
83
+ "id": 4,
84
+ "type": "Panel",
85
+ "objectType": "Parameter",
86
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
87
+ "params": {
88
+ "Value": "A\r\nB\r\nC\r\nD\r\nE\r\nF"
89
+ },
90
+ "position": {
91
+ "x": 3892.6096,
92
+ "y": 3070.435
93
+ },
94
+ "inputSettings": [],
95
+ "outputSettings": [
96
+ {
97
+ "parameterName": "Panel",
98
+ "dataMapping": "None",
99
+ "isReparameterized": false,
100
+ "hasExpression": false,
101
+ "expressionContent": null,
102
+ "persistentData": null,
103
+ "additionalSettings": {
104
+ "Optional": false,
105
+ "Reverse": false,
106
+ "Simplify": false,
107
+ "IsPrincipal": "CannotBePrincipal",
108
+ "Locked": false
109
+ }
110
+ }
111
+ ],
112
+ "componentState": {
113
+ "wrap": true,
114
+ "color": {
115
+ "r": 255,
116
+ "g": 255,
117
+ "b": 255,
118
+ "a": 159
119
+ }
120
+ }
121
+ },
122
+ {
123
+ "id": 5,
124
+ "type": "Panel",
125
+ "objectType": "Parameter",
126
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
127
+ "params": {
128
+ "Value": "10\r\n11\r\n12\r\n13\r\n14\r\n15"
129
+ },
130
+ "position": {
131
+ "x": 3956.4106,
132
+ "y": 3135.2058
133
+ },
134
+ "inputSettings": [],
135
+ "outputSettings": [
136
+ {
137
+ "parameterName": "Panel",
138
+ "dataMapping": "None",
139
+ "isReparameterized": false,
140
+ "hasExpression": false,
141
+ "expressionContent": null,
142
+ "persistentData": null,
143
+ "additionalSettings": {
144
+ "Optional": false,
145
+ "Reverse": false,
146
+ "Simplify": false,
147
+ "IsPrincipal": "CannotBePrincipal",
148
+ "Locked": false
149
+ }
150
+ }
151
+ ],
152
+ "componentState": {
153
+ "wrap": true,
154
+ "color": {
155
+ "r": 255,
156
+ "g": 255,
157
+ "b": 255,
158
+ "a": 159
159
+ }
160
+ }
161
+ },
162
+ {
163
+ "id": 6,
164
+ "type": "Panel",
165
+ "objectType": "Parameter",
166
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
167
+ "params": {
168
+ "Value": "john\r\nbruce\r\ncarl\r\nmick\r\nannie\r\njane"
169
+ },
170
+ "position": {
171
+ "x": 4022.3445,
172
+ "y": 3162.2249
173
+ },
174
+ "inputSettings": [],
175
+ "outputSettings": [
176
+ {
177
+ "parameterName": "Panel",
178
+ "dataMapping": "None",
179
+ "isReparameterized": false,
180
+ "hasExpression": false,
181
+ "expressionContent": null,
182
+ "persistentData": null,
183
+ "additionalSettings": {
184
+ "Optional": false,
185
+ "Reverse": false,
186
+ "Simplify": false,
187
+ "IsPrincipal": "CannotBePrincipal",
188
+ "Locked": false
189
+ }
190
+ }
191
+ ],
192
+ "componentState": {
193
+ "wrap": true,
194
+ "color": {
195
+ "r": 255,
196
+ "g": 255,
197
+ "b": 255,
198
+ "a": 159
199
+ }
200
+ }
201
+ },
202
+ {
203
+ "id": 7,
204
+ "type": "Pick\u0027n\u0027Choose",
205
+ "objectType": "Component",
206
+ "guid": "03b801eb-87cd-476a-a591-257fe5d5bf0f",
207
+ "params": {},
208
+ "position": {
209
+ "x": 4081,
210
+ "y": 3085
211
+ },
212
+ "inputSettings": [
213
+ {
214
+ "parameterName": "Pattern",
215
+ "dataMapping": "None",
216
+ "isReparameterized": false,
217
+ "hasExpression": false,
218
+ "expressionContent": null,
219
+ "persistentData": null,
220
+ "additionalSettings": {
221
+ "Optional": false,
222
+ "Reverse": false,
223
+ "Simplify": false,
224
+ "IsPrincipal": "IsNotPrincipal",
225
+ "Locked": false
226
+ }
227
+ },
228
+ {
229
+ "parameterName": "Stream 0",
230
+ "dataMapping": "None",
231
+ "isReparameterized": false,
232
+ "hasExpression": false,
233
+ "expressionContent": null,
234
+ "persistentData": null,
235
+ "additionalSettings": {
236
+ "UseDegrees": false,
237
+ "Hidden": false,
238
+ "IsPreviewCapable": true,
239
+ "IsBakeCapable": false,
240
+ "Optional": true,
241
+ "Reverse": false,
242
+ "Simplify": false,
243
+ "IsPrincipal": "IsNotPrincipal",
244
+ "Locked": false
245
+ }
246
+ },
247
+ {
248
+ "parameterName": "Stream 1",
249
+ "dataMapping": "None",
250
+ "isReparameterized": false,
251
+ "hasExpression": false,
252
+ "expressionContent": null,
253
+ "persistentData": null,
254
+ "additionalSettings": {
255
+ "UseDegrees": false,
256
+ "Hidden": false,
257
+ "IsPreviewCapable": true,
258
+ "IsBakeCapable": false,
259
+ "Optional": true,
260
+ "Reverse": false,
261
+ "Simplify": false,
262
+ "IsPrincipal": "IsNotPrincipal",
263
+ "Locked": false
264
+ }
265
+ },
266
+ {
267
+ "parameterName": "Stream 2",
268
+ "dataMapping": "None",
269
+ "isReparameterized": false,
270
+ "hasExpression": false,
271
+ "expressionContent": null,
272
+ "persistentData": null,
273
+ "additionalSettings": {
274
+ "UseDegrees": false,
275
+ "Hidden": false,
276
+ "IsPreviewCapable": true,
277
+ "IsBakeCapable": false,
278
+ "Optional": true,
279
+ "Reverse": false,
280
+ "Simplify": false,
281
+ "IsPrincipal": "IsNotPrincipal",
282
+ "Locked": false
283
+ }
284
+ }
285
+ ],
286
+ "outputSettings": [
287
+ {
288
+ "parameterName": "Result",
289
+ "dataMapping": "None",
290
+ "isReparameterized": false,
291
+ "hasExpression": false,
292
+ "expressionContent": null,
293
+ "persistentData": null,
294
+ "additionalSettings": {
295
+ "UseDegrees": false,
296
+ "Hidden": false,
297
+ "IsPreviewCapable": true,
298
+ "IsBakeCapable": false,
299
+ "Optional": false,
300
+ "Reverse": false,
301
+ "Simplify": false,
302
+ "IsPrincipal": "CannotBePrincipal",
303
+ "Locked": false
304
+ }
305
+ }
306
+ ],
307
+ "componentState": null
308
+ },
309
+ {
310
+ "id": 8,
311
+ "type": "Panel",
312
+ "objectType": "Parameter",
313
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
314
+ "params": {
315
+ "Value": "Double click to edit panel content\u2026"
316
+ },
317
+ "position": {
318
+ "x": 4149.5728,
319
+ "y": 3025.8638
320
+ },
321
+ "inputSettings": [],
322
+ "outputSettings": [
323
+ {
324
+ "parameterName": "Panel",
325
+ "dataMapping": "None",
326
+ "isReparameterized": false,
327
+ "hasExpression": false,
328
+ "expressionContent": null,
329
+ "persistentData": null,
330
+ "additionalSettings": {
331
+ "Optional": false,
332
+ "Reverse": false,
333
+ "Simplify": false,
334
+ "IsPrincipal": "CannotBePrincipal",
335
+ "Locked": false
336
+ }
337
+ }
338
+ ],
339
+ "componentState": {
340
+ "multiline": true,
341
+ "wrap": true,
342
+ "color": {
343
+ "r": 255,
344
+ "g": 255,
345
+ "b": 255,
346
+ "a": 159
347
+ }
348
+ }
349
+ }
350
+ ],
351
+ "connections": [
352
+ {
353
+ "from": {
354
+ "id": 7,
355
+ "output": "Result"
356
+ },
357
+ "to": {
358
+ "id": 8,
359
+ "input": "Panel"
360
+ }
361
+ },
362
+ {
363
+ "from": {
364
+ "id": 3,
365
+ "output": "Panel"
366
+ },
367
+ "to": {
368
+ "id": 7,
369
+ "input": "Pattern"
370
+ }
371
+ },
372
+ {
373
+ "from": {
374
+ "id": 4,
375
+ "output": "Panel"
376
+ },
377
+ "to": {
378
+ "id": 7,
379
+ "input": "Stream 0"
380
+ }
381
+ },
382
+ {
383
+ "from": {
384
+ "id": 5,
385
+ "output": "Panel"
386
+ },
387
+ "to": {
388
+ "id": 7,
389
+ "input": "Stream 1"
390
+ }
391
+ },
392
+ {
393
+ "from": {
394
+ "id": 6,
395
+ "output": "Panel"
396
+ },
397
+ "to": {
398
+ "id": 7,
399
+ "input": "Stream 2"
400
+ }
401
+ }
402
+ ]
403
+ }
404
+ }