WolfParametric commited on
Commit
3454afb
·
verified ·
1 Parent(s): 95b5e2c

Grasshopper script export from Akshay Khaneja

Browse files

Community contributed Grasshopper script from WOLF plugin

scripts/Akshay_Khaneja_20250621_200414_Contribution_GH2JSON_20250621_200414.json ADDED
@@ -0,0 +1,563 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: dfgfdhsdf; inputs: fdgsdfg; outputs: dfgsdfg",
12
+ "output": {
13
+ "components": [
14
+ {
15
+ "id": 1,
16
+ "type": "Number Slider",
17
+ "objectType": "Parameter",
18
+ "guid": "57da07bd-ecab-415d-9d86-af36d7073abc",
19
+ "params": {
20
+ "Value": 4
21
+ },
22
+ "position": {
23
+ "x": 0,
24
+ "y": 0
25
+ },
26
+ "inputSettings": [],
27
+ "outputSettings": [
28
+ {
29
+ "parameterName": "Number Slider",
30
+ "dataMapping": "None",
31
+ "isReparameterized": false,
32
+ "hasExpression": false,
33
+ "expressionContent": null,
34
+ "persistentData": {
35
+ "dataType": "SliderValue",
36
+ "value": 4
37
+ },
38
+ "additionalSettings": {
39
+ "IsExpression": false,
40
+ "Optional": false,
41
+ "Reverse": false,
42
+ "Simplify": false,
43
+ "IsPrincipal": "CannotBePrincipal",
44
+ "Locked": false
45
+ }
46
+ }
47
+ ],
48
+ "componentState": null
49
+ },
50
+ {
51
+ "id": 2,
52
+ "type": "Button",
53
+ "objectType": "Parameter",
54
+ "guid": "a8b97322-2d53-47cd-905e-b932c3ccd74e",
55
+ "params": {},
56
+ "position": {
57
+ "x": 93.9236908,
58
+ "y": 44.0583038
59
+ },
60
+ "inputSettings": [],
61
+ "outputSettings": [
62
+ {
63
+ "parameterName": "Button",
64
+ "dataMapping": "None",
65
+ "isReparameterized": false,
66
+ "hasExpression": true,
67
+ "expressionContent": "False",
68
+ "persistentData": null,
69
+ "additionalSettings": {
70
+ "Optional": false,
71
+ "Reverse": false,
72
+ "Simplify": false,
73
+ "IsPrincipal": "CannotBePrincipal",
74
+ "Locked": false
75
+ }
76
+ }
77
+ ],
78
+ "componentState": null
79
+ },
80
+ {
81
+ "id": 3,
82
+ "type": "Panel",
83
+ "objectType": "Parameter",
84
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
85
+ "params": {
86
+ "Value": "5"
87
+ },
88
+ "position": {
89
+ "x": 162.87767,
90
+ "y": 79.3103027
91
+ },
92
+ "inputSettings": [],
93
+ "outputSettings": [
94
+ {
95
+ "parameterName": "Panel",
96
+ "dataMapping": "None",
97
+ "isReparameterized": false,
98
+ "hasExpression": false,
99
+ "expressionContent": null,
100
+ "persistentData": null,
101
+ "additionalSettings": {
102
+ "Optional": false,
103
+ "Reverse": false,
104
+ "Simplify": false,
105
+ "IsPrincipal": "CannotBePrincipal",
106
+ "Locked": false
107
+ }
108
+ }
109
+ ],
110
+ "componentState": {
111
+ "multiline": true,
112
+ "wrap": true,
113
+ "color": {
114
+ "r": 255,
115
+ "g": 255,
116
+ "b": 255,
117
+ "a": 159
118
+ }
119
+ }
120
+ },
121
+ {
122
+ "id": 4,
123
+ "type": "Loop Start",
124
+ "objectType": "Component",
125
+ "guid": "2576f657-2f0d-4e3e-9dfb-c79eb4cd13d7",
126
+ "params": {},
127
+ "position": {
128
+ "x": 262.923706,
129
+ "y": 55.0583038
130
+ },
131
+ "inputSettings": [
132
+ {
133
+ "parameterName": "Repeat",
134
+ "dataMapping": "None",
135
+ "isReparameterized": false,
136
+ "hasExpression": false,
137
+ "expressionContent": null,
138
+ "persistentData": null,
139
+ "additionalSettings": {
140
+ "Optional": true,
141
+ "Reverse": false,
142
+ "Simplify": false,
143
+ "IsPrincipal": "IsNotPrincipal",
144
+ "Locked": false
145
+ }
146
+ },
147
+ {
148
+ "parameterName": "Trigger",
149
+ "dataMapping": "None",
150
+ "isReparameterized": false,
151
+ "hasExpression": false,
152
+ "expressionContent": null,
153
+ "persistentData": null,
154
+ "additionalSettings": {
155
+ "UseDegrees": false,
156
+ "Hidden": false,
157
+ "IsPreviewCapable": true,
158
+ "IsBakeCapable": true,
159
+ "Optional": true,
160
+ "Reverse": false,
161
+ "Simplify": false,
162
+ "IsPrincipal": "IsNotPrincipal",
163
+ "Locked": false
164
+ }
165
+ },
166
+ {
167
+ "parameterName": "Data",
168
+ "dataMapping": "None",
169
+ "isReparameterized": false,
170
+ "hasExpression": false,
171
+ "expressionContent": null,
172
+ "persistentData": null,
173
+ "additionalSettings": {
174
+ "UseDegrees": false,
175
+ "Hidden": false,
176
+ "IsPreviewCapable": true,
177
+ "IsBakeCapable": true,
178
+ "Optional": true,
179
+ "Reverse": false,
180
+ "Simplify": false,
181
+ "IsPrincipal": "IsNotPrincipal",
182
+ "Locked": false
183
+ }
184
+ }
185
+ ],
186
+ "outputSettings": [
187
+ {
188
+ "parameterName": "\u003E",
189
+ "dataMapping": "None",
190
+ "isReparameterized": false,
191
+ "hasExpression": false,
192
+ "expressionContent": null,
193
+ "persistentData": null,
194
+ "additionalSettings": {
195
+ "Optional": false,
196
+ "Reverse": false,
197
+ "Simplify": false,
198
+ "IsPrincipal": "CannotBePrincipal",
199
+ "Locked": false
200
+ }
201
+ },
202
+ {
203
+ "parameterName": "Counter",
204
+ "dataMapping": "None",
205
+ "isReparameterized": false,
206
+ "hasExpression": false,
207
+ "expressionContent": null,
208
+ "persistentData": null,
209
+ "additionalSettings": {
210
+ "Optional": false,
211
+ "Reverse": false,
212
+ "Simplify": false,
213
+ "IsPrincipal": "CannotBePrincipal",
214
+ "Locked": false
215
+ }
216
+ },
217
+ {
218
+ "parameterName": "Data",
219
+ "dataMapping": "None",
220
+ "isReparameterized": false,
221
+ "hasExpression": false,
222
+ "expressionContent": null,
223
+ "persistentData": null,
224
+ "additionalSettings": {
225
+ "UseDegrees": false,
226
+ "Hidden": false,
227
+ "IsPreviewCapable": true,
228
+ "IsBakeCapable": true,
229
+ "Optional": false,
230
+ "Reverse": false,
231
+ "Simplify": false,
232
+ "IsPrincipal": "CannotBePrincipal",
233
+ "Locked": false
234
+ }
235
+ }
236
+ ],
237
+ "componentState": null
238
+ },
239
+ {
240
+ "id": 5,
241
+ "type": "Panel",
242
+ "objectType": "Parameter",
243
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
244
+ "params": {
245
+ "Value": "6"
246
+ },
247
+ "position": {
248
+ "x": 340.323669,
249
+ "y": 87.6502991
250
+ },
251
+ "inputSettings": [],
252
+ "outputSettings": [
253
+ {
254
+ "parameterName": "Panel",
255
+ "dataMapping": "None",
256
+ "isReparameterized": false,
257
+ "hasExpression": false,
258
+ "expressionContent": null,
259
+ "persistentData": null,
260
+ "additionalSettings": {
261
+ "Optional": false,
262
+ "Reverse": false,
263
+ "Simplify": false,
264
+ "IsPrincipal": "CannotBePrincipal",
265
+ "Locked": false
266
+ }
267
+ }
268
+ ],
269
+ "componentState": {
270
+ "multiline": true,
271
+ "wrap": true,
272
+ "color": {
273
+ "r": 255,
274
+ "g": 255,
275
+ "b": 255,
276
+ "a": 159
277
+ }
278
+ }
279
+ },
280
+ {
281
+ "id": 6,
282
+ "type": "Addition",
283
+ "objectType": "Component",
284
+ "guid": "a0d62394-a118-422d-abb3-6af115c75b25",
285
+ "params": {},
286
+ "position": {
287
+ "x": 418.923706,
288
+ "y": 85.0583038
289
+ },
290
+ "inputSettings": [
291
+ {
292
+ "parameterName": "A",
293
+ "dataMapping": "None",
294
+ "isReparameterized": false,
295
+ "hasExpression": false,
296
+ "expressionContent": null,
297
+ "persistentData": null,
298
+ "additionalSettings": {
299
+ "UseDegrees": false,
300
+ "Hidden": false,
301
+ "IsPreviewCapable": true,
302
+ "IsBakeCapable": true,
303
+ "Optional": true,
304
+ "Reverse": false,
305
+ "Simplify": false,
306
+ "IsPrincipal": "IsNotPrincipal",
307
+ "Locked": false
308
+ }
309
+ },
310
+ {
311
+ "parameterName": "B",
312
+ "dataMapping": "None",
313
+ "isReparameterized": false,
314
+ "hasExpression": false,
315
+ "expressionContent": null,
316
+ "persistentData": null,
317
+ "additionalSettings": {
318
+ "UseDegrees": false,
319
+ "Hidden": false,
320
+ "IsPreviewCapable": true,
321
+ "IsBakeCapable": true,
322
+ "Optional": true,
323
+ "Reverse": false,
324
+ "Simplify": false,
325
+ "IsPrincipal": "IsNotPrincipal",
326
+ "Locked": false
327
+ }
328
+ }
329
+ ],
330
+ "outputSettings": [
331
+ {
332
+ "parameterName": "Result",
333
+ "dataMapping": "None",
334
+ "isReparameterized": false,
335
+ "hasExpression": false,
336
+ "expressionContent": null,
337
+ "persistentData": null,
338
+ "additionalSettings": {
339
+ "UseDegrees": false,
340
+ "Hidden": false,
341
+ "IsPreviewCapable": true,
342
+ "IsBakeCapable": true,
343
+ "Optional": false,
344
+ "Reverse": false,
345
+ "Simplify": false,
346
+ "IsPrincipal": "CannotBePrincipal",
347
+ "Locked": false
348
+ }
349
+ }
350
+ ],
351
+ "componentState": null
352
+ },
353
+ {
354
+ "id": 7,
355
+ "type": "Loop End",
356
+ "objectType": "Component",
357
+ "guid": "15483310-2ce2-48c6-b803-9dee8cb7cc9b",
358
+ "params": {},
359
+ "position": {
360
+ "x": 566.923706,
361
+ "y": 55.0583038
362
+ },
363
+ "inputSettings": [
364
+ {
365
+ "parameterName": "\u003C",
366
+ "dataMapping": "None",
367
+ "isReparameterized": false,
368
+ "hasExpression": false,
369
+ "expressionContent": null,
370
+ "persistentData": null,
371
+ "additionalSettings": {
372
+ "Optional": false,
373
+ "Reverse": false,
374
+ "Simplify": false,
375
+ "IsPrincipal": "IsNotPrincipal",
376
+ "Locked": false
377
+ }
378
+ },
379
+ {
380
+ "parameterName": "Exit",
381
+ "dataMapping": "None",
382
+ "isReparameterized": false,
383
+ "hasExpression": false,
384
+ "expressionContent": null,
385
+ "persistentData": null,
386
+ "additionalSettings": {
387
+ "Invert": false,
388
+ "Optional": true,
389
+ "Reverse": false,
390
+ "Simplify": false,
391
+ "IsPrincipal": "IsNotPrincipal",
392
+ "Locked": false
393
+ }
394
+ },
395
+ {
396
+ "parameterName": "Data",
397
+ "dataMapping": "None",
398
+ "isReparameterized": false,
399
+ "hasExpression": false,
400
+ "expressionContent": null,
401
+ "persistentData": null,
402
+ "additionalSettings": {
403
+ "UseDegrees": false,
404
+ "Hidden": false,
405
+ "IsPreviewCapable": true,
406
+ "IsBakeCapable": true,
407
+ "Optional": false,
408
+ "Reverse": false,
409
+ "Simplify": false,
410
+ "IsPrincipal": "IsNotPrincipal",
411
+ "Locked": false
412
+ }
413
+ }
414
+ ],
415
+ "outputSettings": [
416
+ {
417
+ "parameterName": "Data",
418
+ "dataMapping": "None",
419
+ "isReparameterized": false,
420
+ "hasExpression": false,
421
+ "expressionContent": null,
422
+ "persistentData": null,
423
+ "additionalSettings": {
424
+ "UseDegrees": false,
425
+ "Hidden": false,
426
+ "IsPreviewCapable": true,
427
+ "IsBakeCapable": true,
428
+ "Optional": false,
429
+ "Reverse": false,
430
+ "Simplify": false,
431
+ "IsPrincipal": "CannotBePrincipal",
432
+ "Locked": false
433
+ }
434
+ }
435
+ ],
436
+ "componentState": null
437
+ },
438
+ {
439
+ "id": 8,
440
+ "type": "Panel",
441
+ "objectType": "Parameter",
442
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
443
+ "params": {
444
+ "Value": "Double click to edit panel content\u2026"
445
+ },
446
+ "position": {
447
+ "x": 629.396484,
448
+ "y": 35.5301971
449
+ },
450
+ "inputSettings": [],
451
+ "outputSettings": [
452
+ {
453
+ "parameterName": "Panel",
454
+ "dataMapping": "None",
455
+ "isReparameterized": false,
456
+ "hasExpression": false,
457
+ "expressionContent": null,
458
+ "persistentData": null,
459
+ "additionalSettings": {
460
+ "Optional": false,
461
+ "Reverse": false,
462
+ "Simplify": false,
463
+ "IsPrincipal": "CannotBePrincipal",
464
+ "Locked": false
465
+ }
466
+ }
467
+ ],
468
+ "componentState": {
469
+ "multiline": true,
470
+ "wrap": true,
471
+ "color": {
472
+ "r": 255,
473
+ "g": 255,
474
+ "b": 255,
475
+ "a": 159
476
+ }
477
+ }
478
+ }
479
+ ],
480
+ "connections": [
481
+ {
482
+ "from": {
483
+ "id": 7,
484
+ "output": "Data"
485
+ },
486
+ "to": {
487
+ "id": 8,
488
+ "input": "Panel"
489
+ }
490
+ },
491
+ {
492
+ "from": {
493
+ "id": 4,
494
+ "output": "\u003E"
495
+ },
496
+ "to": {
497
+ "id": 7,
498
+ "input": "\u003C"
499
+ }
500
+ },
501
+ {
502
+ "from": {
503
+ "id": 4,
504
+ "output": "Data"
505
+ },
506
+ "to": {
507
+ "id": 6,
508
+ "input": "A"
509
+ }
510
+ },
511
+ {
512
+ "from": {
513
+ "id": 2,
514
+ "output": "Button"
515
+ },
516
+ "to": {
517
+ "id": 4,
518
+ "input": "Trigger"
519
+ }
520
+ },
521
+ {
522
+ "from": {
523
+ "id": 3,
524
+ "output": "Panel"
525
+ },
526
+ "to": {
527
+ "id": 4,
528
+ "input": "Data"
529
+ }
530
+ },
531
+ {
532
+ "from": {
533
+ "id": 6,
534
+ "output": "Result"
535
+ },
536
+ "to": {
537
+ "id": 7,
538
+ "input": "Data"
539
+ }
540
+ },
541
+ {
542
+ "from": {
543
+ "id": 5,
544
+ "output": "Panel"
545
+ },
546
+ "to": {
547
+ "id": 6,
548
+ "input": "B"
549
+ }
550
+ },
551
+ {
552
+ "from": {
553
+ "id": 1,
554
+ "output": "Number Slider"
555
+ },
556
+ "to": {
557
+ "id": 4,
558
+ "input": "Repeat"
559
+ }
560
+ }
561
+ ]
562
+ }
563
+ }