Grasshopper script export from Akshay Khaneja
Browse filesCommunity contributed Grasshopper script from WOLF plugin
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995{
"meta": {
"version": "1.0"
},
"User": {
"FullName": "Akshay Khaneja",
"Country": "Spain",
"Email": "akshay.khaneja@gmail.com",
"LinkedInId": "akshay-khaneja-09"
},
"Description": "What the script does: test 1; inputs: test 2; outputs: test3 ",
"output": {
"components": [
{
"id": 1,
"type": "Number Slider",
"objectType": "Parameter",
"guid": "57da07bd-ecab-415d-9d86-af36d7073abc",
"params": {
"Value": 1.0
},
"position": {
"x": 0.0,
"y": 0.0
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Number Slider",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "SliderValue",
"value": 1.0
},
"additionalSettings": {
"IsExpression": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 2,
"type": "Number Slider",
"objectType": "Parameter",
"guid": "57da07bd-ecab-415d-9d86-af36d7073abc",
"params": {
"Value": 36.0
},
"position": {
"x": 0.0,
"y": 30.3333435
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Number Slider",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "SliderValue",
"value": 36.0
},
"additionalSettings": {
"IsExpression": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 3,
"type": "Number Slider",
"objectType": "Parameter",
"guid": "57da07bd-ecab-415d-9d86-af36d7073abc",
"params": {
"Value": 37.0
},
"position": {
"x": 0.0,
"y": 60.666687
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Number Slider",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "SliderValue",
"value": 37.0
},
"additionalSettings": {
"IsExpression": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 4,
"type": "Point",
"objectType": "Parameter",
"guid": "fbac3e32-f100-4292-8692-77240a42fd1a",
"params": {},
"position": {
"x": 25.0,
"y": 102.000031
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Point",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "PointValues",
"value": {
"X": 20.673144619145891,
"Y": 23.247371338103584,
"Z": 0.0
}
},
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal"
}
}
],
"componentState": null
},
{
"id": 5,
"type": "Point",
"objectType": "Parameter",
"guid": "fbac3e32-f100-4292-8692-77240a42fd1a",
"params": {},
"position": {
"x": 25.0,
"y": 149.0
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Point",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "PointValues",
"value": {
"X": 9.2758587139419237,
"Y": 11.661194073574332,
"Z": 0.0
}
},
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal"
}
}
],
"componentState": null
},
{
"id": 6,
"type": "Square",
"objectType": "Component",
"guid": "717a1e25-a075-4530-bc80-d43ecc2500d9",
"params": {},
"position": {
"x": 323.0,
"y": 33.0
},
"inputSettings": [
{
"parameterName": "Plane",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Size",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Extent X",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Extent Y",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Cells",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
},
{
"parameterName": "Points",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Hidden": true,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal"
}
}
],
"componentState": null
},
{
"id": 7,
"type": "Distance",
"objectType": "Component",
"guid": "93b8e93d-f932-402c-b435-84be04d87666",
"params": {},
"position": {
"x": 434.0,
"y": 91.0
},
"inputSettings": [
{
"parameterName": "Point A",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal"
}
},
{
"parameterName": "Point B",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal"
}
}
],
"outputSettings": [
{
"parameterName": "Distance",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 8,
"type": "Distance",
"objectType": "Component",
"guid": "93b8e93d-f932-402c-b435-84be04d87666",
"params": {},
"position": {
"x": 434.0,
"y": 138.0
},
"inputSettings": [
{
"parameterName": "Point A",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal"
}
},
{
"parameterName": "Point B",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal"
}
}
],
"outputSettings": [
{
"parameterName": "Distance",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 9,
"type": "Multiplication",
"objectType": "Component",
"guid": "b8963bb1-aa57-476e-a20e-ed6cf635a49c",
"params": {},
"position": {
"x": 546.0,
"y": 138.0
},
"inputSettings": [
{
"parameterName": "A",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "B",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Result",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 10,
"type": "Minimum",
"objectType": "Component",
"guid": "57308b30-772d-4919-ac67-e86c18f3a996",
"params": {},
"position": {
"x": 546.0,
"y": 91.0
},
"inputSettings": [
{
"parameterName": "A",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "B",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Result",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 11,
"type": "Panel",
"objectType": "Parameter",
"guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
"params": {
"Value": "2"
},
"position": {
"x": 627.0002,
"y": 90.0
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Panel",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"Locked": false,
"IsPrincipal": "CannotBePrincipal"
}
}
],
"componentState": {
"multiline": true,
"wrap": true
}
},
{
"id": 12,
"type": "Division",
"objectType": "Component",
"guid": "9c85271f-89fa-4e9f-9f4a-d75802120ccc",
"params": {},
"position": {
"x": 654.0,
"y": 138.0
},
"inputSettings": [
{
"parameterName": "A",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "B",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Result",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 13,
"type": "Division",
"objectType": "Component",
"guid": "9c85271f-89fa-4e9f-9f4a-d75802120ccc",
"params": {},
"position": {
"x": 753.0,
"y": 91.0
},
"inputSettings": [
{
"parameterName": "A",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "B",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Result",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 14,
"type": "Circle",
"objectType": "Component",
"guid": "807b86e3-be8d-4970-92b5-f8cdcb45b06b",
"params": {},
"position": {
"x": 865.0,
"y": 63.0
},
"inputSettings": [
{
"parameterName": "Plane",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Radius",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"UseDegrees": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Circle",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"additionalSettings": {
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
}
],
"connections": [
{
"from": {
"id": 1,
"output": "Number Slider"
},
"to": {
"id": 6,
"input": "Size"
}
},
{
"from": {
"id": 1,
"output": "Number Slider"
},
"to": {
"id": 9,
"input": "A"
}
},
{
"from": {
"id": 2,
"output": "Number Slider"
},
"to": {
"id": 6,
"input": "Extent X"
}
},
{
"from": {
"id": 2,
"output": "Number Slider"
},
"to": {
"id": 9,
"input": "B"
}
},
{
"from": {
"id": 3,
"output": "Number Slider"
},
"to": {
"id": 6,
"input": "Extent Y"
}
},
{
"from": {
"id": 4,
"output": "Point"
},
"to": {
"id": 7,
"input": "Point B"
}
},
{
"from": {
"id": 5,
"output": "Point"
},
"to": {
"id": 8,
"input": "Point B"
}
},
{
"from": {
"id": 6,
"output": "Points"
},
"to": {
"id": 14,
"input": "Plane"
}
},
{
"from": {
"id": 6,
"output": "Points"
},
"to": {
"id": 7,
"input": "Point A"
}
},
{
"from": {
"id": 6,
"output": "Points"
},
"to": {
"id": 8,
"input": "Point A"
}
},
{
"from": {
"id": 7,
"output": "Distance"
},
"to": {
"id": 10,
"input": "A"
}
},
{
"from": {
"id": 8,
"output": "Distance"
},
"to": {
"id": 10,
"input": "B"
}
},
{
"from": {
"id": 9,
"output": "Result"
},
"to": {
"id": 12,
"input": "B"
}
},
{
"from": {
"id": 10,
"output": "Result"
},
"to": {
"id": 12,
"input": "A"
}
},
{
"from": {
"id": 11,
"output": "Panel"
},
"to": {
"id": 13,
"input": "B"
}
},
{
"from": {
"id": 12,
"output": "Result"
},
"to": {
"id": 13,
"input": "A"
}
},
{
"from": {
"id": 13,
"output": "Result"
},
"to": {
"id": 14,
"input": "Radius"
}
}
]
}
}scripts/Akshay_Khaneja_20250623_184016_Contribution_GH2JSON_20250623_184016.jsonAdded+995