wolf-community-scripts / scripts /Akshay_Khaneja_20250611_110453_Contribution_GH2JSON_20250611_110453.json
| { | |
| "meta": { | |
| "version": "1.0" | |
| }, | |
| "User": { | |
| "FullName": "Akshay Khaneja", | |
| "Country": "Spain", | |
| "Email": "Akshay.khaneja@gmail.com", | |
| "LinkedInId": "akshay-khaneja-09" | |
| }, | |
| "Description": "What the script does: Create a 2D Point attractor for cicles on a grid ; inputs: One point; outputs: Attracted Circle ", | |
| "output": { | |
| "components": [ | |
| { | |
| "id": 1, | |
| "type": "Number Slider", | |
| "objectType": "Parameter", | |
| "guid": "57da07bd-ecab-415d-9d86-af36d7073abc", | |
| "params": { | |
| "Value": 1 | |
| }, | |
| "position": { | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "inputSettings": [], | |
| "outputSettings": [ | |
| { | |
| "parameterName": "Number Slider", | |
| "dataMapping": "None", | |
| "isReparameterized": false, | |
| "hasExpression": false, | |
| "expressionContent": null, | |
| "persistentData": { | |
| "dataType": "SliderValue", | |
| "value": 1 | |
| }, | |
| "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": 27 | |
| }, | |
| "position": { | |
| "x": 0, | |
| "y": 30.333344 | |
| }, | |
| "inputSettings": [], | |
| "outputSettings": [ | |
| { | |
| "parameterName": "Number Slider", | |
| "dataMapping": "None", | |
| "isReparameterized": false, | |
| "hasExpression": false, | |
| "expressionContent": null, | |
| "persistentData": { | |
| "dataType": "SliderValue", | |
| "value": 27 | |
| }, | |
| "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": 27 | |
| }, | |
| "position": { | |
| "x": 0, | |
| "y": 60.666687 | |
| }, | |
| "inputSettings": [], | |
| "outputSettings": [ | |
| { | |
| "parameterName": "Number Slider", | |
| "dataMapping": "None", | |
| "isReparameterized": false, | |
| "hasExpression": false, | |
| "expressionContent": null, | |
| "persistentData": { | |
| "dataType": "SliderValue", | |
| "value": 27 | |
| }, | |
| "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, | |
| "y": 102.00003 | |
| }, | |
| "inputSettings": [], | |
| "outputSettings": [ | |
| { | |
| "parameterName": "Point", | |
| "dataMapping": "None", | |
| "isReparameterized": false, | |
| "hasExpression": false, | |
| "expressionContent": null, | |
| "persistentData": { | |
| "dataType": "PointValues", | |
| "value": { | |
| "X": 11.312790304391728, | |
| "Y": 13.171497209388127, | |
| "Z": 0 | |
| } | |
| }, | |
| "additionalSettings": { | |
| "Hidden": false, | |
| "Locked": false, | |
| "IsPreviewCapable": true, | |
| "IsBakeCapable": true, | |
| "Optional": false, | |
| "Reverse": false, | |
| "Simplify": false, | |
| "IsPrincipal": "CannotBePrincipal" | |
| } | |
| } | |
| ], | |
| "componentState": null | |
| }, | |
| { | |
| "id": 5, | |
| "type": "Square", | |
| "objectType": "Component", | |
| "guid": "717a1e25-a075-4530-bc80-d43ecc2500d9", | |
| "params": {}, | |
| "position": { | |
| "x": 323, | |
| "y": 33 | |
| }, | |
| "inputSettings": [ | |
| { | |
| "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" | |
| } | |
| }, | |
| { | |
| "parameterName": "Size", | |
| "dataMapping": "None", | |
| "isReparameterized": false, | |
| "hasExpression": false, | |
| "expressionContent": null, | |
| "persistentData": 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, | |
| "persistentData": null, | |
| "additionalSettings": { | |
| "Optional": false, | |
| "Reverse": false, | |
| "Simplify": false, | |
| "IsPrincipal": "IsNotPrincipal", | |
| "Locked": false | |
| } | |
| }, | |
| { | |
| "parameterName": "Extent Y", | |
| "dataMapping": "None", | |
| "isReparameterized": false, | |
| "hasExpression": false, | |
| "expressionContent": null, | |
| "persistentData": null, | |
| "additionalSettings": { | |
| "Optional": false, | |
| "Reverse": false, | |
| "Simplify": false, | |
| "IsPrincipal": "IsNotPrincipal", | |
| "Locked": false | |
| } | |
| } | |
| ], | |
| "outputSettings": [ | |
| { | |
| "parameterName": "Cells", | |
| "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": "Points", | |
| "dataMapping": "None", | |
| "isReparameterized": false, | |
| "hasExpression": false, | |
| "expressionContent": null, | |
| "persistentData": null, | |
| "additionalSettings": { | |
| "Hidden": true, | |
| "Locked": false, | |
| "IsPreviewCapable": true, | |
| "IsBakeCapable": true, | |
| "Optional": false, | |
| "Reverse": false, | |
| "Simplify": false, | |
| "IsPrincipal": "CannotBePrincipal" | |
| } | |
| } | |
| ], | |
| "componentState": null | |
| }, | |
| { | |
| "id": 6, | |
| "type": "Distance", | |
| "objectType": "Component", | |
| "guid": "93b8e93d-f932-402c-b435-84be04d87666", | |
| "params": {}, | |
| "position": { | |
| "x": 434, | |
| "y": 91 | |
| }, | |
| "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" | |
| } | |
| } | |
| ], | |
| "outputSettings": [ | |
| { | |
| "parameterName": "Distance", | |
| "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": 7, | |
| "type": "Multiplication", | |
| "objectType": "Component", | |
| "guid": "b8963bb1-aa57-476e-a20e-ed6cf635a49c", | |
| "params": {}, | |
| "position": { | |
| "x": 434, | |
| "y": 146 | |
| }, | |
| "inputSettings": [ | |
| { | |
| "parameterName": "A", | |
| "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": "B", | |
| "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 | |
| } | |
| } | |
| ], | |
| "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": 8, | |
| "type": "Division", | |
| "objectType": "Component", | |
| "guid": "9c85271f-89fa-4e9f-9f4a-d75802120ccc", | |
| "params": {}, | |
| "position": { | |
| "x": 546, | |
| "y": 91 | |
| }, | |
| "inputSettings": [ | |
| { | |
| "parameterName": "A", | |
| "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": "B", | |
| "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 | |
| } | |
| } | |
| ], | |
| "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": 9, | |
| "type": "Panel", | |
| "objectType": "Parameter", | |
| "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c", | |
| "params": { | |
| "Value": "2" | |
| }, | |
| "position": { | |
| "x": 627.40015, | |
| "y": 91 | |
| }, | |
| "inputSettings": [], | |
| "outputSettings": [ | |
| { | |
| "parameterName": "Panel", | |
| "dataMapping": "None", | |
| "isReparameterized": false, | |
| "hasExpression": false, | |
| "expressionContent": null, | |
| "persistentData": null, | |
| "additionalSettings": { | |
| "Optional": false, | |
| "Reverse": false, | |
| "Simplify": false, | |
| "IsPrincipal": "CannotBePrincipal", | |
| "Locked": false | |
| } | |
| } | |
| ], | |
| "componentState": { | |
| "multiline": true, | |
| "wrap": true | |
| } | |
| }, | |
| { | |
| "id": 10, | |
| "type": "Division", | |
| "objectType": "Component", | |
| "guid": "9c85271f-89fa-4e9f-9f4a-d75802120ccc", | |
| "params": {}, | |
| "position": { | |
| "x": 753, | |
| "y": 91 | |
| }, | |
| "inputSettings": [ | |
| { | |
| "parameterName": "A", | |
| "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": "B", | |
| "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 | |
| } | |
| } | |
| ], | |
| "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": 11, | |
| "type": "Circle", | |
| "objectType": "Component", | |
| "guid": "807b86e3-be8d-4970-92b5-f8cdcb45b06b", | |
| "params": {}, | |
| "position": { | |
| "x": 865, | |
| "y": 63 | |
| }, | |
| "inputSettings": [ | |
| { | |
| "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" | |
| } | |
| }, | |
| { | |
| "parameterName": "Radius", | |
| "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": "Circle", | |
| "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 | |
| } | |
| ], | |
| "connections": [ | |
| { | |
| "from": { | |
| "id": 5, | |
| "output": "Points" | |
| }, | |
| "to": { | |
| "id": 11, | |
| "input": "Plane" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 5, | |
| "output": "Points" | |
| }, | |
| "to": { | |
| "id": 6, | |
| "input": "Point A" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 1, | |
| "output": "Number Slider" | |
| }, | |
| "to": { | |
| "id": 5, | |
| "input": "Size" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 1, | |
| "output": "Number Slider" | |
| }, | |
| "to": { | |
| "id": 7, | |
| "input": "A" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 2, | |
| "output": "Number Slider" | |
| }, | |
| "to": { | |
| "id": 5, | |
| "input": "Extent X" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 2, | |
| "output": "Number Slider" | |
| }, | |
| "to": { | |
| "id": 7, | |
| "input": "B" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 3, | |
| "output": "Number Slider" | |
| }, | |
| "to": { | |
| "id": 5, | |
| "input": "Extent Y" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 4, | |
| "output": "Point" | |
| }, | |
| "to": { | |
| "id": 6, | |
| "input": "Point B" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 6, | |
| "output": "Distance" | |
| }, | |
| "to": { | |
| "id": 8, | |
| "input": "A" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 8, | |
| "output": "Result" | |
| }, | |
| "to": { | |
| "id": 10, | |
| "input": "A" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 10, | |
| "output": "Result" | |
| }, | |
| "to": { | |
| "id": 11, | |
| "input": "Radius" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 9, | |
| "output": "Panel" | |
| }, | |
| "to": { | |
| "id": 10, | |
| "input": "B" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "id": 7, | |
| "output": "Result" | |
| }, | |
| "to": { | |
| "id": 8, | |
| "input": "B" | |
| } | |
| } | |
| ] | |
| } | |
| } |