WolfParametric commited on
Commit
f05985f
·
verified ·
1 Parent(s): 4ccc1e5

Grasshopper script export from Akshay Khaneja

Browse files

Community contributed Grasshopper script from WOLF plugin

scripts/Akshay_Khaneja_20250826_231246_Contribution_GH2JSON_20250826_231246.json ADDED
@@ -0,0 +1,569 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meta": {
3
+ "version": "1.0"
4
+ },
5
+ "User": {
6
+ "FullName": "Akshay Khaneja",
7
+ "Country": null,
8
+ "Email": null,
9
+ "LinkedInId": null
10
+ },
11
+ "Description": "What the script does: Create to move the object based on point ; inputs: Geometry and point; outputs: Moved object",
12
+ "output": {
13
+ "components": [
14
+ {
15
+ "id": 1,
16
+ "type": "Point",
17
+ "objectType": "Parameter",
18
+ "guid": "fbac3e32-f100-4292-8692-77240a42fd1a",
19
+ "params": {},
20
+ "position": {
21
+ "x": 0.0,
22
+ "y": 85.07654
23
+ },
24
+ "inputSettings": [],
25
+ "outputSettings": [
26
+ {
27
+ "parameterName": "Point",
28
+ "dataMapping": "None",
29
+ "isReparameterized": false,
30
+ "hasExpression": false,
31
+ "expressionContent": null,
32
+ "persistentData": {
33
+ "dataType": "PointValues",
34
+ "value": {
35
+ "X": -1.23432101234321E+308,
36
+ "Y": -1.23432101234321E+308,
37
+ "Z": -1.23432101234321E+308
38
+ }
39
+ },
40
+ "additionalSettings": {
41
+ "Hidden": true,
42
+ "Locked": false,
43
+ "IsPreviewCapable": true,
44
+ "IsBakeCapable": true,
45
+ "Optional": false,
46
+ "Reverse": false,
47
+ "Simplify": false,
48
+ "IsPrincipal": "CannotBePrincipal"
49
+ }
50
+ }
51
+ ],
52
+ "componentState": null
53
+ },
54
+ {
55
+ "id": 2,
56
+ "type": "Geometry",
57
+ "objectType": "Parameter",
58
+ "guid": "ac2bc2cb-70fb-4dd5-9c78-7e1ea97fe278",
59
+ "params": {},
60
+ "position": {
61
+ "x": 6.487793,
62
+ "y": 0.0
63
+ },
64
+ "inputSettings": [],
65
+ "outputSettings": [
66
+ {
67
+ "parameterName": "Geometry",
68
+ "dataMapping": "None",
69
+ "isReparameterized": false,
70
+ "hasExpression": false,
71
+ "expressionContent": null,
72
+ "persistentData": null,
73
+ "additionalSettings": {
74
+ "Hidden": true,
75
+ "IsPreviewCapable": true,
76
+ "IsBakeCapable": true,
77
+ "Optional": false,
78
+ "Reverse": false,
79
+ "Simplify": false,
80
+ "IsPrincipal": "CannotBePrincipal",
81
+ "Locked": false
82
+ }
83
+ }
84
+ ],
85
+ "componentState": null
86
+ },
87
+ {
88
+ "id": 3,
89
+ "type": "Area",
90
+ "objectType": "Component",
91
+ "guid": "86b28a7e-94d9-4791-8306-e13e10d5f8d5",
92
+ "params": {},
93
+ "position": {
94
+ "x": 140.13574,
95
+ "y": 44.35315
96
+ },
97
+ "inputSettings": [
98
+ {
99
+ "parameterName": "Geometry",
100
+ "dataMapping": "None",
101
+ "isReparameterized": false,
102
+ "hasExpression": false,
103
+ "expressionContent": null,
104
+ "persistentData": null,
105
+ "additionalSettings": {
106
+ "Hidden": false,
107
+ "IsPreviewCapable": true,
108
+ "IsBakeCapable": true,
109
+ "Optional": false,
110
+ "Reverse": false,
111
+ "Simplify": false,
112
+ "IsPrincipal": "IsNotPrincipal",
113
+ "Locked": false
114
+ }
115
+ }
116
+ ],
117
+ "outputSettings": [
118
+ {
119
+ "parameterName": "Area",
120
+ "dataMapping": "None",
121
+ "isReparameterized": false,
122
+ "hasExpression": false,
123
+ "expressionContent": null,
124
+ "persistentData": null,
125
+ "additionalSettings": {
126
+ "UseDegrees": false,
127
+ "Optional": true,
128
+ "Reverse": false,
129
+ "Simplify": false,
130
+ "IsPrincipal": "CannotBePrincipal",
131
+ "Locked": false
132
+ }
133
+ },
134
+ {
135
+ "parameterName": "Centroid",
136
+ "dataMapping": "None",
137
+ "isReparameterized": false,
138
+ "hasExpression": false,
139
+ "expressionContent": null,
140
+ "persistentData": null,
141
+ "additionalSettings": {
142
+ "Hidden": false,
143
+ "Locked": false,
144
+ "IsPreviewCapable": true,
145
+ "IsBakeCapable": true,
146
+ "Optional": true,
147
+ "Reverse": false,
148
+ "Simplify": false,
149
+ "IsPrincipal": "CannotBePrincipal"
150
+ }
151
+ }
152
+ ],
153
+ "componentState": null
154
+ },
155
+ {
156
+ "id": 4,
157
+ "type": "Project",
158
+ "objectType": "Component",
159
+ "guid": "23285717-156c-468f-a691-b242488c06a6",
160
+ "params": {},
161
+ "position": {
162
+ "x": 267.13574,
163
+ "y": 49.35315
164
+ },
165
+ "inputSettings": [
166
+ {
167
+ "parameterName": "Geometry",
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
+ "parameterName": "Plane",
187
+ "dataMapping": "None",
188
+ "isReparameterized": false,
189
+ "hasExpression": false,
190
+ "expressionContent": null,
191
+ "persistentData": null,
192
+ "additionalSettings": {
193
+ "Hidden": false,
194
+ "Locked": false,
195
+ "IsPreviewCapable": true,
196
+ "IsBakeCapable": true,
197
+ "Optional": false,
198
+ "Reverse": false,
199
+ "Simplify": false,
200
+ "IsPrincipal": "IsNotPrincipal"
201
+ }
202
+ }
203
+ ],
204
+ "outputSettings": [
205
+ {
206
+ "parameterName": "Geometry",
207
+ "dataMapping": "None",
208
+ "isReparameterized": false,
209
+ "hasExpression": false,
210
+ "expressionContent": null,
211
+ "persistentData": null,
212
+ "additionalSettings": {
213
+ "UseDegrees": false,
214
+ "Hidden": false,
215
+ "IsPreviewCapable": true,
216
+ "IsBakeCapable": true,
217
+ "Optional": false,
218
+ "Reverse": false,
219
+ "Simplify": false,
220
+ "IsPrincipal": "CannotBePrincipal",
221
+ "Locked": false
222
+ }
223
+ },
224
+ {
225
+ "parameterName": "Transform",
226
+ "dataMapping": "None",
227
+ "isReparameterized": false,
228
+ "hasExpression": false,
229
+ "expressionContent": null,
230
+ "persistentData": null,
231
+ "additionalSettings": {
232
+ "Optional": false,
233
+ "Reverse": false,
234
+ "Simplify": false,
235
+ "IsPrincipal": "CannotBePrincipal",
236
+ "Locked": false
237
+ }
238
+ }
239
+ ],
240
+ "componentState": null
241
+ },
242
+ {
243
+ "id": 5,
244
+ "type": "Vector 2Pt",
245
+ "objectType": "Component",
246
+ "guid": "934ede4a-924a-4973-bb05-0dc4b36fae75",
247
+ "params": {},
248
+ "position": {
249
+ "x": 354.13574,
250
+ "y": 84.35315
251
+ },
252
+ "inputSettings": [
253
+ {
254
+ "parameterName": "Point A",
255
+ "dataMapping": "None",
256
+ "isReparameterized": false,
257
+ "hasExpression": false,
258
+ "expressionContent": null,
259
+ "persistentData": null,
260
+ "additionalSettings": {
261
+ "Hidden": false,
262
+ "Locked": false,
263
+ "IsPreviewCapable": true,
264
+ "IsBakeCapable": true,
265
+ "Optional": false,
266
+ "Reverse": false,
267
+ "Simplify": false,
268
+ "IsPrincipal": "IsNotPrincipal"
269
+ }
270
+ },
271
+ {
272
+ "parameterName": "Point B",
273
+ "dataMapping": "None",
274
+ "isReparameterized": false,
275
+ "hasExpression": false,
276
+ "expressionContent": null,
277
+ "persistentData": null,
278
+ "additionalSettings": {
279
+ "Hidden": false,
280
+ "Locked": false,
281
+ "IsPreviewCapable": true,
282
+ "IsBakeCapable": true,
283
+ "Optional": false,
284
+ "Reverse": false,
285
+ "Simplify": false,
286
+ "IsPrincipal": "IsNotPrincipal"
287
+ }
288
+ },
289
+ {
290
+ "parameterName": "Unitize",
291
+ "dataMapping": "None",
292
+ "isReparameterized": false,
293
+ "hasExpression": false,
294
+ "expressionContent": null,
295
+ "persistentData": null,
296
+ "additionalSettings": {
297
+ "Invert": false,
298
+ "Optional": false,
299
+ "Reverse": false,
300
+ "Simplify": false,
301
+ "IsPrincipal": "IsNotPrincipal",
302
+ "Locked": false
303
+ }
304
+ }
305
+ ],
306
+ "outputSettings": [
307
+ {
308
+ "parameterName": "Vector",
309
+ "dataMapping": "None",
310
+ "isReparameterized": false,
311
+ "hasExpression": false,
312
+ "expressionContent": null,
313
+ "persistentData": null,
314
+ "additionalSettings": {
315
+ "Optional": false,
316
+ "Reverse": false,
317
+ "Simplify": false,
318
+ "IsPrincipal": "CannotBePrincipal",
319
+ "Locked": false
320
+ }
321
+ },
322
+ {
323
+ "parameterName": "Length",
324
+ "dataMapping": "None",
325
+ "isReparameterized": false,
326
+ "hasExpression": false,
327
+ "expressionContent": null,
328
+ "persistentData": null,
329
+ "additionalSettings": {
330
+ "UseDegrees": 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": 6,
343
+ "type": "Amplitude",
344
+ "objectType": "Component",
345
+ "guid": "6ec39468-dae7-4ffa-a766-f2ab22a2c62e",
346
+ "params": {},
347
+ "position": {
348
+ "x": 507.13574,
349
+ "y": 75.35315
350
+ },
351
+ "inputSettings": [
352
+ {
353
+ "parameterName": "Vector",
354
+ "dataMapping": "None",
355
+ "isReparameterized": false,
356
+ "hasExpression": false,
357
+ "expressionContent": null,
358
+ "persistentData": null,
359
+ "additionalSettings": {
360
+ "Optional": false,
361
+ "Reverse": false,
362
+ "Simplify": false,
363
+ "IsPrincipal": "IsNotPrincipal",
364
+ "Locked": false
365
+ }
366
+ },
367
+ {
368
+ "parameterName": "Amplitude",
369
+ "dataMapping": "None",
370
+ "isReparameterized": false,
371
+ "hasExpression": false,
372
+ "expressionContent": null,
373
+ "persistentData": null,
374
+ "additionalSettings": {
375
+ "UseDegrees": false,
376
+ "Optional": false,
377
+ "Reverse": false,
378
+ "Simplify": false,
379
+ "IsPrincipal": "IsNotPrincipal",
380
+ "Locked": false
381
+ }
382
+ }
383
+ ],
384
+ "outputSettings": [
385
+ {
386
+ "parameterName": "Vector",
387
+ "dataMapping": "None",
388
+ "isReparameterized": false,
389
+ "hasExpression": false,
390
+ "expressionContent": null,
391
+ "persistentData": null,
392
+ "additionalSettings": {
393
+ "Optional": false,
394
+ "Reverse": false,
395
+ "Simplify": false,
396
+ "IsPrincipal": "CannotBePrincipal",
397
+ "Locked": false
398
+ }
399
+ }
400
+ ],
401
+ "componentState": null
402
+ },
403
+ {
404
+ "id": 7,
405
+ "type": "Move",
406
+ "objectType": "Component",
407
+ "guid": "e9eb1dcf-92f6-4d4d-84ae-96222d60f56b",
408
+ "params": {},
409
+ "position": {
410
+ "x": 657.13574,
411
+ "y": 38.35315
412
+ },
413
+ "inputSettings": [
414
+ {
415
+ "parameterName": "Geometry",
416
+ "dataMapping": "None",
417
+ "isReparameterized": false,
418
+ "hasExpression": false,
419
+ "expressionContent": null,
420
+ "persistentData": null,
421
+ "additionalSettings": {
422
+ "Hidden": false,
423
+ "IsPreviewCapable": true,
424
+ "IsBakeCapable": true,
425
+ "Optional": true,
426
+ "Reverse": false,
427
+ "Simplify": false,
428
+ "IsPrincipal": "IsNotPrincipal",
429
+ "Locked": false
430
+ }
431
+ },
432
+ {
433
+ "parameterName": "Motion",
434
+ "dataMapping": "None",
435
+ "isReparameterized": false,
436
+ "hasExpression": false,
437
+ "expressionContent": null,
438
+ "persistentData": null,
439
+ "additionalSettings": {
440
+ "Optional": false,
441
+ "Reverse": false,
442
+ "Simplify": false,
443
+ "IsPrincipal": "IsNotPrincipal",
444
+ "Locked": false
445
+ }
446
+ }
447
+ ],
448
+ "outputSettings": [
449
+ {
450
+ "parameterName": "Geometry",
451
+ "dataMapping": "None",
452
+ "isReparameterized": false,
453
+ "hasExpression": false,
454
+ "expressionContent": null,
455
+ "persistentData": null,
456
+ "additionalSettings": {
457
+ "Hidden": false,
458
+ "IsPreviewCapable": true,
459
+ "IsBakeCapable": true,
460
+ "Optional": false,
461
+ "Reverse": false,
462
+ "Simplify": false,
463
+ "IsPrincipal": "CannotBePrincipal",
464
+ "Locked": false
465
+ }
466
+ },
467
+ {
468
+ "parameterName": "Transform",
469
+ "dataMapping": "None",
470
+ "isReparameterized": false,
471
+ "hasExpression": false,
472
+ "expressionContent": null,
473
+ "persistentData": null,
474
+ "additionalSettings": {
475
+ "Optional": false,
476
+ "Reverse": false,
477
+ "Simplify": false,
478
+ "IsPrincipal": "CannotBePrincipal",
479
+ "Locked": false
480
+ }
481
+ }
482
+ ],
483
+ "componentState": null
484
+ }
485
+ ],
486
+ "connections": [
487
+ {
488
+ "from": {
489
+ "id": 3,
490
+ "output": "Centroid"
491
+ },
492
+ "to": {
493
+ "id": 4,
494
+ "input": "Geometry"
495
+ }
496
+ },
497
+ {
498
+ "from": {
499
+ "id": 4,
500
+ "output": "Geometry"
501
+ },
502
+ "to": {
503
+ "id": 5,
504
+ "input": "Point A"
505
+ }
506
+ },
507
+ {
508
+ "from": {
509
+ "id": 1,
510
+ "output": "Point"
511
+ },
512
+ "to": {
513
+ "id": 5,
514
+ "input": "Point B"
515
+ }
516
+ },
517
+ {
518
+ "from": {
519
+ "id": 5,
520
+ "output": "Vector"
521
+ },
522
+ "to": {
523
+ "id": 6,
524
+ "input": "Vector"
525
+ }
526
+ },
527
+ {
528
+ "from": {
529
+ "id": 5,
530
+ "output": "Length"
531
+ },
532
+ "to": {
533
+ "id": 6,
534
+ "input": "Amplitude"
535
+ }
536
+ },
537
+ {
538
+ "from": {
539
+ "id": 2,
540
+ "output": "Geometry"
541
+ },
542
+ "to": {
543
+ "id": 3,
544
+ "input": "Geometry"
545
+ }
546
+ },
547
+ {
548
+ "from": {
549
+ "id": 2,
550
+ "output": "Geometry"
551
+ },
552
+ "to": {
553
+ "id": 7,
554
+ "input": "Geometry"
555
+ }
556
+ },
557
+ {
558
+ "from": {
559
+ "id": 6,
560
+ "output": "Vector"
561
+ },
562
+ "to": {
563
+ "id": 7,
564
+ "input": "Motion"
565
+ }
566
+ }
567
+ ]
568
+ }
569
+ }