Grasshopper script export from Akshay Khaneja
Browse filesCommunity contributed Grasshopper script from WOLF plugin
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569{
"meta": {
"version": "1.0"
},
"User": {
"FullName": "Akshay Khaneja",
"Country": null,
"Email": null,
"LinkedInId": null
},
"Description": "What the script does: Create to move the object based on point ; inputs: Geometry and point; outputs: Moved object",
"output": {
"components": [
{
"id": 1,
"type": "Point",
"objectType": "Parameter",
"guid": "fbac3e32-f100-4292-8692-77240a42fd1a",
"params": {},
"position": {
"x": 0.0,
"y": 85.07654
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Point",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": {
"dataType": "PointValues",
"value": {
"X": -1.23432101234321E+308,
"Y": -1.23432101234321E+308,
"Z": -1.23432101234321E+308
}
},
"additionalSettings": {
"Hidden": true,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal"
}
}
],
"componentState": null
},
{
"id": 2,
"type": "Geometry",
"objectType": "Parameter",
"guid": "ac2bc2cb-70fb-4dd5-9c78-7e1ea97fe278",
"params": {},
"position": {
"x": 6.487793,
"y": 0.0
},
"inputSettings": [],
"outputSettings": [
{
"parameterName": "Geometry",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Hidden": true,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 3,
"type": "Area",
"objectType": "Component",
"guid": "86b28a7e-94d9-4791-8306-e13e10d5f8d5",
"params": {},
"position": {
"x": 140.13574,
"y": 44.35315
},
"inputSettings": [
{
"parameterName": "Geometry",
"dataMapping": "None",
"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
}
}
],
"outputSettings": [
{
"parameterName": "Area",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
},
{
"parameterName": "Centroid",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Hidden": false,
"Locked": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal"
}
}
],
"componentState": null
},
{
"id": 4,
"type": "Project",
"objectType": "Component",
"guid": "23285717-156c-468f-a691-b242488c06a6",
"params": {},
"position": {
"x": 267.13574,
"y": 49.35315
},
"inputSettings": [
{
"parameterName": "Geometry",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Plane",
"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"
}
}
],
"outputSettings": [
{
"parameterName": "Geometry",
"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": "Transform",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 5,
"type": "Vector 2Pt",
"objectType": "Component",
"guid": "934ede4a-924a-4973-bb05-0dc4b36fae75",
"params": {},
"position": {
"x": 354.13574,
"y": 84.35315
},
"inputSettings": [
{
"parameterName": "Point A",
"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": "Point B",
"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": "Unitize",
"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": "Vector",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
},
{
"parameterName": "Length",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 6,
"type": "Amplitude",
"objectType": "Component",
"guid": "6ec39468-dae7-4ffa-a766-f2ab22a2c62e",
"params": {},
"position": {
"x": 507.13574,
"y": 75.35315
},
"inputSettings": [
{
"parameterName": "Vector",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Amplitude",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"UseDegrees": false,
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Vector",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
},
{
"id": 7,
"type": "Move",
"objectType": "Component",
"guid": "e9eb1dcf-92f6-4d4d-84ae-96222d60f56b",
"params": {},
"position": {
"x": 657.13574,
"y": 38.35315
},
"inputSettings": [
{
"parameterName": "Geometry",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Hidden": false,
"IsPreviewCapable": true,
"IsBakeCapable": true,
"Optional": true,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
},
{
"parameterName": "Motion",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "IsNotPrincipal",
"Locked": false
}
}
],
"outputSettings": [
{
"parameterName": "Geometry",
"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
}
},
{
"parameterName": "Transform",
"dataMapping": "None",
"isReparameterized": false,
"hasExpression": false,
"expressionContent": null,
"persistentData": null,
"additionalSettings": {
"Optional": false,
"Reverse": false,
"Simplify": false,
"IsPrincipal": "CannotBePrincipal",
"Locked": false
}
}
],
"componentState": null
}
],
"connections": [
{
"from": {
"id": 3,
"output": "Centroid"
},
"to": {
"id": 4,
"input": "Geometry"
}
},
{
"from": {
"id": 4,
"output": "Geometry"
},
"to": {
"id": 5,
"input": "Point A"
}
},
{
"from": {
"id": 1,
"output": "Point"
},
"to": {
"id": 5,
"input": "Point B"
}
},
{
"from": {
"id": 5,
"output": "Vector"
},
"to": {
"id": 6,
"input": "Vector"
}
},
{
"from": {
"id": 5,
"output": "Length"
},
"to": {
"id": 6,
"input": "Amplitude"
}
},
{
"from": {
"id": 2,
"output": "Geometry"
},
"to": {
"id": 3,
"input": "Geometry"
}
},
{
"from": {
"id": 2,
"output": "Geometry"
},
"to": {
"id": 7,
"input": "Geometry"
}
},
{
"from": {
"id": 6,
"output": "Vector"
},
"to": {
"id": 7,
"input": "Motion"
}
}
]
}
}scripts/Akshay_Khaneja_20250826_231246_Contribution_GH2JSON_20250826_231246.jsonAdded+569