WolfParametric commited on
Commit
0c61785
·
verified ·
1 Parent(s): 1870e84

Grasshopper script export from Akshay Khaneja

Browse files

Community contributed Grasshopper script from WOLF plugin

scripts/Akshay_Khaneja_20250830_083418_Contribution_GH2JSON_20250830_083418.json ADDED
@@ -0,0 +1,496 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": null
10
+ },
11
+ "Description": "What the script does: Create a site context using ELK plugin; inputs: File path of OSM file; outputs: Buildings and Road",
12
+ "output": {
13
+ "components": [
14
+ {
15
+ "id": 1,
16
+ "type": "File Path",
17
+ "objectType": "Parameter",
18
+ "guid": "06953bda-1d37-4d58-9b38-4b3c74e54c8f",
19
+ "params": {},
20
+ "position": {
21
+ "x": 0.0,
22
+ "y": 15.324829
23
+ },
24
+ "inputSettings": [],
25
+ "outputSettings": [
26
+ {
27
+ "parameterName": "File Path",
28
+ "dataMapping": "None",
29
+ "isReparameterized": false,
30
+ "hasExpression": false,
31
+ "expressionContent": null,
32
+ "persistentData": null,
33
+ "additionalSettings": {
34
+ "Optional": false,
35
+ "Reverse": false,
36
+ "Simplify": false,
37
+ "IsPrincipal": "CannotBePrincipal",
38
+ "Locked": false
39
+ }
40
+ }
41
+ ],
42
+ "componentState": null
43
+ },
44
+ {
45
+ "id": 2,
46
+ "type": "Location",
47
+ "objectType": "Component",
48
+ "guid": "360cdbb3-1b2b-46aa-aae6-b0b6dcb9aae8",
49
+ "params": {},
50
+ "position": {
51
+ "x": 119.25476,
52
+ "y": 15.0
53
+ },
54
+ "inputSettings": [
55
+ {
56
+ "parameterName": "File Path (text)",
57
+ "dataMapping": "None",
58
+ "isReparameterized": false,
59
+ "hasExpression": false,
60
+ "expressionContent": null,
61
+ "persistentData": null,
62
+ "additionalSettings": {
63
+ "Optional": false,
64
+ "Reverse": false,
65
+ "Simplify": false,
66
+ "IsPrincipal": "IsNotPrincipal",
67
+ "Locked": false
68
+ }
69
+ }
70
+ ],
71
+ "outputSettings": [
72
+ {
73
+ "parameterName": "OSM Point Data",
74
+ "dataMapping": "None",
75
+ "isReparameterized": false,
76
+ "hasExpression": false,
77
+ "expressionContent": null,
78
+ "persistentData": null,
79
+ "additionalSettings": {
80
+ "Optional": false,
81
+ "Reverse": false,
82
+ "Simplify": false,
83
+ "IsPrincipal": "CannotBePrincipal",
84
+ "Locked": false
85
+ }
86
+ },
87
+ {
88
+ "parameterName": "OSMFile",
89
+ "dataMapping": "None",
90
+ "isReparameterized": false,
91
+ "hasExpression": false,
92
+ "expressionContent": null,
93
+ "persistentData": null,
94
+ "additionalSettings": {
95
+ "Optional": false,
96
+ "Reverse": false,
97
+ "Simplify": false,
98
+ "IsPrincipal": "CannotBePrincipal",
99
+ "Locked": false
100
+ }
101
+ },
102
+ {
103
+ "parameterName": "Longitude Domain",
104
+ "dataMapping": "None",
105
+ "isReparameterized": false,
106
+ "hasExpression": false,
107
+ "expressionContent": null,
108
+ "persistentData": null,
109
+ "additionalSettings": {
110
+ "Optional": false,
111
+ "Reverse": false,
112
+ "Simplify": false,
113
+ "IsPrincipal": "CannotBePrincipal",
114
+ "Locked": false
115
+ }
116
+ },
117
+ {
118
+ "parameterName": "Latitude Domain",
119
+ "dataMapping": "None",
120
+ "isReparameterized": false,
121
+ "hasExpression": false,
122
+ "expressionContent": null,
123
+ "persistentData": null,
124
+ "additionalSettings": {
125
+ "Optional": false,
126
+ "Reverse": false,
127
+ "Simplify": false,
128
+ "IsPrincipal": "CannotBePrincipal",
129
+ "Locked": false
130
+ }
131
+ }
132
+ ],
133
+ "componentState": null
134
+ },
135
+ {
136
+ "id": 3,
137
+ "type": "OSM Data",
138
+ "objectType": "Component",
139
+ "guid": "8353bc0a-ba2e-4cd8-9f3b-067c501f49b9",
140
+ "params": {},
141
+ "position": {
142
+ "x": 341.25476,
143
+ "y": 0.0
144
+ },
145
+ "inputSettings": [
146
+ {
147
+ "parameterName": "OSM Point Data",
148
+ "dataMapping": "None",
149
+ "isReparameterized": false,
150
+ "hasExpression": false,
151
+ "expressionContent": null,
152
+ "persistentData": null,
153
+ "additionalSettings": {
154
+ "Optional": false,
155
+ "Reverse": false,
156
+ "Simplify": false,
157
+ "IsPrincipal": "IsNotPrincipal",
158
+ "Locked": false
159
+ }
160
+ },
161
+ {
162
+ "parameterName": "OSM File Path",
163
+ "dataMapping": "None",
164
+ "isReparameterized": false,
165
+ "hasExpression": false,
166
+ "expressionContent": null,
167
+ "persistentData": null,
168
+ "additionalSettings": {
169
+ "Optional": false,
170
+ "Reverse": false,
171
+ "Simplify": false,
172
+ "IsPrincipal": "IsNotPrincipal",
173
+ "Locked": false
174
+ }
175
+ }
176
+ ],
177
+ "outputSettings": [
178
+ {
179
+ "parameterName": "Ways",
180
+ "dataMapping": "None",
181
+ "isReparameterized": false,
182
+ "hasExpression": false,
183
+ "expressionContent": null,
184
+ "persistentData": null,
185
+ "additionalSettings": {
186
+ "Hidden": false,
187
+ "Locked": false,
188
+ "IsPreviewCapable": true,
189
+ "IsBakeCapable": true,
190
+ "Optional": false,
191
+ "Reverse": false,
192
+ "Simplify": false,
193
+ "IsPrincipal": "CannotBePrincipal"
194
+ }
195
+ },
196
+ {
197
+ "parameterName": "Buildings",
198
+ "dataMapping": "None",
199
+ "isReparameterized": false,
200
+ "hasExpression": false,
201
+ "expressionContent": null,
202
+ "persistentData": null,
203
+ "additionalSettings": {
204
+ "UseDegrees": false,
205
+ "Hidden": false,
206
+ "IsPreviewCapable": true,
207
+ "IsBakeCapable": true,
208
+ "Optional": false,
209
+ "Reverse": false,
210
+ "Simplify": false,
211
+ "IsPrincipal": "CannotBePrincipal",
212
+ "Locked": false
213
+ }
214
+ },
215
+ {
216
+ "parameterName": "Feature Key",
217
+ "dataMapping": "None",
218
+ "isReparameterized": false,
219
+ "hasExpression": false,
220
+ "expressionContent": null,
221
+ "persistentData": null,
222
+ "additionalSettings": {
223
+ "UseDegrees": false,
224
+ "Hidden": false,
225
+ "IsPreviewCapable": true,
226
+ "IsBakeCapable": false,
227
+ "Optional": false,
228
+ "Reverse": false,
229
+ "Simplify": false,
230
+ "IsPrincipal": "CannotBePrincipal",
231
+ "Locked": false
232
+ }
233
+ }
234
+ ],
235
+ "componentState": null
236
+ },
237
+ {
238
+ "id": 4,
239
+ "type": "OSM Data",
240
+ "objectType": "Component",
241
+ "guid": "8353bc0a-ba2e-4cd8-9f3b-067c501f49b9",
242
+ "params": {},
243
+ "position": {
244
+ "x": 357.25476,
245
+ "y": 76.0
246
+ },
247
+ "inputSettings": [
248
+ {
249
+ "parameterName": "OSM Point Data",
250
+ "dataMapping": "None",
251
+ "isReparameterized": false,
252
+ "hasExpression": false,
253
+ "expressionContent": null,
254
+ "persistentData": null,
255
+ "additionalSettings": {
256
+ "Optional": false,
257
+ "Reverse": false,
258
+ "Simplify": false,
259
+ "IsPrincipal": "IsNotPrincipal",
260
+ "Locked": false
261
+ }
262
+ },
263
+ {
264
+ "parameterName": "OSM File Path",
265
+ "dataMapping": "None",
266
+ "isReparameterized": false,
267
+ "hasExpression": false,
268
+ "expressionContent": null,
269
+ "persistentData": null,
270
+ "additionalSettings": {
271
+ "Optional": false,
272
+ "Reverse": false,
273
+ "Simplify": false,
274
+ "IsPrincipal": "IsNotPrincipal",
275
+ "Locked": false
276
+ }
277
+ }
278
+ ],
279
+ "outputSettings": [
280
+ {
281
+ "parameterName": "Ways",
282
+ "dataMapping": "None",
283
+ "isReparameterized": false,
284
+ "hasExpression": false,
285
+ "expressionContent": null,
286
+ "persistentData": null,
287
+ "additionalSettings": {
288
+ "Hidden": false,
289
+ "Locked": false,
290
+ "IsPreviewCapable": true,
291
+ "IsBakeCapable": true,
292
+ "Optional": false,
293
+ "Reverse": false,
294
+ "Simplify": false,
295
+ "IsPrincipal": "CannotBePrincipal"
296
+ }
297
+ },
298
+ {
299
+ "parameterName": "Feature Key",
300
+ "dataMapping": "None",
301
+ "isReparameterized": false,
302
+ "hasExpression": false,
303
+ "expressionContent": null,
304
+ "persistentData": null,
305
+ "additionalSettings": {
306
+ "UseDegrees": false,
307
+ "Hidden": false,
308
+ "IsPreviewCapable": true,
309
+ "IsBakeCapable": false,
310
+ "Optional": false,
311
+ "Reverse": false,
312
+ "Simplify": false,
313
+ "IsPrincipal": "CannotBePrincipal",
314
+ "Locked": false
315
+ }
316
+ }
317
+ ],
318
+ "componentState": null
319
+ },
320
+ {
321
+ "id": 5,
322
+ "type": "Brep",
323
+ "objectType": "Parameter",
324
+ "guid": "919e146f-30ae-4aae-be34-4d72f555e7da",
325
+ "params": {},
326
+ "position": {
327
+ "x": 489.97705,
328
+ "y": 0.24682617
329
+ },
330
+ "inputSettings": [],
331
+ "outputSettings": [
332
+ {
333
+ "parameterName": "Brep",
334
+ "dataMapping": "None",
335
+ "isReparameterized": false,
336
+ "hasExpression": false,
337
+ "expressionContent": null,
338
+ "persistentData": null,
339
+ "additionalSettings": {
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": 6,
355
+ "type": "PolyLine",
356
+ "objectType": "Component",
357
+ "guid": "71b5b089-500a-4ea6-81c5-2f960441a0e8",
358
+ "params": {},
359
+ "position": {
360
+ "x": 494.25476,
361
+ "y": 71.0
362
+ },
363
+ "inputSettings": [
364
+ {
365
+ "parameterName": "Vertices",
366
+ "dataMapping": "None",
367
+ "isReparameterized": false,
368
+ "hasExpression": false,
369
+ "expressionContent": null,
370
+ "persistentData": null,
371
+ "additionalSettings": {
372
+ "Hidden": false,
373
+ "Locked": false,
374
+ "IsPreviewCapable": true,
375
+ "IsBakeCapable": true,
376
+ "Optional": false,
377
+ "Reverse": false,
378
+ "Simplify": false,
379
+ "IsPrincipal": "IsNotPrincipal"
380
+ }
381
+ },
382
+ {
383
+ "parameterName": "Closed",
384
+ "dataMapping": "None",
385
+ "isReparameterized": false,
386
+ "hasExpression": false,
387
+ "expressionContent": null,
388
+ "persistentData": null,
389
+ "additionalSettings": {
390
+ "Invert": false,
391
+ "Optional": false,
392
+ "Reverse": false,
393
+ "Simplify": false,
394
+ "IsPrincipal": "IsNotPrincipal",
395
+ "Locked": false
396
+ }
397
+ }
398
+ ],
399
+ "outputSettings": [
400
+ {
401
+ "parameterName": "Polyline",
402
+ "dataMapping": "None",
403
+ "isReparameterized": false,
404
+ "hasExpression": false,
405
+ "expressionContent": null,
406
+ "persistentData": null,
407
+ "additionalSettings": {
408
+ "Reparameterize": false,
409
+ "Hidden": false,
410
+ "IsPreviewCapable": true,
411
+ "IsBakeCapable": true,
412
+ "Optional": false,
413
+ "Reverse": false,
414
+ "Simplify": false,
415
+ "IsPrincipal": "CannotBePrincipal",
416
+ "Locked": false
417
+ }
418
+ }
419
+ ],
420
+ "componentState": null
421
+ }
422
+ ],
423
+ "connections": [
424
+ {
425
+ "from": {
426
+ "id": 2,
427
+ "output": "OSM Point Data"
428
+ },
429
+ "to": {
430
+ "id": 3,
431
+ "input": "OSM Point Data"
432
+ }
433
+ },
434
+ {
435
+ "from": {
436
+ "id": 2,
437
+ "output": "OSM Point Data"
438
+ },
439
+ "to": {
440
+ "id": 4,
441
+ "input": "OSM Point Data"
442
+ }
443
+ },
444
+ {
445
+ "from": {
446
+ "id": 2,
447
+ "output": "OSMFile"
448
+ },
449
+ "to": {
450
+ "id": 3,
451
+ "input": "OSM File Path"
452
+ }
453
+ },
454
+ {
455
+ "from": {
456
+ "id": 2,
457
+ "output": "OSMFile"
458
+ },
459
+ "to": {
460
+ "id": 4,
461
+ "input": "OSM File Path"
462
+ }
463
+ },
464
+ {
465
+ "from": {
466
+ "id": 1,
467
+ "output": "File Path"
468
+ },
469
+ "to": {
470
+ "id": 2,
471
+ "input": "File Path (text)"
472
+ }
473
+ },
474
+ {
475
+ "from": {
476
+ "id": 3,
477
+ "output": "Buildings"
478
+ },
479
+ "to": {
480
+ "id": 5,
481
+ "input": "Brep"
482
+ }
483
+ },
484
+ {
485
+ "from": {
486
+ "id": 4,
487
+ "output": "Ways"
488
+ },
489
+ "to": {
490
+ "id": 6,
491
+ "input": "Vertices"
492
+ }
493
+ }
494
+ ]
495
+ }
496
+ }