Grasshopper script export from Akhaneja
Browse filesCommunity contributed Grasshopper script from WOLF plugin
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604{
"meta": {
"version": "1.0"
},
"User": {
"FullName": "Akhaneja",
"Country": "India",
"Email": null,
"LinkedInId": null
},
"Description": "What the script does: Test the data structure for new wolf update; inputs: ss; outputs: ss",
"output": {
"components": [
{
"id": 1,
"type": "Number Slider",
"objectType": "Parameter",
"guid": "57da07bd-ecab-415d-9d86-af36d7073abc",
"params": {
"Value": 5
},
"position": {
"x": 0,
"y": 37.525223
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Number Slider",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "SliderValue",
"value": 5
},
"additionalSettings": {
"IsExpression": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 2,
"type": "Addition",
"objectType": "Component",
"guid": "a0d62394-a118-422d-abb3-6af115c75b25",
"params": {},
"position": {
"x": 229.18224,
"y": 56.981056
},
"inputSettings": [
{
"parameterName": "A",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": false,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "B",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "GenericValues",
"value": 50
},
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": false,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Result",
"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": 3,
"type": "Graph Mapper",
"objectType": "Parameter",
"guid": "bc984576-7aa6-491f-a91d-e444c33675a7",
"params": {},
"position": {
"x": 375.38293,
"y": 0
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Graph Mapper",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": {
"graphType": "GH_PerlinGraph"
}
},
{
"id": 4,
"type": "Populate 2D",
"objectType": "Component",
"guid": "e2d958e8-9f08-44f7-bf47-a684882d0b2a",
"params": {},
"position": {
"x": 772.18225,
"y": 173.98105
},
"inputSettings": [
{
"parameterName": "Region",
"dataMapping": "Flatten",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Count",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "IntegerValues",
"value": 100
},
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Seed",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "IntegerValues",
"value": 1
},
"additionalSettings": {
"Optional": false,
"Reverse": true,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Points",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": false,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsPrincipal",
"Principal": true
}
}
],
"outputSettings": [
{
"parameterName": "Population",
"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"
}
}
],
"componentState": null
},
{
"id": 5,
"type": "List Item",
"objectType": "Component",
"guid": "59daf374-bc21-4a5e-8282-5504fb7ae9ae",
"params": {},
"position": {
"x": 781.18225,
"y": 42.981056
},
"inputSettings": [
{
"parameterName": "List",
"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": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Index",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Wrap",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "BooleanValues",
"value": true
},
"additionalSettings": {
"Invert": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Item",
"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
}
},
{
"parameterName": "Item \u002B1",
"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
}
},
{
"parameterName": "Item \u002B2",
"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
}
},
{
"parameterName": "Item \u002B3",
"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": 6,
"type": "Merge",
"objectType": "Component",
"guid": "3cadddef-1e2b-4c09-9390-0e8f78f7609f",
"params": {},
"position": {
"x": 902.18225,
"y": 39.981056
},
"inputSettings": [
{
"parameterName": "Data 1",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": false,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Data 2",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": false,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Data 3",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": false,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Data 4",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": false,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Data 5",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": false,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Result",
"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
}
],
"connections": [
{
"from": {
"id": 1,
"output": "Number Slider"
},
"to": {
"id": 2,
"input": "A"
}
},
{
"from": {
"id": 3,
"output": "Graph Mapper"
},
"to": {
"id": 5,
"input": "List"
}
},
{
"from": {
"id": 5,
"output": "Item"
},
"to": {
"id": 6,
"input": "Data 1"
}
},
{
"from": {
"id": 5,
"output": "Item \u002B1"
},
"to": {
"id": 6,
"input": "Data 2"
}
},
{
"from": {
"id": 5,
"output": "Item \u002B2"
},
"to": {
"id": 6,
"input": "Data 3"
}
},
{
"from": {
"id": 5,
"output": "Item \u002B3"
},
"to": {
"id": 6,
"input": "Data 4"
}
}
]
}
}scripts/Akhaneja_20250611_194105_Contribution_GH2JSON_20250611_194105.jsonAdded+604