2025-03-06 18:01:24 -05:00
---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing gridfinity-baseplate-magnets.kcl
---
{
"Ok": {
"body": [
{
"declaration": {
"end": 455,
"id": {
"end": 448,
"name": "binLength",
"start": 439,
"type": "Identifier"
},
"init": {
"end": 455,
"raw": "42.0",
"start": 451,
"type": "Literal",
"type": "Literal",
"value": {
"value": 42.0,
"suffix": "None"
}
},
"start": 439,
"type": "VariableDeclarator"
},
"end": 455,
"kind": "const",
"start": 439,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 474,
"id": {
"end": 468,
"name": "cornerRadius",
"start": 456,
"type": "Identifier"
},
"init": {
"end": 474,
"raw": "4.0",
"start": 471,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
},
"start": 456,
"type": "VariableDeclarator"
},
"end": 474,
"kind": "const",
"start": 456,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 490,
"id": {
"end": 484,
"name": "firstStep",
"start": 475,
"type": "Identifier"
},
"init": {
"end": 490,
"raw": "0.7",
"start": 487,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.7,
"suffix": "None"
}
},
"start": 475,
"type": "VariableDeclarator"
},
"end": 490,
"kind": "const",
"start": 475,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 507,
"id": {
"end": 501,
"name": "secondStep",
"start": 491,
"type": "Identifier"
},
"init": {
"end": 507,
"raw": "1.8",
"start": 504,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.8,
"suffix": "None"
}
},
"start": 491,
"type": "VariableDeclarator"
},
"end": 507,
"kind": "const",
"start": 491,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 524,
"id": {
"end": 517,
"name": "thirdStep",
"start": 508,
"type": "Identifier"
},
"init": {
"end": 524,
"raw": "2.15",
"start": 520,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.15,
"suffix": "None"
}
},
"start": 508,
"type": "VariableDeclarator"
},
"end": 524,
"kind": "const",
"start": 508,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 543,
"id": {
"end": 537,
"name": "magOuterDiam",
"start": 525,
"type": "Identifier"
},
"init": {
"end": 543,
"raw": "6.5",
"start": 540,
"type": "Literal",
"type": "Literal",
"value": {
"value": 6.5,
"suffix": "None"
}
},
"start": 525,
"type": "VariableDeclarator"
},
"end": 543,
"kind": "const",
"start": 525,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 559,
"id": {
"end": 553,
"name": "magOffset",
"start": 544,
"type": "Identifier"
},
"init": {
"end": 559,
"raw": "4.8",
"start": 556,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.8,
"suffix": "None"
}
},
"start": 544,
"type": "VariableDeclarator"
},
"end": 559,
"kind": "const",
"start": 544,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 574,
"id": {
"end": 568,
"name": "magDepth",
"start": 560,
"type": "Identifier"
},
"init": {
"end": 574,
"raw": "2.4",
"start": 571,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.4,
"suffix": "None"
}
},
"start": 560,
"type": "VariableDeclarator"
},
"end": 574,
"kind": "const",
"start": 560,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 629,
"id": {
"end": 625,
"name": "countBinWidth",
"start": 612,
"type": "Identifier"
},
"init": {
"end": 629,
"raw": "2",
"start": 628,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 612,
"type": "VariableDeclarator"
},
"end": 629,
"kind": "const",
"start": 612,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 648,
"id": {
"end": 644,
"name": "countBinLength",
"start": 630,
"type": "Identifier"
},
"init": {
"end": 648,
"raw": "3",
"start": 647,
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.0,
"suffix": "None"
}
},
"start": 630,
"type": "VariableDeclarator"
},
"end": 648,
"kind": "const",
"start": 630,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 792,
"id": {
"end": 755,
"name": "height",
"start": 749,
"type": "Identifier"
},
"init": {
"end": 792,
"left": {
"end": 780,
"left": {
"end": 767,
"name": "firstStep",
"start": 758,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 780,
"name": "secondStep",
"start": 770,
"type": "Identifier",
"type": "Identifier"
},
"start": 758,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
"end": 792,
"name": "thirdStep",
"start": 783,
"type": "Identifier",
"type": "Identifier"
},
"start": 758,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 749,
"type": "VariableDeclarator"
},
"end": 792,
"kind": "const",
"start": 749,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1182,
2025-03-06 18:01:24 -05:00
"id": {
"end": 868,
"name": "face",
"start": 864,
"type": "Identifier"
},
"init": {
"body": {
"body": [
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1160,
2025-03-06 18:01:24 -05:00
"id": {
"end": 890,
"name": "faceSketch",
"start": 880,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 912,
"name": "plane",
"start": 907,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 906,
"name": "startSketchOn",
"start": 893,
"type": "Identifier"
},
"end": 913,
"start": 893,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 938,
"raw": "0",
"start": 937,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 941,
"raw": "0",
"start": 940,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 942,
"start": 936,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 945,
"start": 944,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 935,
"name": "startProfileAt",
"start": 921,
"type": "Identifier"
},
"end": 946,
"start": 921,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 966,
"name": "length",
"start": 960,
"type": "Identifier"
},
"arg": {
"end": 975,
"name": "height",
"start": 969,
"type": "Identifier",
"type": "Identifier"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
"end": 959,
"name": "yLine",
"start": 954,
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 976,
2025-03-06 18:01:24 -05:00
"start": 954,
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": 1039,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 1017,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1011,
2025-03-06 18:01:24 -05:00
"name": "angle",
2025-03-07 22:07:16 -06:00
"start": 1006,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1006,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"argument": {
2025-03-07 22:07:16 -06:00
"end": 1017,
2025-03-06 18:01:24 -05:00
"raw": "45",
2025-03-07 22:07:16 -06:00
"start": 1015,
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": 1017,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-07 22:07:16 -06:00
"start": 1014,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
2025-03-07 22:07:16 -06:00
"end": 1037,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1025,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-07 22:07:16 -06:00
"start": 1019,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1019,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 1037,
2025-03-06 18:01:24 -05:00
"name": "thirdStep",
2025-03-07 22:07:16 -06:00
"start": 1028,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 1004,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 1042,
"start": 1041,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1003,
2025-03-06 18:01:24 -05:00
"name": "angledLineOfYLength",
2025-03-07 22:07:16 -06:00
"start": 984,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1043,
"start": 984,
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": 1063,
"name": "length",
"start": 1057,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"arg": {
"argument": {
"end": 1077,
"name": "secondStep",
"start": 1067,
"type": "Identifier",
"type": "Identifier"
},
"end": 1077,
"operator": "-",
"start": 1066,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1056,
2025-03-06 18:01:24 -05:00
"name": "yLine",
2025-03-07 22:07:16 -06:00
"start": 1051,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1078,
"start": 1051,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 1141,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 1119,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1113,
2025-03-06 18:01:24 -05:00
"name": "angle",
2025-03-07 22:07:16 -06:00
"start": 1108,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1108,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"argument": {
2025-03-07 22:07:16 -06:00
"end": 1119,
2025-03-06 18:01:24 -05:00
"raw": "45",
2025-03-07 22:07:16 -06:00
"start": 1117,
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": 1119,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-07 22:07:16 -06:00
"start": 1116,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
2025-03-07 22:07:16 -06:00
"end": 1139,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1127,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-07 22:07:16 -06:00
"start": 1121,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1121,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 1139,
2025-03-06 18:01:24 -05:00
"name": "firstStep",
2025-03-07 22:07:16 -06:00
"start": 1130,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 1106,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 1144,
"start": 1143,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1105,
2025-03-06 18:01:24 -05:00
"name": "angledLineOfYLength",
2025-03-07 22:07:16 -06:00
"start": 1086,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1145,
"start": 1086,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1158,
2025-03-06 18:01:24 -05:00
"name": "close",
2025-03-07 22:07:16 -06:00
"start": 1153,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1160,
"start": 1153,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
],
2025-03-07 22:07:16 -06:00
"end": 1160,
2025-03-06 18:01:24 -05:00
"start": 893,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 880,
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1160,
2025-03-06 18:01:24 -05:00
"kind": "const",
"start": 880,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"argument": {
2025-03-07 22:07:16 -06:00
"end": 1180,
2025-03-06 18:01:24 -05:00
"name": "faceSketch",
2025-03-07 22:07:16 -06:00
"start": 1170,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1180,
"start": 1163,
2025-03-06 18:01:24 -05:00
"type": "ReturnStatement",
"type": "ReturnStatement"
}
],
2025-03-07 22:07:16 -06:00
"end": 1182,
2025-03-06 18:01:24 -05:00
"start": 876
},
2025-03-07 22:07:16 -06:00
"end": 1182,
2025-03-06 18:01:24 -05:00
"params": [
{
"type": "Parameter",
"identifier": {
"end": 874,
"name": "plane",
"start": 869,
"type": "Identifier"
}
}
],
"start": 868,
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"start": 864,
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1182,
2025-03-06 18:01:24 -05:00
"kind": "fn",
"start": 861,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1331,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 1230,
2025-03-06 18:01:24 -05:00
"name": "singleSide",
2025-03-07 22:07:16 -06:00
"start": 1220,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1295,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-07 22:07:16 -06:00
"start": 1289,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1327,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 1307,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 1298,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-07 22:07:16 -06:00
"end": 1327,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 1323,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 1311,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
2025-03-07 22:07:16 -06:00
"end": 1327,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 1326,
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": 1311,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"start": 1298,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1240,
2025-03-06 18:01:24 -05:00
"name": "extrude",
2025-03-07 22:07:16 -06:00
"start": 1233,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1331,
"start": 1233,
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": 1270,
2025-03-06 18:01:24 -05:00
"name": "offset",
2025-03-07 22:07:16 -06:00
"start": 1264,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1285,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 1273,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1257,
2025-03-06 18:01:24 -05:00
"name": "offsetPlane",
2025-03-07 22:07:16 -06:00
"start": 1246,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1286,
"start": 1246,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 1262,
2025-03-06 18:01:24 -05:00
"raw": "\"YZ\"",
2025-03-07 22:07:16 -06:00
"start": 1258,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1245,
2025-03-06 18:01:24 -05:00
"name": "face",
2025-03-07 22:07:16 -06:00
"start": 1241,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1287,
"start": 1241,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
},
2025-03-07 22:07:16 -06:00
"start": 1220,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1331,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 1220,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1569,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 1403,
2025-03-06 18:01:24 -05:00
"name": "sides",
2025-03-07 22:07:16 -06:00
"start": 1398,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1451,
2025-03-06 18:01:24 -05:00
"name": "arcDegrees",
2025-03-07 22:07:16 -06:00
"start": 1441,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1457,
2025-03-06 18:01:24 -05:00
"raw": "360",
2025-03-07 22:07:16 -06:00
"start": 1454,
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": 1465,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 1461,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 1470,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 1469,
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": 1473,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 1472,
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": 1476,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-07 22:07:16 -06:00
"start": 1475,
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": 1477,
"start": 1468,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1487,
2025-03-06 18:01:24 -05:00
"name": "center",
2025-03-07 22:07:16 -06:00
"start": 1481,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 1504,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 1500,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 1491,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 1504,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 1503,
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": 1491,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 1519,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 1515,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 1506,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 1519,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 1518,
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": 1506,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 1522,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 1521,
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": 1523,
"start": 1490,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1536,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 1527,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1540,
2025-03-06 18:01:24 -05:00
"raw": "4",
2025-03-07 22:07:16 -06:00
"start": 1539,
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": 1560,
2025-03-06 18:01:24 -05:00
"name": "rotateDuplicates",
2025-03-07 22:07:16 -06:00
"start": 1544,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1567,
2025-03-06 18:01:24 -05:00
"raw": "true",
2025-03-07 22:07:16 -06:00
"start": 1563,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1423,
2025-03-06 18:01:24 -05:00
"name": "patternCircular3d",
2025-03-07 22:07:16 -06:00
"start": 1406,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1569,
"start": 1406,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 1437,
2025-03-06 18:01:24 -05:00
"name": "singleSide",
2025-03-07 22:07:16 -06:00
"start": 1427,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
2025-03-07 22:07:16 -06:00
"start": 1398,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1569,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 1398,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1692,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 1604,
2025-03-06 18:01:24 -05:00
"name": "axis000",
2025-03-07 22:07:16 -06:00
"start": 1597,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-07 22:07:16 -06:00
"end": 1692,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 1690,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1617,
2025-03-06 18:01:24 -05:00
"name": "custom",
2025-03-07 22:07:16 -06:00
"start": 1611,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1611,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 1690,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 1643,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1630,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 1626,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1626,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 1637,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 1634,
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": 1642,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-07 22:07:16 -06:00
"start": 1639,
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": 1643,
"start": 1633,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
2025-03-07 22:07:16 -06:00
"end": 1686,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1655,
2025-03-06 18:01:24 -05:00
"name": "origin",
2025-03-07 22:07:16 -06:00
"start": 1649,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1649,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 1671,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 1659,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
{
2025-03-07 22:07:16 -06:00
"end": 1685,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 1673,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
],
2025-03-07 22:07:16 -06:00
"end": 1686,
"start": 1658,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 1620,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 1607,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
2025-03-07 22:07:16 -06:00
"start": 1597,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1692,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 1597,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 1834,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 1743,
2025-03-06 18:01:24 -05:00
"name": "singleCorner",
2025-03-07 22:07:16 -06:00
"start": 1731,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 1785,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 1767,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1761,
2025-03-06 18:01:24 -05:00
"name": "angle",
2025-03-07 22:07:16 -06:00
"start": 1756,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1756,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"argument": {
2025-03-07 22:07:16 -06:00
"end": 1767,
2025-03-06 18:01:24 -05:00
"raw": "90",
2025-03-07 22:07:16 -06:00
"start": 1765,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
},
2025-03-07 22:07:16 -06:00
"end": 1767,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-07 22:07:16 -06:00
"start": 1764,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
2025-03-07 22:07:16 -06:00
"end": 1783,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 1773,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 1769,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 1769,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 1783,
2025-03-06 18:01:24 -05:00
"name": "axis000",
2025-03-07 22:07:16 -06:00
"start": 1776,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 1754,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1816,
2025-03-06 18:01:24 -05:00
"name": "offset",
2025-03-07 22:07:16 -06:00
"start": 1810,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1831,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 1819,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1803,
2025-03-06 18:01:24 -05:00
"name": "offsetPlane",
2025-03-07 22:07:16 -06:00
"start": 1792,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1832,
"start": 1792,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 1808,
2025-03-06 18:01:24 -05:00
"raw": "\"YZ\"",
2025-03-07 22:07:16 -06:00
"start": 1804,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1791,
2025-03-06 18:01:24 -05:00
"name": "face",
2025-03-07 22:07:16 -06:00
"start": 1787,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1833,
"start": 1787,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1753,
2025-03-06 18:01:24 -05:00
"name": "revolve",
2025-03-07 22:07:16 -06:00
"start": 1746,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 1834,
"start": 1746,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-07 22:07:16 -06:00
"start": 1731,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 1834,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 1731,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 2044,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 1876,
2025-03-06 18:01:24 -05:00
"name": "corners",
2025-03-07 22:07:16 -06:00
"start": 1869,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1926,
2025-03-06 18:01:24 -05:00
"name": "arcDegrees",
2025-03-07 22:07:16 -06:00
"start": 1916,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 1932,
2025-03-06 18:01:24 -05:00
"raw": "360",
2025-03-07 22:07:16 -06:00
"start": 1929,
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": 1940,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 1936,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 1945,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 1944,
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": 1948,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 1947,
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": 1951,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-07 22:07:16 -06:00
"start": 1950,
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": 1952,
"start": 1943,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 1962,
2025-03-06 18:01:24 -05:00
"name": "center",
2025-03-07 22:07:16 -06:00
"start": 1956,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 1979,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 1975,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 1966,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 1979,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 1978,
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": 1966,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 1994,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 1990,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 1981,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 1994,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 1993,
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": 1981,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 1997,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 1996,
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": 1998,
"start": 1965,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2011,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 2002,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 2015,
2025-03-06 18:01:24 -05:00
"raw": "4",
2025-03-07 22:07:16 -06:00
"start": 2014,
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": 2035,
2025-03-06 18:01:24 -05:00
"name": "rotateDuplicates",
2025-03-07 22:07:16 -06:00
"start": 2019,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 2042,
2025-03-06 18:01:24 -05:00
"raw": "true",
2025-03-07 22:07:16 -06:00
"start": 2038,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 1896,
2025-03-06 18:01:24 -05:00
"name": "patternCircular3d",
2025-03-07 22:07:16 -06:00
"start": 1879,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 2044,
"start": 1879,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 1912,
2025-03-06 18:01:24 -05:00
"name": "singleCorner",
2025-03-07 22:07:16 -06:00
"start": 1900,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
2025-03-07 22:07:16 -06:00
"start": 1869,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 2044,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 1869,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 2426,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 2104,
2025-03-06 18:01:24 -05:00
"name": "basePlateSides",
2025-03-07 22:07:16 -06:00
"start": 2090,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2149,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 2145,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 2156,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-07 22:07:16 -06:00
"start": 2153,
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": 2161,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 2158,
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": 2166,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 2163,
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": 2167,
"start": 2152,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2185,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 2176,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 2201,
2025-03-06 18:01:24 -05:00
"name": "countBinWidth",
2025-03-07 22:07:16 -06:00
"start": 2188,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2218,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-07 22:07:16 -06:00
"start": 2210,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 2230,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 2221,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 2122,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-07 22:07:16 -06:00
"start": 2107,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 2237,
"start": 2107,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 2136,
2025-03-06 18:01:24 -05:00
"name": "sides",
2025-03-07 22:07:16 -06:00
"start": 2131,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2271,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 2267,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 2278,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 2275,
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": 2283,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-07 22:07:16 -06:00
"start": 2280,
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": 2288,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 2285,
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": 2289,
"start": 2274,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2307,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 2298,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 2324,
2025-03-06 18:01:24 -05:00
"name": "countBinLength",
2025-03-07 22:07:16 -06:00
"start": 2310,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2341,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-07 22:07:16 -06:00
"start": 2333,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 2353,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 2344,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 2258,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-07 22:07:16 -06:00
"start": 2243,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 2360,
"start": 2243,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-07 22:07:16 -06:00
"end": 2426,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
2025-03-07 22:07:16 -06:00
"end": 2426,
"start": 2360,
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-07 22:07:16 -06:00
"start": 2107,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-07 22:07:16 -06:00
"start": 2090,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 2426,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 2090,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 2753,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 2443,
2025-03-06 18:01:24 -05:00
"name": "basePlateCorners",
2025-03-07 22:07:16 -06:00
"start": 2427,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2490,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 2486,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 2497,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-07 22:07:16 -06:00
"start": 2494,
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": 2502,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 2499,
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": 2507,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 2504,
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": 2508,
"start": 2493,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2526,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 2517,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 2542,
2025-03-06 18:01:24 -05:00
"name": "countBinWidth",
2025-03-07 22:07:16 -06:00
"start": 2529,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2559,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-07 22:07:16 -06:00
"start": 2551,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 2571,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 2562,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 2461,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-07 22:07:16 -06:00
"start": 2446,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 2578,
"start": 2446,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 2477,
2025-03-06 18:01:24 -05:00
"name": "corners",
2025-03-07 22:07:16 -06:00
"start": 2470,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2612,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 2608,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 2619,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 2616,
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": 2624,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-07 22:07:16 -06:00
"start": 2621,
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": 2629,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 2626,
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": 2630,
"start": 2615,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2648,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 2639,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 2665,
2025-03-06 18:01:24 -05:00
"name": "countBinLength",
2025-03-07 22:07:16 -06:00
"start": 2651,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 2682,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-07 22:07:16 -06:00
"start": 2674,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 2694,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 2685,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 2599,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-07 22:07:16 -06:00
"start": 2584,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 2701,
"start": 2584,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-07 22:07:16 -06:00
"end": 2753,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
2025-03-07 22:07:16 -06:00
"end": 2753,
"start": 2701,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the center cutout for the magnet profile",
"style": "line"
}
}
]
},
"startNodes": []
},
2025-03-07 22:07:16 -06:00
"start": 2446,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-07 22:07:16 -06:00
"start": 2427,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 2753,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 2427,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 4366,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 2775,
2025-03-06 18:01:24 -05:00
"name": "magnetCenterCutout",
2025-03-07 22:07:16 -06:00
"start": 2757,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": {
"body": [
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 4342,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 2799,
2025-03-06 18:01:24 -05:00
"name": "magnetSketch",
2025-03-07 22:07:16 -06:00
"start": 2787,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 2821,
2025-03-06 18:01:24 -05:00
"name": "plane",
2025-03-07 22:07:16 -06:00
"start": 2816,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 2815,
2025-03-06 18:01:24 -05:00
"name": "startSketchOn",
2025-03-07 22:07:16 -06:00
"start": 2802,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 2822,
"start": 2802,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 2877,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 2865,
2025-03-06 18:01:24 -05:00
"name": "firstStep",
2025-03-07 22:07:16 -06:00
"start": 2856,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
2025-03-07 22:07:16 -06:00
"end": 2877,
2025-03-06 18:01:24 -05:00
"name": "thirdStep",
2025-03-07 22:07:16 -06:00
"start": 2868,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 2856,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 2904,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 2889,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 2888,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
2025-03-07 22:07:16 -06:00
"end": 2904,
2025-03-06 18:01:24 -05:00
"name": "magOuterDiam",
2025-03-07 22:07:16 -06:00
"start": 2892,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 2888,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
2025-03-07 22:07:16 -06:00
"end": 2913,
"start": 2845,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 2916,
"start": 2915,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 2844,
2025-03-06 18:01:24 -05:00
"name": "startProfileAt",
2025-03-07 22:07:16 -06:00
"start": 2830,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 2917,
"start": 2830,
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": 2937,
"name": "length",
"start": 2931,
"type": "Identifier"
},
"arg": {
"end": 3002,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 2981,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 2956,
"left": {
"end": 2941,
"raw": "2",
"start": 2940,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 2956,
"name": "magOuterDiam",
"start": 2944,
"type": "Identifier",
"type": "Identifier"
},
"start": 2940,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"operator": "-",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 2981,
"left": {
"end": 2969,
"name": "firstStep",
"start": 2960,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 2981,
"name": "thirdStep",
"start": 2972,
"type": "Identifier",
"type": "Identifier"
},
"start": 2960,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 2940,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3002,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 2998,
"name": "magOuterDiam",
"start": 2986,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"operator": "/",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 3002,
"raw": "2",
"start": 3001,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 2986,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"start": 2940,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-07 22:07:16 -06:00
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 2930,
2025-03-06 18:01:24 -05:00
"name": "xLine",
2025-03-07 22:07:16 -06:00
"start": 2925,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 3004,
"start": 2925,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 3114,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 3044,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 3037,
2025-03-06 18:01:24 -05:00
"name": "angleStart",
2025-03-07 22:07:16 -06:00
"start": 3027,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 3027,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 3044,
2025-03-06 18:01:24 -05:00
"raw": "90.0",
2025-03-07 22:07:16 -06:00
"start": 3040,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
2025-03-07 22:07:16 -06:00
"end": 3069,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 3063,
2025-03-06 18:01:24 -05:00
"name": "angleEnd",
2025-03-07 22:07:16 -06:00
"start": 3055,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 3055,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 3069,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 3066,
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": 3105,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 3086,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-07 22:07:16 -06:00
"start": 3080,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 3080,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 3105,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3101,
2025-03-06 18:01:24 -05:00
"name": "magOuterDiam",
2025-03-07 22:07:16 -06:00
"start": 3089,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3105,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 3104,
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": 3089,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 3016,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 3117,
"start": 3116,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 3015,
2025-03-06 18:01:24 -05:00
"name": "arc",
2025-03-07 22:07:16 -06:00
"start": 3012,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 3118,
"start": 3012,
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": 3138,
"name": "length",
"start": 3132,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 3205,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3184,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3159,
"left": {
"end": 3144,
"raw": "2",
"start": 3143,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 3159,
"name": "magOuterDiam",
"start": 3147,
"type": "Identifier",
"type": "Identifier"
},
"start": 3143,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"operator": "-",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 3184,
"left": {
"end": 3172,
"name": "firstStep",
"start": 3163,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 3184,
"name": "thirdStep",
"start": 3175,
"type": "Identifier",
"type": "Identifier"
},
"start": 3163,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 3143,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3205,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3201,
"name": "magOuterDiam",
"start": 3189,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"operator": "/",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 3205,
"raw": "2",
"start": 3204,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 3189,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"start": 3143,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"end": 3205,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-07 22:07:16 -06:00
"start": 3141,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 3131,
2025-03-06 18:01:24 -05:00
"name": "yLine",
2025-03-07 22:07:16 -06:00
"start": 3126,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 3208,
"start": 3126,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 3228,
"name": "length",
"start": 3222,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"arg": {
"end": 3260,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3240,
"name": "binLength",
"start": 3231,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"operator": "-",
"right": {
"end": 3260,
"left": {
"end": 3245,
"raw": "4",
"start": 3244,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 3260,
"name": "magOuterDiam",
"start": 3248,
"type": "Identifier",
"type": "Identifier"
},
"start": 3244,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 3231,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 3221,
2025-03-06 18:01:24 -05:00
"name": "xLine",
2025-03-07 22:07:16 -06:00
"start": 3216,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 3262,
"start": 3216,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 3282,
"name": "length",
"start": 3276,
"type": "Identifier"
},
"arg": {
"end": 3347,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3326,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3301,
"left": {
"end": 3286,
"raw": "2",
"start": 3285,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 3301,
"name": "magOuterDiam",
"start": 3289,
"type": "Identifier",
"type": "Identifier"
},
"start": 3285,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"operator": "-",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 3326,
"left": {
"end": 3314,
"name": "firstStep",
"start": 3305,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 3326,
"name": "thirdStep",
"start": 3317,
"type": "Identifier",
"type": "Identifier"
},
"start": 3305,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 3285,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3347,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3343,
"name": "magOuterDiam",
"start": 3331,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"operator": "/",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 3347,
"raw": "2",
"start": 3346,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 3331,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"start": 3285,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-07 22:07:16 -06:00
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 3275,
2025-03-06 18:01:24 -05:00
"name": "yLine",
2025-03-07 22:07:16 -06:00
"start": 3270,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 3349,
"start": 3270,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 3461,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 3390,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 3382,
2025-03-06 18:01:24 -05:00
"name": "angleStart",
2025-03-07 22:07:16 -06:00
"start": 3372,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 3372,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 3390,
2025-03-06 18:01:24 -05:00
"raw": "180.0",
2025-03-07 22:07:16 -06:00
"start": 3385,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 180.0,
"suffix": "None"
}
}
},
{
2025-03-07 22:07:16 -06:00
"end": 3416,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 3409,
2025-03-06 18:01:24 -05:00
"name": "angleEnd",
2025-03-07 22:07:16 -06:00
"start": 3401,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 3401,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 3416,
2025-03-06 18:01:24 -05:00
"raw": "90.0",
2025-03-07 22:07:16 -06:00
"start": 3412,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
2025-03-07 22:07:16 -06:00
"end": 3452,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 3433,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-07 22:07:16 -06:00
"start": 3427,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 3427,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 3452,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3448,
2025-03-06 18:01:24 -05:00
"name": "magOuterDiam",
2025-03-07 22:07:16 -06:00
"start": 3436,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3452,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 3451,
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": 3436,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 3361,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 3464,
"start": 3463,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 3360,
2025-03-06 18:01:24 -05:00
"name": "arc",
2025-03-07 22:07:16 -06:00
"start": 3357,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 3465,
"start": 3357,
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": 3485,
"name": "length",
"start": 3479,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"arg": {
"end": 3550,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3529,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3504,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3489,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 3488,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3504,
2025-03-06 18:01:24 -05:00
"name": "magOuterDiam",
2025-03-07 22:07:16 -06:00
"start": 3492,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 3488,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3529,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3517,
2025-03-06 18:01:24 -05:00
"name": "firstStep",
2025-03-07 22:07:16 -06:00
"start": 3508,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3529,
2025-03-06 18:01:24 -05:00
"name": "thirdStep",
2025-03-07 22:07:16 -06:00
"start": 3520,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 3508,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"start": 3488,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3550,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3546,
2025-03-06 18:01:24 -05:00
"name": "magOuterDiam",
2025-03-07 22:07:16 -06:00
"start": 3534,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3550,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 3549,
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": 3534,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"start": 3488,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-07 22:07:16 -06:00
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 3478,
2025-03-06 18:01:24 -05:00
"name": "xLine",
2025-03-07 22:07:16 -06:00
"start": 3473,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 3552,
"start": 3473,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 3572,
"name": "length",
"start": 3566,
"type": "Identifier"
},
"arg": {
"end": 3604,
"left": {
"end": 3584,
"name": "binLength",
"start": 3575,
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
"end": 3604,
"left": {
"end": 3589,
"raw": "4",
"start": 3588,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 3604,
"name": "magOuterDiam",
"start": 3592,
"type": "Identifier",
"type": "Identifier"
},
"start": 3588,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 3575,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 3565,
"name": "yLine",
"start": 3560,
"type": "Identifier"
},
"end": 3606,
"start": 3560,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3626,
"name": "length",
"start": 3620,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 3693,
"left": {
"end": 3672,
"left": {
"end": 3647,
"left": {
"end": 3632,
"raw": "2",
"start": 3631,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 3647,
"name": "magOuterDiam",
"start": 3635,
"type": "Identifier",
"type": "Identifier"
},
"start": 3631,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 3672,
"left": {
"end": 3660,
"name": "firstStep",
"start": 3651,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 3672,
"name": "thirdStep",
"start": 3663,
"type": "Identifier",
"type": "Identifier"
},
"start": 3651,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 3631,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 3693,
"left": {
"end": 3689,
"name": "magOuterDiam",
"start": 3677,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 3693,
"raw": "2",
"start": 3692,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 3677,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 3631,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"end": 3693,
"operator": "-",
"start": 3629,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 3619,
"name": "xLine",
"start": 3614,
"type": "Identifier"
},
"end": 3696,
"start": 3614,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 3809,
"properties": [
{
"end": 3737,
"key": {
"end": 3729,
"name": "angleStart",
"start": 3719,
"type": "Identifier"
},
"start": 3719,
"type": "ObjectProperty",
"value": {
"end": 3737,
"raw": "270.0",
"start": 3732,
"type": "Literal",
"type": "Literal",
"value": {
"value": 270.0,
"suffix": "None"
}
}
},
{
"end": 3764,
"key": {
"end": 3756,
2025-03-06 18:01:24 -05:00
"name": "angleEnd",
2025-03-07 22:07:16 -06:00
"start": 3748,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 3748,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 3764,
2025-03-06 18:01:24 -05:00
"raw": "180.0",
2025-03-07 22:07:16 -06:00
"start": 3759,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 180.0,
"suffix": "None"
}
}
},
{
2025-03-07 22:07:16 -06:00
"end": 3800,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 3781,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-07 22:07:16 -06:00
"start": 3775,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 3775,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 3800,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3796,
2025-03-06 18:01:24 -05:00
"name": "magOuterDiam",
2025-03-07 22:07:16 -06:00
"start": 3784,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3800,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 3799,
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": 3784,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 3708,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 3812,
"start": 3811,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 3707,
2025-03-06 18:01:24 -05:00
"name": "arc",
2025-03-07 22:07:16 -06:00
"start": 3704,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 3813,
"start": 3704,
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": 3833,
"name": "length",
"start": 3827,
"type": "Identifier"
},
"arg": {
"end": 3898,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3877,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3852,
"left": {
"end": 3837,
"raw": "2",
"start": 3836,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 3852,
"name": "magOuterDiam",
"start": 3840,
"type": "Identifier",
"type": "Identifier"
},
"start": 3836,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"operator": "-",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 3877,
"left": {
"end": 3865,
"name": "firstStep",
"start": 3856,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 3877,
"name": "thirdStep",
"start": 3868,
"type": "Identifier",
"type": "Identifier"
},
"start": 3856,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 3836,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-07 22:07:16 -06:00
"end": 3898,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3894,
"name": "magOuterDiam",
"start": 3882,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"operator": "/",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 3898,
"raw": "2",
"start": 3897,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 3882,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"start": 3836,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-07 22:07:16 -06:00
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 3826,
2025-03-06 18:01:24 -05:00
"name": "yLine",
2025-03-07 22:07:16 -06:00
"start": 3821,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 3900,
"start": 3821,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 3920,
"name": "length",
"start": 3914,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 3954,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 3934,
"name": "binLength",
"start": 3925,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"operator": "-",
"right": {
"end": 3954,
"left": {
"end": 3939,
"raw": "4",
"start": 3938,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 3954,
"name": "magOuterDiam",
"start": 3942,
"type": "Identifier",
"type": "Identifier"
},
"start": 3938,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 3925,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"end": 3954,
"operator": "-",
"start": 3923,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
2025-03-06 18:01:24 -05:00
},
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 3961,
"name": "tag",
"start": 3958,
"type": "Identifier"
},
"arg": {
"end": 3972,
"start": 3964,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line012"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 3913,
2025-03-06 18:01:24 -05:00
"name": "xLine",
2025-03-07 22:07:16 -06:00
"start": 3908,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 3973,
"start": 3908,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 3993,
"name": "length",
"start": 3987,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 4060,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4039,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4014,
"left": {
"end": 3999,
"raw": "2",
"start": 3998,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 4014,
"name": "magOuterDiam",
"start": 4002,
"type": "Identifier",
"type": "Identifier"
},
"start": 3998,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"operator": "-",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 4039,
"left": {
"end": 4027,
"name": "firstStep",
"start": 4018,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 4039,
"name": "thirdStep",
"start": 4030,
"type": "Identifier",
"type": "Identifier"
},
"start": 4018,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 3998,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-07 22:07:16 -06:00
"end": 4060,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4056,
"name": "magOuterDiam",
"start": 4044,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"operator": "/",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 4060,
"raw": "2",
"start": 4059,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 4044,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 3998,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"end": 4060,
"operator": "-",
"start": 3996,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 3986,
2025-03-06 18:01:24 -05:00
"name": "yLine",
2025-03-07 22:07:16 -06:00
"start": 3981,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4063,
"start": 3981,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 4176,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-07 22:07:16 -06:00
"end": 4104,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 4096,
2025-03-06 18:01:24 -05:00
"name": "angleStart",
2025-03-07 22:07:16 -06:00
"start": 4086,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 4086,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 4104,
2025-03-06 18:01:24 -05:00
"raw": "360.0",
2025-03-07 22:07:16 -06:00
"start": 4099,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
2025-03-07 22:07:16 -06:00
"end": 4131,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 4123,
2025-03-06 18:01:24 -05:00
"name": "angleEnd",
2025-03-07 22:07:16 -06:00
"start": 4115,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 4115,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 4131,
2025-03-06 18:01:24 -05:00
"raw": "270.0",
2025-03-07 22:07:16 -06:00
"start": 4126,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 270.0,
"suffix": "None"
}
}
},
{
2025-03-07 22:07:16 -06:00
"end": 4167,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-07 22:07:16 -06:00
"end": 4148,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-07 22:07:16 -06:00
"start": 4142,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 4142,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-07 22:07:16 -06:00
"end": 4167,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4163,
2025-03-06 18:01:24 -05:00
"name": "magOuterDiam",
2025-03-07 22:07:16 -06:00
"start": 4151,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 4167,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 4166,
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": 4151,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 4075,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 4179,
"start": 4178,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4074,
2025-03-06 18:01:24 -05:00
"name": "arc",
2025-03-07 22:07:16 -06:00
"start": 4071,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4180,
"start": 4071,
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": 4200,
"name": "length",
"start": 4194,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 4267,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4246,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4221,
"left": {
"end": 4206,
"raw": "2",
"start": 4205,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 4221,
"name": "magOuterDiam",
"start": 4209,
"type": "Identifier",
"type": "Identifier"
},
"start": 4205,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"operator": "-",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 4246,
"left": {
"end": 4234,
"name": "firstStep",
"start": 4225,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 4246,
"name": "thirdStep",
"start": 4237,
"type": "Identifier",
"type": "Identifier"
},
"start": 4225,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 4205,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-07 22:07:16 -06:00
"end": 4267,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4263,
"name": "magOuterDiam",
"start": 4251,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"operator": "/",
2025-03-06 18:01:24 -05:00
"right": {
2025-03-07 22:07:16 -06:00
"end": 4267,
"raw": "2",
"start": 4266,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"start": 4251,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"start": 4205,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"end": 4267,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-07 22:07:16 -06:00
"start": 4203,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4193,
2025-03-06 18:01:24 -05:00
"name": "xLine",
2025-03-07 22:07:16 -06:00
"start": 4188,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4270,
"start": 4188,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 4290,
"name": "length",
"start": 4284,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 4324,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4304,
"name": "binLength",
"start": 4295,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"operator": "-",
"right": {
"end": 4324,
"left": {
"end": 4309,
"raw": "4",
"start": 4308,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 4324,
"name": "magOuterDiam",
"start": 4312,
"type": "Identifier",
"type": "Identifier"
},
"start": 4308,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 4295,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-07 22:07:16 -06:00
"end": 4324,
"operator": "-",
"start": 4293,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4283,
2025-03-06 18:01:24 -05:00
"name": "yLine",
2025-03-07 22:07:16 -06:00
"start": 4278,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4327,
"start": 4278,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4340,
2025-03-06 18:01:24 -05:00
"name": "close",
2025-03-07 22:07:16 -06:00
"start": 4335,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4342,
"start": 4335,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
],
2025-03-07 22:07:16 -06:00
"end": 4342,
"start": 2802,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-07 22:07:16 -06:00
"start": 2787,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 4342,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 2787,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"argument": {
2025-03-07 22:07:16 -06:00
"end": 4364,
2025-03-06 18:01:24 -05:00
"name": "magnetSketch",
2025-03-07 22:07:16 -06:00
"start": 4352,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4364,
"start": 4345,
2025-03-06 18:01:24 -05:00
"type": "ReturnStatement",
"type": "ReturnStatement"
}
],
2025-03-07 22:07:16 -06:00
"end": 4366,
"start": 2783
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"end": 4366,
2025-03-06 18:01:24 -05:00
"params": [
{
"type": "Parameter",
"identifier": {
2025-03-07 22:07:16 -06:00
"end": 2781,
2025-03-06 18:01:24 -05:00
"name": "plane",
2025-03-07 22:07:16 -06:00
"start": 2776,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 2775,
2025-03-06 18:01:24 -05:00
"type": "FunctionExpression",
"type": "FunctionExpression"
},
2025-03-07 22:07:16 -06:00
"start": 2757,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 4366,
2025-03-06 18:01:24 -05:00
"kind": "fn",
2025-03-07 22:07:16 -06:00
"start": 2754,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 4768,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 4426,
2025-03-06 18:01:24 -05:00
"name": "magnetBase",
2025-03-07 22:07:16 -06:00
"start": 4416,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": {
"body": [
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 4740,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 4454,
2025-03-06 18:01:24 -05:00
"name": "magnetBaseSketch",
2025-03-07 22:07:16 -06:00
"start": 4438,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 4476,
2025-03-06 18:01:24 -05:00
"name": "plane",
2025-03-07 22:07:16 -06:00
"start": 4471,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4470,
2025-03-06 18:01:24 -05:00
"name": "startSketchOn",
2025-03-07 22:07:16 -06:00
"start": 4457,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4477,
"start": 4457,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 4502,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 4501,
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": 4505,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-07 22:07:16 -06:00
"start": 4504,
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": 4506,
"start": 4500,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 4509,
"start": 4508,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4499,
2025-03-06 18:01:24 -05:00
"name": "startProfileAt",
2025-03-07 22:07:16 -06:00
"start": 4485,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4510,
"start": 4485,
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": 4530,
"name": "length",
"start": 4524,
"type": "Identifier"
},
"arg": {
"end": 4542,
"name": "binLength",
"start": 4533,
"type": "Identifier",
"type": "Identifier"
}
2025-03-06 18:01:24 -05:00
},
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 4547,
"name": "tag",
"start": 4544,
"type": "Identifier"
},
"arg": {
"end": 4558,
"start": 4550,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line001"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4523,
2025-03-06 18:01:24 -05:00
"name": "xLine",
2025-03-07 22:07:16 -06:00
"start": 4518,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4559,
"start": 4518,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 4579,
"name": "length",
"start": 4573,
"type": "Identifier"
},
"arg": {
"end": 4591,
"name": "binLength",
"start": 4582,
"type": "Identifier",
"type": "Identifier"
}
2025-03-06 18:01:24 -05:00
},
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 4596,
"name": "tag",
"start": 4593,
"type": "Identifier"
},
"arg": {
"end": 4607,
"start": 4599,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line002"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4572,
2025-03-06 18:01:24 -05:00
"name": "yLine",
2025-03-07 22:07:16 -06:00
"start": 4567,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4608,
"start": 4567,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 4633,
"name": "endAbsolute",
"start": 4622,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"arg": {
"arguments": [
{
"end": 4651,
"start": 4650,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 4649,
"name": "profileStartX",
"start": 4636,
"type": "Identifier"
},
"end": 4652,
"start": 4636,
"type": "CallExpression",
"type": "CallExpression"
}
2025-03-06 18:01:24 -05:00
},
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
"end": 4657,
"name": "tag",
"start": 4654,
"type": "Identifier"
},
"arg": {
"end": 4668,
"start": 4660,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line003"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4621,
"name": "xLine",
"start": 4616,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4669,
"start": 4616,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 4686,
2025-03-06 18:01:24 -05:00
"name": "tag",
2025-03-07 22:07:16 -06:00
"start": 4683,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 4697,
"start": 4689,
2025-03-06 18:01:24 -05:00
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line004"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4682,
2025-03-06 18:01:24 -05:00
"name": "close",
2025-03-07 22:07:16 -06:00
"start": 4677,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4698,
"start": 4677,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 4735,
2025-03-06 18:01:24 -05:00
"name": "plane",
2025-03-07 22:07:16 -06:00
"start": 4730,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4729,
2025-03-06 18:01:24 -05:00
"name": "magnetCenterCutout",
2025-03-07 22:07:16 -06:00
"start": 4711,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4736,
"start": 4711,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 4739,
"start": 4738,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4710,
2025-03-06 18:01:24 -05:00
"name": "hole",
2025-03-07 22:07:16 -06:00
"start": 4706,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4740,
"start": 4706,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
],
2025-03-07 22:07:16 -06:00
"end": 4740,
"start": 4457,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-07 22:07:16 -06:00
"start": 4438,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 4740,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 4438,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"argument": {
2025-03-07 22:07:16 -06:00
"end": 4766,
2025-03-06 18:01:24 -05:00
"name": "magnetBaseSketch",
2025-03-07 22:07:16 -06:00
"start": 4750,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4766,
"start": 4743,
2025-03-06 18:01:24 -05:00
"type": "ReturnStatement",
"type": "ReturnStatement"
}
],
2025-03-07 22:07:16 -06:00
"end": 4768,
"start": 4434
2025-03-06 18:01:24 -05:00
},
2025-03-07 22:07:16 -06:00
"end": 4768,
2025-03-06 18:01:24 -05:00
"params": [
{
"type": "Parameter",
"identifier": {
2025-03-07 22:07:16 -06:00
"end": 4432,
2025-03-06 18:01:24 -05:00
"name": "plane",
2025-03-07 22:07:16 -06:00
"start": 4427,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
}
}
],
2025-03-07 22:07:16 -06:00
"start": 4426,
2025-03-06 18:01:24 -05:00
"type": "FunctionExpression",
"type": "FunctionExpression"
},
2025-03-07 22:07:16 -06:00
"start": 4416,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 4768,
2025-03-06 18:01:24 -05:00
"kind": "fn",
2025-03-07 22:07:16 -06:00
"start": 4413,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 5162,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 4828,
2025-03-06 18:01:24 -05:00
"name": "magnetsSketch",
2025-03-07 22:07:16 -06:00
"start": 4815,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 4849,
2025-03-06 18:01:24 -05:00
"raw": "'XY'",
2025-03-07 22:07:16 -06:00
"start": 4845,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "XY"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4844,
2025-03-06 18:01:24 -05:00
"name": "startSketchOn",
2025-03-07 22:07:16 -06:00
"start": 4831,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4850,
"start": 4831,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 4877,
2025-03-06 18:01:24 -05:00
"name": "center",
2025-03-07 22:07:16 -06:00
"start": 4871,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 4897,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4893,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 4881,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
2025-03-07 22:07:16 -06:00
"end": 4897,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 4896,
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": 4881,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 4915,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4911,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 4899,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
2025-03-07 22:07:16 -06:00
"end": 4915,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 4914,
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": 4899,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
2025-03-07 22:07:16 -06:00
"end": 4916,
"start": 4880,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 4931,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-07 22:07:16 -06:00
"start": 4925,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 4950,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 4946,
2025-03-06 18:01:24 -05:00
"name": "magOuterDiam",
2025-03-07 22:07:16 -06:00
"start": 4934,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 4950,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 4949,
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": 4934,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4862,
2025-03-06 18:01:24 -05:00
"name": "circle",
2025-03-07 22:07:16 -06:00
"start": 4856,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 4957,
"start": 4856,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 4995,
2025-03-06 18:01:24 -05:00
"name": "center",
2025-03-07 22:07:16 -06:00
"start": 4989,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 5012,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 5008,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 4999,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 5012,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 5011,
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": 4999,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-07 22:07:16 -06:00
"end": 5027,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-07 22:07:16 -06:00
"end": 5023,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 5014,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-07 22:07:16 -06:00
"end": 5027,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-07 22:07:16 -06:00
"start": 5026,
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": 5014,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
2025-03-07 22:07:16 -06:00
"end": 5028,
"start": 4998,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 5046,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 5037,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 5050,
2025-03-06 18:01:24 -05:00
"raw": "4",
2025-03-07 22:07:16 -06:00
"start": 5049,
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": 5069,
2025-03-06 18:01:24 -05:00
"name": "arcDegrees",
2025-03-07 22:07:16 -06:00
"start": 5059,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 5075,
2025-03-06 18:01:24 -05:00
"raw": "360",
2025-03-07 22:07:16 -06:00
"start": 5072,
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": 5100,
2025-03-06 18:01:24 -05:00
"name": "rotateDuplicates",
2025-03-07 22:07:16 -06:00
"start": 5084,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 5107,
2025-03-06 18:01:24 -05:00
"raw": "true",
2025-03-07 22:07:16 -06:00
"start": 5103,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 4980,
2025-03-06 18:01:24 -05:00
"name": "patternCircular2d",
2025-03-07 22:07:16 -06:00
"start": 4963,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5114,
"start": 4963,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-07 22:07:16 -06:00
"end": 5162,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
"2": [
{
2025-03-07 22:07:16 -06:00
"end": 5162,
"start": 5114,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create a profile with holes for the magnets",
"style": "line"
}
}
]
},
"startNodes": []
},
2025-03-07 22:07:16 -06:00
"start": 4831,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-07 22:07:16 -06:00
"start": 4815,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 5162,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 4815,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 5279,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 5176,
2025-03-06 18:01:24 -05:00
"name": "magnetProfile",
2025-03-07 22:07:16 -06:00
"start": 5163,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 5194,
2025-03-06 18:01:24 -05:00
"raw": "\"XY\"",
2025-03-07 22:07:16 -06:00
"start": 5190,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "XY"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5189,
2025-03-06 18:01:24 -05:00
"name": "magnetBase",
2025-03-07 22:07:16 -06:00
"start": 5179,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5195,
"start": 5179,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"end": 5219,
2025-03-06 18:01:24 -05:00
"name": "magnetsSketch",
2025-03-07 22:07:16 -06:00
"start": 5206,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
{
2025-03-07 22:07:16 -06:00
"end": 5222,
"start": 5221,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5205,
2025-03-06 18:01:24 -05:00
"name": "hole",
2025-03-07 22:07:16 -06:00
"start": 5201,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5223,
"start": 5201,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
],
2025-03-07 22:07:16 -06:00
"end": 5279,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
2025-03-07 22:07:16 -06:00
"end": 5279,
"start": 5223,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create an extrusion of the magnet cutout with holes",
"style": "line"
}
}
]
},
"startNodes": []
},
2025-03-07 22:07:16 -06:00
"start": 5179,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-07 22:07:16 -06:00
"start": 5163,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 5279,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 5163,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 5343,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 5298,
2025-03-06 18:01:24 -05:00
"name": "magnetHolesExtrude",
2025-03-07 22:07:16 -06:00
"start": 5280,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 5330,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-07 22:07:16 -06:00
"start": 5324,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"argument": {
2025-03-07 22:07:16 -06:00
"end": 5342,
2025-03-06 18:01:24 -05:00
"name": "magDepth",
2025-03-07 22:07:16 -06:00
"start": 5334,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5342,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-07 22:07:16 -06:00
"start": 5333,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5308,
2025-03-06 18:01:24 -05:00
"name": "extrude",
2025-03-07 22:07:16 -06:00
"start": 5301,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5343,
"start": 5301,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 5322,
2025-03-06 18:01:24 -05:00
"name": "magnetProfile",
2025-03-07 22:07:16 -06:00
"start": 5309,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
2025-03-07 22:07:16 -06:00
"start": 5280,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 5343,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 5280,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 5744,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 5403,
2025-03-06 18:01:24 -05:00
"name": "magnetHolesExtrudeFillets",
2025-03-07 22:07:16 -06:00
"start": 5378,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 5444,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-07 22:07:16 -06:00
"start": 5438,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 5459,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 5447,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 5467,
2025-03-06 18:01:24 -05:00
"name": "tags",
2025-03-07 22:07:16 -06:00
"start": 5463,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5534,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5526,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5521,
2025-03-06 18:01:24 -05:00
"object": {
2025-03-07 22:07:16 -06:00
"end": 5514,
2025-03-06 18:01:24 -05:00
"name": "magnetHolesExtrude",
2025-03-07 22:07:16 -06:00
"start": 5496,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5521,
2025-03-06 18:01:24 -05:00
"name": "sketch",
2025-03-07 22:07:16 -06:00
"start": 5515,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5496,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5526,
2025-03-06 18:01:24 -05:00
"name": "tags",
2025-03-07 22:07:16 -06:00
"start": 5522,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5496,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5534,
2025-03-06 18:01:24 -05:00
"name": "line001",
2025-03-07 22:07:16 -06:00
"start": 5527,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5496,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5495,
2025-03-06 18:01:24 -05:00
"name": "getNextAdjacentEdge",
2025-03-07 22:07:16 -06:00
"start": 5476,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5535,
"start": 5476,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5603,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5595,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5590,
2025-03-06 18:01:24 -05:00
"object": {
2025-03-07 22:07:16 -06:00
"end": 5583,
2025-03-06 18:01:24 -05:00
"name": "magnetHolesExtrude",
2025-03-07 22:07:16 -06:00
"start": 5565,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5590,
2025-03-06 18:01:24 -05:00
"name": "sketch",
2025-03-07 22:07:16 -06:00
"start": 5584,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5565,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5595,
2025-03-06 18:01:24 -05:00
"name": "tags",
2025-03-07 22:07:16 -06:00
"start": 5591,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5565,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5603,
2025-03-06 18:01:24 -05:00
"name": "line001",
2025-03-07 22:07:16 -06:00
"start": 5596,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5565,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5564,
2025-03-06 18:01:24 -05:00
"name": "getPreviousAdjacentEdge",
2025-03-07 22:07:16 -06:00
"start": 5541,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5604,
"start": 5541,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5668,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5660,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5655,
2025-03-06 18:01:24 -05:00
"object": {
2025-03-07 22:07:16 -06:00
"end": 5648,
2025-03-06 18:01:24 -05:00
"name": "magnetHolesExtrude",
2025-03-07 22:07:16 -06:00
"start": 5630,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5655,
2025-03-06 18:01:24 -05:00
"name": "sketch",
2025-03-07 22:07:16 -06:00
"start": 5649,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5630,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5660,
2025-03-06 18:01:24 -05:00
"name": "tags",
2025-03-07 22:07:16 -06:00
"start": 5656,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5630,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5668,
2025-03-06 18:01:24 -05:00
"name": "line003",
2025-03-07 22:07:16 -06:00
"start": 5661,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5630,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5629,
2025-03-06 18:01:24 -05:00
"name": "getNextAdjacentEdge",
2025-03-07 22:07:16 -06:00
"start": 5610,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5669,
"start": 5610,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5737,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5729,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 5724,
2025-03-06 18:01:24 -05:00
"object": {
2025-03-07 22:07:16 -06:00
"end": 5717,
2025-03-06 18:01:24 -05:00
"name": "magnetHolesExtrude",
2025-03-07 22:07:16 -06:00
"start": 5699,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5724,
2025-03-06 18:01:24 -05:00
"name": "sketch",
2025-03-07 22:07:16 -06:00
"start": 5718,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5699,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5729,
2025-03-06 18:01:24 -05:00
"name": "tags",
2025-03-07 22:07:16 -06:00
"start": 5725,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5699,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 5737,
2025-03-06 18:01:24 -05:00
"name": "line003",
2025-03-07 22:07:16 -06:00
"start": 5730,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 5699,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5698,
2025-03-06 18:01:24 -05:00
"name": "getPreviousAdjacentEdge",
2025-03-07 22:07:16 -06:00
"start": 5675,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5738,
"start": 5675,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
],
2025-03-07 22:07:16 -06:00
"end": 5742,
"start": 5470,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5412,
2025-03-06 18:01:24 -05:00
"name": "fillet",
2025-03-07 22:07:16 -06:00
"start": 5406,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5744,
"start": 5406,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 5434,
2025-03-06 18:01:24 -05:00
"name": "magnetHolesExtrude",
2025-03-07 22:07:16 -06:00
"start": 5416,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
2025-03-07 22:07:16 -06:00
"start": 5378,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 5744,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 5378,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 5874,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 5822,
2025-03-06 18:01:24 -05:00
"name": "magnetProfileNoMagnets",
2025-03-07 22:07:16 -06:00
"start": 5800,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 5860,
2025-03-06 18:01:24 -05:00
"name": "offset",
2025-03-07 22:07:16 -06:00
"start": 5854,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"argument": {
2025-03-07 22:07:16 -06:00
"end": 5872,
2025-03-06 18:01:24 -05:00
"name": "magDepth",
2025-03-07 22:07:16 -06:00
"start": 5864,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5872,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-07 22:07:16 -06:00
"start": 5863,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5847,
2025-03-06 18:01:24 -05:00
"name": "offsetPlane",
2025-03-07 22:07:16 -06:00
"start": 5836,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5873,
"start": 5836,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 5852,
2025-03-06 18:01:24 -05:00
"raw": "\"XY\"",
2025-03-07 22:07:16 -06:00
"start": 5848,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "XY"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5835,
2025-03-06 18:01:24 -05:00
"name": "magnetBase",
2025-03-07 22:07:16 -06:00
"start": 5825,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 5874,
"start": 5825,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-07 22:07:16 -06:00
"start": 5800,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 5874,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 5800,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 6007,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 5953,
2025-03-06 18:01:24 -05:00
"name": "magnetCutoutExtrude",
2025-03-07 22:07:16 -06:00
"start": 5934,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 5994,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-07 22:07:16 -06:00
"start": 5988,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"argument": {
2025-03-07 22:07:16 -06:00
"end": 6006,
2025-03-06 18:01:24 -05:00
"name": "magDepth",
2025-03-07 22:07:16 -06:00
"start": 5998,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 6006,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-07 22:07:16 -06:00
"start": 5997,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 5963,
2025-03-06 18:01:24 -05:00
"name": "extrude",
2025-03-07 22:07:16 -06:00
"start": 5956,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 6007,
"start": 5956,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 5986,
2025-03-06 18:01:24 -05:00
"name": "magnetProfileNoMagnets",
2025-03-07 22:07:16 -06:00
"start": 5964,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
2025-03-07 22:07:16 -06:00
"start": 5934,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 6007,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 5934,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-07 22:07:16 -06:00
"end": 6414,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-07 22:07:16 -06:00
"end": 6068,
2025-03-06 18:01:24 -05:00
"name": "magnetCutoutExtrudeFillets",
2025-03-07 22:07:16 -06:00
"start": 6042,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6110,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-07 22:07:16 -06:00
"start": 6104,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 6125,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-07 22:07:16 -06:00
"start": 6113,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6133,
2025-03-06 18:01:24 -05:00
"name": "tags",
2025-03-07 22:07:16 -06:00
"start": 6129,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6201,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6193,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6188,
2025-03-06 18:01:24 -05:00
"object": {
2025-03-07 22:07:16 -06:00
"end": 6181,
2025-03-06 18:01:24 -05:00
"name": "magnetCutoutExtrude",
2025-03-07 22:07:16 -06:00
"start": 6162,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6188,
2025-03-06 18:01:24 -05:00
"name": "sketch",
2025-03-07 22:07:16 -06:00
"start": 6182,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6162,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6193,
2025-03-06 18:01:24 -05:00
"name": "tags",
2025-03-07 22:07:16 -06:00
"start": 6189,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6162,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6201,
2025-03-06 18:01:24 -05:00
"name": "line001",
2025-03-07 22:07:16 -06:00
"start": 6194,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6162,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 6161,
2025-03-06 18:01:24 -05:00
"name": "getNextAdjacentEdge",
2025-03-07 22:07:16 -06:00
"start": 6142,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 6202,
"start": 6142,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6271,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6263,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6258,
2025-03-06 18:01:24 -05:00
"object": {
2025-03-07 22:07:16 -06:00
"end": 6251,
2025-03-06 18:01:24 -05:00
"name": "magnetCutoutExtrude",
2025-03-07 22:07:16 -06:00
"start": 6232,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6258,
2025-03-06 18:01:24 -05:00
"name": "sketch",
2025-03-07 22:07:16 -06:00
"start": 6252,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6232,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6263,
2025-03-06 18:01:24 -05:00
"name": "tags",
2025-03-07 22:07:16 -06:00
"start": 6259,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6232,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6271,
2025-03-06 18:01:24 -05:00
"name": "line001",
2025-03-07 22:07:16 -06:00
"start": 6264,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6232,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 6231,
2025-03-06 18:01:24 -05:00
"name": "getPreviousAdjacentEdge",
2025-03-07 22:07:16 -06:00
"start": 6208,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 6272,
"start": 6208,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6337,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6329,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6324,
2025-03-06 18:01:24 -05:00
"object": {
2025-03-07 22:07:16 -06:00
"end": 6317,
2025-03-06 18:01:24 -05:00
"name": "magnetCutoutExtrude",
2025-03-07 22:07:16 -06:00
"start": 6298,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6324,
2025-03-06 18:01:24 -05:00
"name": "sketch",
2025-03-07 22:07:16 -06:00
"start": 6318,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6298,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6329,
2025-03-06 18:01:24 -05:00
"name": "tags",
2025-03-07 22:07:16 -06:00
"start": 6325,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6298,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6337,
2025-03-06 18:01:24 -05:00
"name": "line003",
2025-03-07 22:07:16 -06:00
"start": 6330,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6298,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 6297,
2025-03-06 18:01:24 -05:00
"name": "getNextAdjacentEdge",
2025-03-07 22:07:16 -06:00
"start": 6278,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 6338,
"start": 6278,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6407,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6399,
2025-03-06 18:01:24 -05:00
"object": {
"computed": false,
2025-03-07 22:07:16 -06:00
"end": 6394,
2025-03-06 18:01:24 -05:00
"object": {
2025-03-07 22:07:16 -06:00
"end": 6387,
2025-03-06 18:01:24 -05:00
"name": "magnetCutoutExtrude",
2025-03-07 22:07:16 -06:00
"start": 6368,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6394,
2025-03-06 18:01:24 -05:00
"name": "sketch",
2025-03-07 22:07:16 -06:00
"start": 6388,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6368,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6399,
2025-03-06 18:01:24 -05:00
"name": "tags",
2025-03-07 22:07:16 -06:00
"start": 6395,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6368,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
},
"property": {
2025-03-07 22:07:16 -06:00
"end": 6407,
2025-03-06 18:01:24 -05:00
"name": "line003",
2025-03-07 22:07:16 -06:00
"start": 6400,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"start": 6368,
2025-03-06 18:01:24 -05:00
"type": "MemberExpression",
"type": "MemberExpression"
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 6367,
2025-03-06 18:01:24 -05:00
"name": "getPreviousAdjacentEdge",
2025-03-07 22:07:16 -06:00
"start": 6344,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 6408,
"start": 6344,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
],
2025-03-07 22:07:16 -06:00
"end": 6412,
"start": 6136,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 6077,
2025-03-06 18:01:24 -05:00
"name": "fillet",
2025-03-07 22:07:16 -06:00
"start": 6071,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 6414,
"start": 6071,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 6100,
2025-03-06 18:01:24 -05:00
"name": "magnetCutoutExtrude",
2025-03-07 22:07:16 -06:00
"start": 6081,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
2025-03-07 22:07:16 -06:00
"start": 6042,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-07 22:07:16 -06:00
"end": 6414,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-07 22:07:16 -06:00
"start": 6042,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-07 22:07:16 -06:00
"end": 6775,
2025-03-06 18:01:24 -05:00
"expression": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6519,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 6515,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 6526,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-07 22:07:16 -06:00
"start": 6523,
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": 6531,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 6528,
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": 6536,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 6533,
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": 6537,
"start": 6522,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6555,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 6546,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 6571,
2025-03-06 18:01:24 -05:00
"name": "countBinWidth",
2025-03-07 22:07:16 -06:00
"start": 6558,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6588,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-07 22:07:16 -06:00
"start": 6580,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 6600,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 6591,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 6472,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-07 22:07:16 -06:00
"start": 6457,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 6607,
"start": 6457,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 6506,
2025-03-06 18:01:24 -05:00
"name": "magnetHolesExtrudeFillets",
2025-03-07 22:07:16 -06:00
"start": 6481,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6641,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 6637,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 6648,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 6645,
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": 6653,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-07 22:07:16 -06:00
"start": 6650,
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": 6658,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 6655,
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": 6659,
"start": 6644,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6677,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 6668,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 6694,
2025-03-06 18:01:24 -05:00
"name": "countBinLength",
2025-03-07 22:07:16 -06:00
"start": 6680,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6711,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-07 22:07:16 -06:00
"start": 6703,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 6723,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 6714,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 6628,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-07 22:07:16 -06:00
"start": 6613,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 6730,
"start": 6613,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-07 22:07:16 -06:00
"end": 6775,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
2025-03-07 22:07:16 -06:00
"end": 6775,
"start": 6730,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "pattern the magnet cutouts without holes",
"style": "line"
}
}
]
},
"startNodes": []
},
2025-03-07 22:07:16 -06:00
"start": 6457,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-07 22:07:16 -06:00
"start": 6457,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
2025-03-07 22:07:16 -06:00
"end": 7050,
2025-03-06 18:01:24 -05:00
"expression": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6839,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 6835,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 6846,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-07 22:07:16 -06:00
"start": 6843,
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": 6851,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 6848,
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": 6856,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 6853,
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": 6857,
"start": 6842,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6875,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 6866,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 6891,
2025-03-06 18:01:24 -05:00
"name": "countBinWidth",
2025-03-07 22:07:16 -06:00
"start": 6878,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6908,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-07 22:07:16 -06:00
"start": 6900,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 6920,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 6911,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 6791,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-07 22:07:16 -06:00
"start": 6776,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 6927,
"start": 6776,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-07 22:07:16 -06:00
"end": 6826,
2025-03-06 18:01:24 -05:00
"name": "magnetCutoutExtrudeFillets",
2025-03-07 22:07:16 -06:00
"start": 6800,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6961,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-07 22:07:16 -06:00
"start": 6957,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-07 22:07:16 -06:00
"end": 6968,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 6965,
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": 6973,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-07 22:07:16 -06:00
"start": 6970,
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": 6978,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-07 22:07:16 -06:00
"start": 6975,
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": 6979,
"start": 6964,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 6997,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-07 22:07:16 -06:00
"start": 6988,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 7014,
2025-03-06 18:01:24 -05:00
"name": "countBinLength",
2025-03-07 22:07:16 -06:00
"start": 7000,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-07 22:07:16 -06:00
"end": 7031,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-07 22:07:16 -06:00
"start": 7023,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-07 22:07:16 -06:00
"end": 7043,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-07 22:07:16 -06:00
"start": 7034,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-07 22:07:16 -06:00
"end": 6948,
2025-03-06 18:01:24 -05:00
"name": "patternLinear3d",
2025-03-07 22:07:16 -06:00
"start": 6933,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"end": 7050,
"start": 6933,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-07 22:07:16 -06:00
"end": 7050,
"start": 6776,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-07 22:07:16 -06:00
"start": 6776,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
}
],
2025-03-07 22:07:16 -06:00
"end": 7051,
2025-03-06 18:01:24 -05:00
"innerAttrs": [
{
"end": 417,
"name": {
"end": 393,
"name": "settings",
"start": 385,
"type": "Identifier"
},
"properties": [
{
"end": 416,
"key": {
"end": 411,
"name": "defaultLengthUnit",
"start": 394,
"type": "Identifier"
},
"start": 394,
"type": "ObjectProperty",
"value": {
"end": 416,
"name": "mm",
"start": 414,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 384,
"type": "Annotation"
}
],
"nonCodeMeta": {
"nonCodeNodes": {
"7": [
{
"end": 611,
"start": 574,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Number of bins in each direction",
"style": "line"
}
}
],
"9": [
{
"end": 748,
"start": 648,
"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"
}
}
],
"10": [
{
"end": 860,
"start": 792,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "define a function which builds the profile of the baseplate bin",
"style": "line"
}
}
],
"11": [
{
2025-03-07 22:07:16 -06:00
"end": 1219,
"start": 1182,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "extrude a single side of the bin",
"style": "line"
}
}
],
"12": [
{
2025-03-07 22:07:16 -06:00
"end": 1397,
"start": 1331,
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"
}
}
],
"13": [
{
2025-03-07 22:07:16 -06:00
"end": 1596,
"start": 1569,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "define an axis axis000",
"style": "line"
}
}
],
"14": [
{
2025-03-07 22:07:16 -06:00
"end": 1730,
"start": 1692,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create a single corner of the bin",
"style": "line"
}
}
],
"15": [
{
2025-03-07 22:07:16 -06:00
"end": 1868,
"start": 1834,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the corners of the bin",
"style": "line"
}
}
],
"16": [
{
2025-03-07 22:07:16 -06:00
"end": 2089,
"start": 2044,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the baseplate by patterning sides",
"style": "line"
}
}
],
"19": [
{
2025-03-07 22:07:16 -06:00
"end": 4412,
"start": 4366,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the outside profile of the magnets",
"style": "line"
}
}
],
"20": [
{
2025-03-07 22:07:16 -06:00
"end": 4814,
"start": 4768,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create sketch profile sketch000Profile002",
"style": "line"
}
}
],
"23": [
{
2025-03-07 22:07:16 -06:00
"end": 5377,
"start": 5343,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "add a fillet to the extrusion",
"style": "line"
}
}
],
"24": [
{
2025-03-07 22:07:16 -06:00
"end": 5799,
"start": 5744,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create a profile without the holes for the magnets",
"style": "line"
}
}
],
"25": [
{
2025-03-07 22:07:16 -06:00
"end": 5933,
"start": 5874,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create an extrusion of the magnet cutout without holes",
"style": "line"
}
}
],
"26": [
{
2025-03-07 22:07:16 -06:00
"end": 6041,
"start": 6007,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "add a fillet to the extrusion",
"style": "line"
}
}
],
"27": [
{
2025-03-07 22:07:16 -06:00
"end": 6456,
"start": 6414,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "pattern the magnet cutouts with holes",
"style": "line"
}
}
]
},
"startNodes": [
{
"end": 36,
"start": 0,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Gridfinity Baseplate With Magnets",
"style": "line"
}
},
{
"end": 349,
"start": 37,
"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. This baseplate version includes holes for magnet placement",
"style": "line"
}
},
{
"end": 351,
"start": 349,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 383,
"start": 351,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Set units in millimeters (mm)",
"style": "line"
}
},
{
"end": 419,
"start": 417,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 438,
"start": 419,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Define constants",
"style": "line"
}
}
]
},
"start": 0
}
}