WolfParametric commited on
Commit
46eb260
·
verified ·
1 Parent(s): e74106c

Grasshopper script export from Akshay Khaneja

Browse files

Community contributed Grasshopper script from WOLF plugin

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