2025-03-06 18:01:24 -05:00
---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing gridfinity-baseplate.kcl
---
{
"Ok": {
"body": [
{
"declaration": {
"end": 382,
"id": {
"end": 375,
"name": "binLength",
"start": 366,
"type": "Identifier"
},
"init": {
"end": 382,
"raw": "42.0",
"start": 378,
"type": "Literal",
"type": "Literal",
"value": {
"value": 42.0,
"suffix": "None"
}
},
"start": 366,
"type": "VariableDeclarator"
},
"end": 382,
"kind": "const",
"start": 366,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 401,
"id": {
"end": 395,
"name": "cornerRadius",
"start": 383,
"type": "Identifier"
},
"init": {
"end": 401,
"raw": "4.0",
"start": 398,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
},
"start": 383,
"type": "VariableDeclarator"
},
"end": 401,
"kind": "const",
"start": 383,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 417,
"id": {
"end": 411,
"name": "firstStep",
"start": 402,
"type": "Identifier"
},
"init": {
"end": 417,
"raw": "0.7",
"start": 414,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.7,
"suffix": "None"
}
},
"start": 402,
"type": "VariableDeclarator"
},
"end": 417,
"kind": "const",
"start": 402,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 434,
"id": {
"end": 428,
"name": "secondStep",
"start": 418,
"type": "Identifier"
},
"init": {
"end": 434,
"raw": "1.8",
"start": 431,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.8,
"suffix": "None"
}
},
"start": 418,
"type": "VariableDeclarator"
},
"end": 434,
"kind": "const",
"start": 418,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 451,
"id": {
"end": 444,
"name": "thirdStep",
"start": 435,
"type": "Identifier"
},
"init": {
"end": 451,
"raw": "2.15",
"start": 447,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.15,
"suffix": "None"
}
},
"start": 435,
"type": "VariableDeclarator"
},
"end": 451,
"kind": "const",
"start": 435,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 506,
"id": {
"end": 502,
"name": "countBinWidth",
"start": 489,
"type": "Identifier"
},
"init": {
"end": 506,
"raw": "2",
"start": 505,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 489,
"type": "VariableDeclarator"
},
"end": 506,
"kind": "const",
"start": 489,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 525,
"id": {
"end": 521,
"name": "countBinLength",
"start": 507,
"type": "Identifier"
},
"init": {
"end": 525,
"raw": "3",
"start": 524,
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.0,
"suffix": "None"
}
},
"start": 507,
"type": "VariableDeclarator"
},
"end": 525,
"kind": "const",
"start": 507,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 669,
"id": {
"end": 632,
"name": "height",
"start": 626,
"type": "Identifier"
},
"init": {
"end": 669,
"left": {
"end": 657,
"left": {
"end": 644,
"name": "firstStep",
"start": 635,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 657,
"name": "secondStep",
"start": 647,
"type": "Identifier",
"type": "Identifier"
},
"start": 635,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
"end": 669,
"name": "thirdStep",
"start": 660,
"type": "Identifier",
"type": "Identifier"
},
"start": 635,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 626,
"type": "VariableDeclarator"
},
"end": 669,
"kind": "const",
"start": 626,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1059,
2025-03-06 18:01:24 -05:00
"id": {
"end": 745,
"name": "face",
"start": 741,
"type": "Identifier"
},
"init": {
"body": {
"body": [
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1037,
2025-03-06 18:01:24 -05:00
"id": {
"end": 767,
"name": "faceSketch",
"start": 757,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 789,
"name": "plane",
"start": 784,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 783,
"name": "startSketchOn",
"start": 770,
"type": "Identifier"
},
"end": 790,
"start": 770,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 815,
"raw": "0",
"start": 814,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 818,
"raw": "0",
"start": 817,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 819,
"start": 813,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 822,
"start": 821,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 812,
"name": "startProfileAt",
"start": 798,
"type": "Identifier"
},
"end": 823,
"start": 798,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 843,
"name": "length",
"start": 837,
"type": "Identifier"
},
"arg": {
"end": 852,
"name": "height",
"start": 846,
"type": "Identifier",
"type": "Identifier"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
"end": 836,
"name": "yLine",
"start": 831,
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 853,
2025-03-06 18:01:24 -05:00
"start": 831,
2025-03-07 22:07:16 -06:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 916,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 894,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 888,
2025-03-06 18:01:24 -05:00
"name": "angle",
2025-03-07 22:07:16 -06:00
"start": 883,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 883,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"argument": {
2025-03-07 22:07:16 -06:00
"end": 894,
2025-03-06 18:01:24 -05:00
"raw": "45",
2025-03-07 22:07:16 -06:00
"start": 892,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 45.0,
"suffix": "None"
}
},
2025-03-07 22:07:16 -06:00
"end": 894,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-07 22:07:16 -06:00
"start": 891,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
2025-03-07 22:07:16 -06:00
"end": 914,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 902,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-07 22:07:16 -06:00
"start": 896,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 896,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 914,
2025-03-06 18:01:24 -05:00
"name": "thirdStep",
2025-03-07 22:07:16 -06:00
"start": 905,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 881,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 919,
"start": 918,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 880,
2025-03-06 18:01:24 -05:00
"name": "angledLineOfYLength",
2025-03-07 22:07:16 -06:00
"start": 861,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 920,
"start": 861,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 940,
"name": "length",
"start": 934,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"arg": {
"argument": {
"end": 954,
"name": "secondStep",
"start": 944,
"type": "Identifier",
"type": "Identifier"
},
"end": 954,
"operator": "-",
"start": 943,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 933,
2025-03-06 18:01:24 -05:00
"name": "yLine",
2025-03-07 22:07:16 -06:00
"start": 928,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 955,
"start": 928,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 1018,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 996,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 990,
2025-03-06 18:01:24 -05:00
"name": "angle",
2025-03-07 22:07:16 -06:00
"start": 985,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 985,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"argument": {
2025-03-07 22:07:16 -06:00
"end": 996,
2025-03-06 18:01:24 -05:00
"raw": "45",
2025-03-07 22:07:16 -06:00
"start": 994,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 45.0,
"suffix": "None"
}
},
2025-03-07 22:07:16 -06:00
"end": 996,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-07 22:07:16 -06:00
"start": 993,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
2025-03-07 22:07:16 -06:00
"end": 1016,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1004,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-07 22:07:16 -06:00
"start": 998,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 998,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 1016,
2025-03-06 18:01:24 -05:00
"name": "firstStep",
2025-03-07 22:07:16 -06:00
"start": 1007,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 983,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 1021,
"start": 1020,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 982,
2025-03-06 18:01:24 -05:00
"name": "angledLineOfYLength",
2025-03-07 22:07:16 -06:00
"start": 963,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1022,
"start": 963,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1035,
2025-03-06 18:01:24 -05:00
"name": "close",
2025-03-07 22:07:16 -06:00
"start": 1030,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1037,
"start": 1030,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
],
2025-03-07 22:07:16 -06:00
"end": 1037,
2025-03-06 18:01:24 -05:00
"start": 770,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 757,
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1037,
2025-03-06 18:01:24 -05:00
"kind": "const",
"start": 757,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"argument": {
2025-03-07 22:07:16 -06:00
"end": 1057,
2025-03-06 18:01:24 -05:00
"name": "faceSketch",
2025-03-07 22:07:16 -06:00
"start": 1047,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1057,
"start": 1040,
2025-03-06 18:01:24 -05:00
"type": "ReturnStatement",
"type": "ReturnStatement"
}
],
2025-03-07 22:07:16 -06:00
"end": 1059,
2025-03-06 18:01:24 -05:00
"start": 753
},
2025-03-07 22:07:16 -06:00
"end": 1059,
2025-03-06 18:01:24 -05:00
"params": [
{
"type": "Parameter",
"identifier": {
"end": 751,
"name": "plane",
"start": 746,
"type": "Identifier"
}
}
],
"start": 745,
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"start": 741,
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1059,
2025-03-06 18:01:24 -05:00
"kind": "fn",
"start": 738,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1206,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 1107,
2025-03-06 18:01:24 -05:00
"name": "singleSide",
2025-03-07 22:07:16 -06:00
"start": 1097,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1172,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-07 22:07:16 -06:00
"start": 1166,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1204,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 1184,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 1175,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-07 22:07:16 -06:00
"end": 1204,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 1200,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 1188,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
2025-03-07 22:07:16 -06:00
"end": 1204,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 1203,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-07 22:07:16 -06:00
"start": 1188,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"start": 1175,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1117,
2025-03-06 18:01:24 -05:00
"name": "extrude",
2025-03-07 22:07:16 -06:00
"start": 1110,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1206,
"start": 1110,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1147,
2025-03-06 18:01:24 -05:00
"name": "offset",
2025-03-07 22:07:16 -06:00
"start": 1141,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1162,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 1150,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1134,
2025-03-06 18:01:24 -05:00
"name": "offsetPlane",
2025-03-07 22:07:16 -06:00
"start": 1123,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1163,
"start": 1123,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 1139,
2025-03-06 18:01:24 -05:00
"raw": "\"YZ\"",
2025-03-07 22:07:16 -06:00
"start": 1135,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1122,
2025-03-06 18:01:24 -05:00
"name": "face",
2025-03-07 22:07:16 -06:00
"start": 1118,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1164,
"start": 1118,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
},
2025-03-07 22:07:16 -06:00
"start": 1097,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1206,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 1097,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1444,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 1278,
2025-03-06 18:01:24 -05:00
"name": "sides",
2025-03-07 22:07:16 -06:00
"start": 1273,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1326,
2025-03-06 18:01:24 -05:00
"name": "arcDegrees",
2025-03-07 22:07:16 -06:00
"start": 1316,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1332,
2025-03-06 18:01:24 -05:00
"raw": "360",
2025-03-07 22:07:16 -06:00
"start": 1329,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1340,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 1336,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 1345,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 1344,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-07 22:07:16 -06:00
"end": 1348,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 1347,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-07 22:07:16 -06:00
"end": 1351,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-07 22:07:16 -06:00
"start": 1350,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
2025-03-07 22:07:16 -06:00
"end": 1352,
"start": 1343,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1362,
2025-03-06 18:01:24 -05:00
"name": "center",
2025-03-07 22:07:16 -06:00
"start": 1356,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 1379,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 1375,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 1366,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 1379,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 1378,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-07 22:07:16 -06:00
"start": 1366,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 1394,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 1390,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 1381,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 1394,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 1393,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-07 22:07:16 -06:00
"start": 1381,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 1397,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 1396,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-07 22:07:16 -06:00
"end": 1398,
"start": 1365,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1411,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 1402,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1415,
2025-03-06 18:01:24 -05:00
"raw": "4",
2025-03-07 22:07:16 -06:00
"start": 1414,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1435,
2025-03-06 18:01:24 -05:00
"name": "rotateDuplicates",
2025-03-07 22:07:16 -06:00
"start": 1419,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1442,
2025-03-06 18:01:24 -05:00
"raw": "true",
2025-03-07 22:07:16 -06:00
"start": 1438,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1298,
2025-03-06 18:01:24 -05:00
"name": "patternCircular3d",
2025-03-07 22:07:16 -06:00
"start": 1281,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1444,
"start": 1281,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 1312,
2025-03-06 18:01:24 -05:00
"name": "singleSide",
2025-03-07 22:07:16 -06:00
"start": 1302,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
2025-03-07 22:07:16 -06:00
"start": 1273,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1444,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 1273,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1567,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 1479,
2025-03-06 18:01:24 -05:00
"name": "axis000",
2025-03-07 22:07:16 -06:00
"start": 1472,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-07 22:07:16 -06:00
"end": 1567,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 1565,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1492,
2025-03-06 18:01:24 -05:00
"name": "custom",
2025-03-07 22:07:16 -06:00
"start": 1486,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1486,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 1565,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 1518,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1505,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 1501,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1501,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 1512,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 1509,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-07 22:07:16 -06:00
"end": 1517,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-07 22:07:16 -06:00
"start": 1514,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
2025-03-07 22:07:16 -06:00
"end": 1518,
"start": 1508,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
2025-03-07 22:07:16 -06:00
"end": 1561,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1530,
2025-03-06 18:01:24 -05:00
"name": "origin",
2025-03-07 22:07:16 -06:00
"start": 1524,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1524,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 1546,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 1534,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
{
2025-03-07 22:07:16 -06:00
"end": 1560,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 1548,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
],
2025-03-07 22:07:16 -06:00
"end": 1561,
"start": 1533,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 1495,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 1482,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
2025-03-07 22:07:16 -06:00
"start": 1472,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1567,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 1472,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-18 20:34:44 -07:00
"end": 1705,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 1618,
2025-03-06 18:01:24 -05:00
"name": "singleCorner",
2025-03-07 22:07:16 -06:00
"start": 1606,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
2025-03-18 20:34:44 -07:00
"type": "LabeledArg",
"label": {
"end": 1682,
"name": "angle",
"start": 1677,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 1688,
"raw": "90",
"start": 1686,
"type": "Literal",
"type": "Literal",
2025-03-06 18:01:24 -05:00
"value": {
2025-03-18 20:34:44 -07:00
"value": 90.0,
"suffix": "None"
2025-03-06 18:01:24 -05:00
}
},
2025-03-18 20:34:44 -07:00
"end": 1688,
"operator": "-",
"start": 1685,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
2025-03-06 18:01:24 -05:00
},
{
2025-03-18 20:34:44 -07:00
"type": "LabeledArg",
"label": {
"end": 1694,
"name": "axis",
"start": 1690,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-18 20:34:44 -07:00
"arg": {
"end": 1704,
"name": "axis000",
"start": 1697,
"type": "Identifier",
"type": "Identifier"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1628,
2025-03-06 18:01:24 -05:00
"name": "revolve",
2025-03-07 22:07:16 -06:00
"start": 1621,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-18 20:34:44 -07:00
"end": 1705,
2025-03-07 22:07:16 -06:00
"start": 1621,
2025-03-18 20:34:44 -07:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1658,
"name": "offset",
"start": 1652,
"type": "Identifier"
},
"arg": {
"end": 1673,
"name": "cornerRadius",
"start": 1661,
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
"end": 1645,
"name": "offsetPlane",
"start": 1634,
"type": "Identifier"
},
"end": 1674,
"start": 1634,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 1650,
"raw": "\"YZ\"",
"start": 1646,
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
}
],
"callee": {
"end": 1633,
"name": "face",
"start": 1629,
"type": "Identifier"
},
"end": 1675,
"start": 1629,
"type": "CallExpression",
"type": "CallExpression"
}
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 1606,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-18 20:34:44 -07:00
"end": 1705,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 1606,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-18 20:34:44 -07:00
"end": 1915,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-18 20:34:44 -07:00
"end": 1747,
2025-03-06 18:01:24 -05:00
"name": "corners",
2025-03-18 20:34:44 -07:00
"start": 1740,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 1797,
2025-03-06 18:01:24 -05:00
"name": "arcDegrees",
2025-03-18 20:34:44 -07:00
"start": 1787,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 1803,
2025-03-06 18:01:24 -05:00
"raw": "360",
2025-03-18 20:34:44 -07:00
"start": 1800,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 1811,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-18 20:34:44 -07:00
"start": 1807,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-18 20:34:44 -07:00
"end": 1816,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-18 20:34:44 -07:00
"start": 1815,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-18 20:34:44 -07:00
"end": 1819,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-18 20:34:44 -07:00
"start": 1818,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-18 20:34:44 -07:00
"end": 1822,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-18 20:34:44 -07:00
"start": 1821,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
2025-03-18 20:34:44 -07:00
"end": 1823,
"start": 1814,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 1833,
2025-03-06 18:01:24 -05:00
"name": "center",
2025-03-18 20:34:44 -07:00
"start": 1827,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-18 20:34:44 -07:00
"end": 1850,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-18 20:34:44 -07:00
"end": 1846,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-18 20:34:44 -07:00
"start": 1837,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-18 20:34:44 -07:00
"end": 1850,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-18 20:34:44 -07:00
"start": 1849,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-18 20:34:44 -07:00
"start": 1837,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-18 20:34:44 -07:00
"end": 1865,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-18 20:34:44 -07:00
"end": 1861,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-18 20:34:44 -07:00
"start": 1852,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-18 20:34:44 -07:00
"end": 1865,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-18 20:34:44 -07:00
"start": 1864,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-18 20:34:44 -07:00
"start": 1852,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-18 20:34:44 -07:00
"end": 1868,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-18 20:34:44 -07:00
"start": 1867,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-18 20:34:44 -07:00
"end": 1869,
"start": 1836,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 1882,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-18 20:34:44 -07:00
"start": 1873,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 1886,
2025-03-06 18:01:24 -05:00
"raw": "4",
2025-03-18 20:34:44 -07:00
"start": 1885,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 1906,
2025-03-06 18:01:24 -05:00
"name": "rotateDuplicates",
2025-03-18 20:34:44 -07:00
"start": 1890,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 1913,
2025-03-06 18:01:24 -05:00
"raw": "true",
2025-03-18 20:34:44 -07:00
"start": 1909,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
2025-03-18 20:34:44 -07:00
"end": 1767,
2025-03-06 18:01:24 -05:00
"name": "patternCircular3d",
2025-03-18 20:34:44 -07:00
"start": 1750,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-18 20:34:44 -07:00
"end": 1915,
"start": 1750,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-18 20:34:44 -07:00
"end": 1783,
2025-03-06 18:01:24 -05:00
"name": "singleCorner",
2025-03-18 20:34:44 -07:00
"start": 1771,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
2025-03-18 20:34:44 -07:00
"start": 1740,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-18 20:34:44 -07:00
"end": 1915,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-18 20:34:44 -07:00
"start": 1740,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-18 20:34:44 -07:00
"end": 2297,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-18 20:34:44 -07:00
"end": 1975,
2025-03-06 18:01:24 -05:00
"name": "basePlateSides",
2025-03-18 20:34:44 -07:00
"start": 1961,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2020,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-18 20:34:44 -07:00
"start": 2016,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-18 20:34:44 -07:00
"end": 2027,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-18 20:34:44 -07:00
"start": 2024,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-18 20:34:44 -07:00
"end": 2032,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-18 20:34:44 -07:00
"start": 2029,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-18 20:34:44 -07:00
"end": 2037,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-18 20:34:44 -07:00
"start": 2034,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-18 20:34:44 -07:00
"end": 2038,
"start": 2023,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2056,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-18 20:34:44 -07:00
"start": 2047,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 2072,
2025-03-06 18:01:24 -05:00
"name": "countBinWidth",
2025-03-18 20:34:44 -07:00
"start": 2059,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2089,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-18 20:34:44 -07:00
"start": 2081,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 2101,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-18 20:34:44 -07:00
"start": 2092,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-18 20:34:44 -07:00
"end": 1993,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-18 20:34:44 -07:00
"start": 1978,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-18 20:34:44 -07:00
"end": 2108,
"start": 1978,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-18 20:34:44 -07:00
"end": 2007,
2025-03-06 18:01:24 -05:00
"name": "sides",
2025-03-18 20:34:44 -07:00
"start": 2002,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2142,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-18 20:34:44 -07:00
"start": 2138,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-18 20:34:44 -07:00
"end": 2149,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-18 20:34:44 -07:00
"start": 2146,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-18 20:34:44 -07:00
"end": 2154,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-18 20:34:44 -07:00
"start": 2151,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-18 20:34:44 -07:00
"end": 2159,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-18 20:34:44 -07:00
"start": 2156,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-18 20:34:44 -07:00
"end": 2160,
"start": 2145,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2178,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-18 20:34:44 -07:00
"start": 2169,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 2195,
2025-03-06 18:01:24 -05:00
"name": "countBinLength",
2025-03-18 20:34:44 -07:00
"start": 2181,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2212,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-18 20:34:44 -07:00
"start": 2204,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 2224,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-18 20:34:44 -07:00
"start": 2215,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-18 20:34:44 -07:00
"end": 2129,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-18 20:34:44 -07:00
"start": 2114,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-18 20:34:44 -07:00
"end": 2231,
"start": 2114,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-18 20:34:44 -07:00
"end": 2297,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
2025-03-18 20:34:44 -07:00
"end": 2297,
"start": 2231,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the corners of the baseplate by patterning the corners",
"style": "line"
}
}
]
},
"startNodes": []
},
2025-03-18 20:34:44 -07:00
"start": 1978,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-18 20:34:44 -07:00
"start": 1961,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-18 20:34:44 -07:00
"end": 2297,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-18 20:34:44 -07:00
"start": 1961,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-18 20:34:44 -07:00
"end": 2572,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-18 20:34:44 -07:00
"end": 2314,
2025-03-06 18:01:24 -05:00
"name": "basePlateCorners",
2025-03-18 20:34:44 -07:00
"start": 2298,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2361,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-18 20:34:44 -07:00
"start": 2357,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-18 20:34:44 -07:00
"end": 2368,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-18 20:34:44 -07:00
"start": 2365,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-18 20:34:44 -07:00
"end": 2373,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-18 20:34:44 -07:00
"start": 2370,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-18 20:34:44 -07:00
"end": 2378,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-18 20:34:44 -07:00
"start": 2375,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-18 20:34:44 -07:00
"end": 2379,
"start": 2364,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2397,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-18 20:34:44 -07:00
"start": 2388,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 2413,
2025-03-06 18:01:24 -05:00
"name": "countBinWidth",
2025-03-18 20:34:44 -07:00
"start": 2400,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2430,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-18 20:34:44 -07:00
"start": 2422,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 2442,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-18 20:34:44 -07:00
"start": 2433,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-18 20:34:44 -07:00
"end": 2332,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-18 20:34:44 -07:00
"start": 2317,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-18 20:34:44 -07:00
"end": 2449,
"start": 2317,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-18 20:34:44 -07:00
"end": 2348,
2025-03-06 18:01:24 -05:00
"name": "corners",
2025-03-18 20:34:44 -07:00
"start": 2341,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2483,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-18 20:34:44 -07:00
"start": 2479,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-18 20:34:44 -07:00
"end": 2490,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-18 20:34:44 -07:00
"start": 2487,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-18 20:34:44 -07:00
"end": 2495,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-18 20:34:44 -07:00
"start": 2492,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-18 20:34:44 -07:00
"end": 2500,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-18 20:34:44 -07:00
"start": 2497,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-18 20:34:44 -07:00
"end": 2501,
"start": 2486,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2519,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-18 20:34:44 -07:00
"start": 2510,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 2536,
2025-03-06 18:01:24 -05:00
"name": "countBinLength",
2025-03-18 20:34:44 -07:00
"start": 2522,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-18 20:34:44 -07:00
"end": 2553,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-18 20:34:44 -07:00
"start": 2545,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-18 20:34:44 -07:00
"end": 2565,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-18 20:34:44 -07:00
"start": 2556,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-18 20:34:44 -07:00
"end": 2470,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-18 20:34:44 -07:00
"start": 2455,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-18 20:34:44 -07:00
"end": 2572,
"start": 2455,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-18 20:34:44 -07:00
"end": 2572,
"start": 2317,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-18 20:34:44 -07:00
"start": 2298,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-18 20:34:44 -07:00
"end": 2572,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-18 20:34:44 -07:00
"start": 2298,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
}
],
2025-03-18 20:34:44 -07:00
"end": 2573,
2025-03-06 18:01:24 -05:00
"innerAttrs": [
{
"end": 344,
"name": {
"end": 320,
"name": "settings",
"start": 312,
"type": "Identifier"
},
"properties": [
{
"end": 343,
"key": {
"end": 338,
"name": "defaultLengthUnit",
"start": 321,
"type": "Identifier"
},
"start": 321,
"type": "ObjectProperty",
"value": {
"end": 343,
"name": "mm",
"start": 341,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 311,
"type": "Annotation"
}
],
"nonCodeMeta": {
"nonCodeNodes": {
"4": [
{
"end": 488,
"start": 451,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Number of bins in each direction",
"style": "line"
}
}
],
"6": [
{
"end": 625,
"start": 525,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "The total height of the baseplate is a summation of the vertical heights of the baseplate steps",
"style": "line"
}
}
],
"7": [
{
"end": 737,
"start": 669,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "define a function which builds the profile of the baseplate bin",
"style": "line"
}
}
],
"8": [
{
2025-03-07 22:07:16 -06:00
"end": 1096,
"start": 1059,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "extrude a single side of the bin",
"style": "line"
}
}
],
"9": [
{
2025-03-07 22:07:16 -06:00
"end": 1272,
"start": 1206,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the other sides of the bin by using a circular pattern",
"style": "line"
}
}
],
"10": [
{
2025-03-07 22:07:16 -06:00
"end": 1471,
"start": 1444,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "define an axis axis000",
"style": "line"
}
}
],
"11": [
{
2025-03-07 22:07:16 -06:00
"end": 1605,
"start": 1567,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create a single corner of the bin",
"style": "line"
}
}
],
"12": [
{
2025-03-18 20:34:44 -07:00
"end": 1739,
"start": 1705,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the corners of the bin",
"style": "line"
}
}
],
"13": [
{
2025-03-18 20:34:44 -07:00
"end": 1960,
"start": 1915,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the baseplate by patterning sides",
"style": "line"
}
}
]
},
"startNodes": [
{
"end": 23,
"start": 0,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Gridfinity Baseplate",
"style": "line"
}
},
{
"end": 276,
"start": 24,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Gridfinity is a system to help you work more efficiently. This is a system invented by Zack Freedman. There are two main components the baseplate and the bins. The components are comprised of a matrix of squares. Allowing easy stacking and expansion",
"style": "line"
}
},
{
"end": 278,
"start": 276,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 310,
"start": 278,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Set units in millimeters (mm)",
"style": "line"
}
},
{
"end": 346,
"start": 344,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 365,
"start": 346,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Define constants",
"style": "line"
}
}
]
},
"start": 0
}
}