wolf-community-scripts / scripts /Akshay_Khaneja_20250830_083418_Contribution_GH2JSON_20250830_083418.json
WolfParametric's picture
Grasshopper script export from Akshay Khaneja
0c61785 verified
{
"meta": {
"version": "1.0"
},
"User": {
"FullName": "Akshay Khaneja",
"Country": "Spain",
"Email": "Akshay.khaneja@gmail.com",
"LinkedInId": null
},
"Description": "What the script does: Create a site context using ELK plugin; inputs: File path of OSM file; outputs: Buildings and Road",
"output": {
"components": [
{
"id": 1,
"type": "File Path",
"objectType": "Parameter",
"guid": "06953bda-1d37-4d58-9b38-4b3c74e54c8f",
"params": {},
"position": {
"x": 0.0,
"y": 15.324829
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "File Path",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 2,
"type": "Location",
"objectType": "Component",
"guid": "360cdbb3-1b2b-46aa-aae6-b0b6dcb9aae8",
"params": {},
"position": {
"x": 119.25476,
"y": 15.0
},
"inputSettings": [
{
"parameterName": "File Path (text)",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "OSM Point Data",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
},
{
"parameterName": "OSMFile",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
},
{
"parameterName": "Longitude Domain",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
},
{
"parameterName": "Latitude Domain",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 3,
"type": "OSM Data",
"objectType": "Component",
"guid": "8353bc0a-ba2e-4cd8-9f3b-067c501f49b9",
"params": {},
"position": {
"x": 341.25476,
"y": 0.0
},
"inputSettings": [
{
"parameterName": "OSM Point Data",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "OSM File Path",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Ways",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal"
}
},
{
"parameterName": "Buildings",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
},
{
"parameterName": "Feature Key",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 4,
"type": "OSM Data",
"objectType": "Component",
"guid": "8353bc0a-ba2e-4cd8-9f3b-067c501f49b9",
"params": {},
"position": {
"x": 357.25476,
"y": 76.0
},
"inputSettings": [
{
"parameterName": "OSM Point Data",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "OSM File Path",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Ways",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal"
}
},
{
"parameterName": "Feature Key",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 5,
"type": "Brep",
"objectType": "Parameter",
"guid": "919e146f-30ae-4aae-be34-4d72f555e7da",
"params": {},
"position": {
"x": 489.97705,
"y": 0.24682617
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Brep",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 6,
"type": "PolyLine",
"objectType": "Component",
"guid": "71b5b089-500a-4ea6-81c5-2f960441a0e8",
"params": {},
"position": {
"x": 494.25476,
"y": 71.0
},
"inputSettings": [
{
"parameterName": "Vertices",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal"
}
},
{
"parameterName": "Closed",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Invert": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Polyline",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Reparameterize": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
}
],
"connections": [
{
"from": {
"id": 2,
"output": "OSM Point Data"
},
"to": {
"id": 3,
"input": "OSM Point Data"
}
},
{
"from": {
"id": 2,
"output": "OSM Point Data"
},
"to": {
"id": 4,
"input": "OSM Point Data"
}
},
{
"from": {
"id": 2,
"output": "OSMFile"
},
"to": {
"id": 3,
"input": "OSM File Path"
}
},
{
"from": {
"id": 2,
"output": "OSMFile"
},
"to": {
"id": 4,
"input": "OSM File Path"
}
},
{
"from": {
"id": 1,
"output": "File Path"
},
"to": {
"id": 2,
"input": "File Path (text)"
}
},
{
"from": {
"id": 3,
"output": "Buildings"
},
"to": {
"id": 5,
"input": "Brep"
}
},
{
"from": {
"id": 4,
"output": "Ways"
},
"to": {
"id": 6,
"input": "Vertices"
}
}
]
}
}