Files
modeling-app/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/ast.snap
2025-04-02 14:45:50 -05:00

3566 lines
113 KiB
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing router-template-cross-bar.kcl
---
{
"Ok": {
"body": [
{
"declaration": {
"end": 154,
"id": {
"end": 147,
"name": "routerDiameter",
"start": 133,
"type": "Identifier"
},
"init": {
"end": 154,
"raw": "12.7",
"start": 150,
"type": "Literal",
"type": "Literal",
"value": {
"value": 12.7,
"suffix": "None"
}
},
"start": 133,
"type": "VariableDeclarator"
},
"end": 154,
"kind": "const",
"start": 133,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 190,
"id": {
"end": 171,
"name": "templateDiameter",
"start": 155,
"type": "Identifier"
},
"init": {
"end": 190,
"left": {
"end": 181,
"left": {
"end": 176,
"raw": "11",
"start": 174,
"type": "Literal",
"type": "Literal",
"value": {
"value": 11.0,
"suffix": "None"
}
},
"operator": "/",
"right": {
"end": 181,
"raw": "16",
"start": 179,
"type": "Literal",
"type": "Literal",
"value": {
"value": 16.0,
"suffix": "None"
}
},
"start": 174,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"arguments": [],
"callee": {
"end": 188,
"name": "inch",
"start": 184,
"type": "Identifier"
},
"end": 190,
"start": 184,
"type": "CallExpression",
"type": "CallExpression"
},
"start": 174,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 155,
"type": "VariableDeclarator"
},
"end": 190,
"kind": "const",
"start": 155,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 250,
"id": {
"end": 202,
"name": "templateGap",
"start": 191,
"type": "Identifier"
},
"init": {
"end": 250,
"left": {
"end": 244,
"left": {
"end": 239,
"left": {
"end": 222,
"name": "templateDiameter",
"start": 206,
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
"end": 239,
"name": "routerDiameter",
"start": 225,
"type": "Identifier",
"type": "Identifier"
},
"start": 206,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 244,
"raw": "2",
"start": 243,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 206,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 250,
"raw": "0.5",
"start": 247,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.5,
"suffix": "None"
}
},
"start": 206,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 191,
"type": "VariableDeclarator"
},
"end": 250,
"kind": "const",
"start": 191,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 276,
"id": {
"end": 265,
"name": "slateWidthHalf",
"start": 251,
"type": "Identifier"
},
"init": {
"end": 276,
"left": {
"end": 272,
"raw": "41.5",
"start": 268,
"type": "Literal",
"type": "Literal",
"value": {
"value": 41.5,
"suffix": "None"
}
},
"operator": "/",
"right": {
"end": 276,
"raw": "2",
"start": 275,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 268,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 251,
"type": "VariableDeclarator"
},
"end": 276,
"kind": "const",
"start": 251,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 306,
"id": {
"end": 296,
"name": "minClampingDistance",
"start": 277,
"type": "Identifier"
},
"init": {
"end": 306,
"left": {
"end": 301,
"raw": "50",
"start": 299,
"type": "Literal",
"type": "Literal",
"value": {
"value": 50.0,
"suffix": "None"
}
},
"operator": "+",
"right": {
"end": 306,
"raw": "30",
"start": 304,
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
},
"start": 299,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 277,
"type": "VariableDeclarator"
},
"end": 306,
"kind": "const",
"start": 277,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 329,
"id": {
"end": 324,
"name": "templateThickness",
"start": 307,
"type": "Identifier"
},
"init": {
"end": 329,
"raw": "10",
"start": 327,
"type": "Literal",
"type": "Literal",
"value": {
"value": 10.0,
"suffix": "None"
}
},
"start": 307,
"type": "VariableDeclarator"
},
"end": 329,
"kind": "const",
"start": 307,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 341,
"id": {
"end": 336,
"name": "radius",
"start": 330,
"type": "Identifier"
},
"init": {
"end": 341,
"raw": "10",
"start": 339,
"type": "Literal",
"type": "Literal",
"value": {
"value": 10.0,
"suffix": "None"
}
},
"start": 330,
"type": "VariableDeclarator"
},
"end": 341,
"kind": "const",
"start": 330,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 352,
"id": {
"end": 347,
"name": "depth",
"start": 342,
"type": "Identifier"
},
"init": {
"end": 352,
"raw": "30",
"start": 350,
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
},
"start": 342,
"type": "VariableDeclarator"
},
"end": 352,
"kind": "const",
"start": 342,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 424,
"id": {
"end": 373,
"name": "distanceToInsideEdge",
"start": 353,
"type": "Identifier"
},
"init": {
"end": 424,
"left": {
"end": 410,
"left": {
"end": 390,
"name": "slateWidthHalf",
"start": 376,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 410,
"name": "templateThickness",
"start": 393,
"type": "Identifier",
"type": "Identifier"
},
"start": 376,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
"end": 424,
"name": "templateGap",
"start": 413,
"type": "Identifier",
"type": "Identifier"
},
"start": 376,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 353,
"type": "VariableDeclarator"
},
"end": 424,
"kind": "const",
"start": 353,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 1663,
"id": {
"end": 434,
"name": "sketch001",
"start": 425,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 455,
"raw": "'XZ'",
"start": 451,
"type": "Literal",
"type": "Literal",
"value": "XZ"
}
],
"callee": {
"end": 450,
"name": "startSketchOn",
"start": 437,
"type": "Identifier"
},
"end": 456,
"start": 437,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 482,
"name": "ZERO",
"start": 478,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 503,
"left": {
"end": 489,
"name": "depth",
"start": 484,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 503,
"name": "templateGap",
"start": 492,
"type": "Identifier",
"type": "Identifier"
},
"start": 484,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 504,
"start": 477,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 507,
"start": 506,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 476,
"name": "startProfileAt",
"start": 462,
"type": "Identifier"
},
"end": 508,
"start": 462,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 526,
"name": "length",
"start": 520,
"type": "Identifier"
},
"arg": {
"end": 552,
"left": {
"end": 543,
"name": "slateWidthHalf",
"start": 529,
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
"end": 552,
"name": "radius",
"start": 546,
"type": "Identifier",
"type": "Identifier"
},
"start": 529,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 557,
"name": "tag",
"start": 554,
"type": "Identifier"
},
"arg": {
"end": 566,
"start": 560,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg01"
}
}
],
"callee": {
"end": 519,
"name": "xLine",
"start": 514,
"type": "Identifier"
},
"end": 567,
"start": 514,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 663,
"properties": [
{
"end": 598,
"key": {
"end": 594,
"name": "angleEnd",
"start": 586,
"type": "Identifier"
},
"start": 586,
"type": "ObjectProperty",
"value": {
"end": 598,
"raw": "0",
"start": 597,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
},
{
"end": 622,
"key": {
"end": 617,
"name": "angleStart",
"start": 607,
"type": "Identifier"
},
"start": 607,
"type": "ObjectProperty",
"value": {
"end": 622,
"raw": "90",
"start": 620,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
"end": 656,
"key": {
"end": 637,
"name": "radius",
"start": 631,
"type": "Identifier"
},
"start": 631,
"type": "ObjectProperty",
"value": {
"end": 656,
"left": {
"end": 642,
"raw": "10",
"start": 640,
"type": "Literal",
"type": "Literal",
"value": {
"value": 10.0,
"suffix": "None"
}
},
"operator": "+",
"right": {
"end": 656,
"name": "templateGap",
"start": 645,
"type": "Identifier",
"type": "Identifier"
},
"start": 640,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"start": 577,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 666,
"start": 665,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 674,
"start": 668,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg09"
}
],
"callee": {
"end": 576,
"name": "arc",
"start": 573,
"type": "Identifier"
},
"end": 675,
"start": 573,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 698,
"name": "endAbsolute",
"start": 687,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 719,
"name": "templateThickness",
"start": 702,
"type": "Identifier",
"type": "Identifier"
},
"end": 719,
"operator": "-",
"start": 701,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 724,
"name": "tag",
"start": 721,
"type": "Identifier"
},
"arg": {
"end": 733,
"start": 727,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg03"
}
}
],
"callee": {
"end": 686,
"name": "yLine",
"start": 681,
"type": "Identifier"
},
"end": 734,
"start": 681,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 752,
"name": "length",
"start": 746,
"type": "Identifier"
},
"arg": {
"end": 772,
"name": "templateThickness",
"start": 755,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 777,
"name": "tag",
"start": 774,
"type": "Identifier"
},
"arg": {
"end": 786,
"start": 780,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg07"
}
}
],
"callee": {
"end": 745,
"name": "xLine",
"start": 740,
"type": "Identifier"
},
"end": 787,
"start": 740,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 810,
"name": "endAbsolute",
"start": 799,
"type": "Identifier"
},
"arg": {
"end": 873,
"left": {
"end": 853,
"left": {
"end": 848,
"left": {
"arguments": [
{
"end": 827,
"name": "seg01",
"start": 822,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 821,
"name": "segEndY",
"start": 814,
"type": "Identifier"
},
"end": 828,
"start": 814,
"type": "CallExpression",
"type": "CallExpression"
},
"operator": "+",
"right": {
"end": 848,
"name": "templateThickness",
"start": 831,
"type": "Identifier",
"type": "Identifier"
},
"start": 814,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 853,
"raw": "2",
"start": 852,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 814,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 873,
"name": "templateThickness",
"start": 856,
"type": "Identifier",
"type": "Identifier"
},
"start": 814,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 878,
"name": "tag",
"start": 875,
"type": "Identifier"
},
"arg": {
"end": 887,
"start": 881,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg02"
}
}
],
"callee": {
"end": 798,
"name": "yLine",
"start": 793,
"type": "Identifier"
},
"end": 888,
"start": 793,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 911,
"name": "endAbsolute",
"start": 900,
"type": "Identifier"
},
"arg": {
"end": 950,
"left": {
"arguments": [
{
"end": 927,
"name": "seg03",
"start": 922,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 921,
"name": "segEndX",
"start": 914,
"type": "Identifier"
},
"end": 928,
"start": 914,
"type": "CallExpression",
"type": "CallExpression"
},
"operator": "+",
"right": {
"end": 950,
"name": "minClampingDistance",
"start": 931,
"type": "Identifier",
"type": "Identifier"
},
"start": 914,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 955,
"name": "tag",
"start": 952,
"type": "Identifier"
},
"arg": {
"end": 964,
"start": 958,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg06"
}
}
],
"callee": {
"end": 899,
"name": "xLine",
"start": 894,
"type": "Identifier"
},
"end": 965,
"start": 894,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 983,
"name": "length",
"start": 977,
"type": "Identifier"
},
"arg": {
"end": 1007,
"left": {
"end": 1003,
"name": "templateThickness",
"start": 986,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 1007,
"raw": "2",
"start": 1006,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 986,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 1012,
"name": "tag",
"start": 1009,
"type": "Identifier"
},
"arg": {
"end": 1021,
"start": 1015,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg08"
}
}
],
"callee": {
"end": 976,
"name": "yLine",
"start": 971,
"type": "Identifier"
},
"end": 1022,
"start": 971,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1045,
"name": "endAbsolute",
"start": 1034,
"type": "Identifier"
},
"arg": {
"end": 1066,
"left": {
"arguments": [
{
"end": 1061,
"name": "seg02",
"start": 1056,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1055,
"name": "segEndX",
"start": 1048,
"type": "Identifier"
},
"end": 1062,
"start": 1048,
"type": "CallExpression",
"type": "CallExpression"
},
"operator": "+",
"right": {
"end": 1066,
"raw": "0",
"start": 1065,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
"start": 1048,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 1071,
"name": "tag",
"start": 1068,
"type": "Identifier"
},
"arg": {
"end": 1080,
"start": 1074,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg05"
}
}
],
"callee": {
"end": 1033,
"name": "xLine",
"start": 1028,
"type": "Identifier"
},
"end": 1081,
"start": 1028,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1104,
"name": "endAbsolute",
"start": 1093,
"type": "Identifier"
},
"arg": {
"end": 1141,
"left": {
"arguments": [
{
"end": 1120,
"name": "seg01",
"start": 1115,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1114,
"name": "segEndY",
"start": 1107,
"type": "Identifier"
},
"end": 1121,
"start": 1107,
"type": "CallExpression",
"type": "CallExpression"
},
"operator": "+",
"right": {
"end": 1141,
"name": "templateThickness",
"start": 1124,
"type": "Identifier",
"type": "Identifier"
},
"start": 1107,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 1146,
"name": "tag",
"start": 1143,
"type": "Identifier"
},
"arg": {
"end": 1155,
"start": 1149,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg10"
}
}
],
"callee": {
"end": 1092,
"name": "yLine",
"start": 1087,
"type": "Identifier"
},
"end": 1156,
"start": 1087,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1179,
"name": "endAbsolute",
"start": 1168,
"type": "Identifier"
},
"arg": {
"end": 1186,
"name": "ZERO",
"start": 1182,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 1191,
"name": "tag",
"start": 1188,
"type": "Identifier"
},
"arg": {
"end": 1200,
"start": 1194,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg04"
}
}
],
"callee": {
"end": 1167,
"name": "xLine",
"start": 1162,
"type": "Identifier"
},
"end": 1201,
"start": 1162,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1219,
"name": "length",
"start": 1213,
"type": "Identifier"
},
"arg": {
"argument": {
"arguments": [
{
"end": 1235,
"name": "seg04",
"start": 1230,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1229,
"name": "segLen",
"start": 1223,
"type": "Identifier"
},
"end": 1236,
"start": 1223,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 1236,
"operator": "-",
"start": 1222,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 1212,
"name": "xLine",
"start": 1207,
"type": "Identifier"
},
"end": 1237,
"start": 1207,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1255,
"name": "length",
"start": 1249,
"type": "Identifier"
},
"arg": {
"argument": {
"arguments": [
{
"end": 1271,
"name": "seg10",
"start": 1266,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1265,
"name": "segLen",
"start": 1259,
"type": "Identifier"
},
"end": 1272,
"start": 1259,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 1272,
"operator": "-",
"start": 1258,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 1248,
"name": "yLine",
"start": 1243,
"type": "Identifier"
},
"end": 1273,
"start": 1243,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1291,
"name": "length",
"start": 1285,
"type": "Identifier"
},
"arg": {
"argument": {
"arguments": [
{
"end": 1307,
"name": "seg05",
"start": 1302,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1301,
"name": "segLen",
"start": 1295,
"type": "Identifier"
},
"end": 1308,
"start": 1295,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 1308,
"operator": "-",
"start": 1294,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 1284,
"name": "xLine",
"start": 1279,
"type": "Identifier"
},
"end": 1309,
"start": 1279,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1327,
"name": "length",
"start": 1321,
"type": "Identifier"
},
"arg": {
"argument": {
"arguments": [
{
"end": 1343,
"name": "seg08",
"start": 1338,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1337,
"name": "segLen",
"start": 1331,
"type": "Identifier"
},
"end": 1344,
"start": 1331,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 1344,
"operator": "-",
"start": 1330,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 1320,
"name": "yLine",
"start": 1315,
"type": "Identifier"
},
"end": 1345,
"start": 1315,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1363,
"name": "length",
"start": 1357,
"type": "Identifier"
},
"arg": {
"arguments": [
{
"end": 1378,
"name": "seg06",
"start": 1373,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1372,
"name": "segLen",
"start": 1366,
"type": "Identifier"
},
"end": 1379,
"start": 1366,
"type": "CallExpression",
"type": "CallExpression"
}
}
],
"callee": {
"end": 1356,
"name": "xLine",
"start": 1351,
"type": "Identifier"
},
"end": 1380,
"start": 1351,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1398,
"name": "length",
"start": 1392,
"type": "Identifier"
},
"arg": {
"argument": {
"arguments": [
{
"end": 1414,
"name": "seg02",
"start": 1409,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1408,
"name": "segLen",
"start": 1402,
"type": "Identifier"
},
"end": 1415,
"start": 1402,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 1415,
"operator": "-",
"start": 1401,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 1391,
"name": "yLine",
"start": 1386,
"type": "Identifier"
},
"end": 1416,
"start": 1386,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1434,
"name": "length",
"start": 1428,
"type": "Identifier"
},
"arg": {
"arguments": [
{
"end": 1449,
"name": "seg07",
"start": 1444,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1443,
"name": "segLen",
"start": 1437,
"type": "Identifier"
},
"end": 1450,
"start": 1437,
"type": "CallExpression",
"type": "CallExpression"
}
}
],
"callee": {
"end": 1427,
"name": "xLine",
"start": 1422,
"type": "Identifier"
},
"end": 1451,
"start": 1422,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1469,
"name": "length",
"start": 1463,
"type": "Identifier"
},
"arg": {
"arguments": [
{
"end": 1484,
"name": "seg03",
"start": 1479,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1478,
"name": "segLen",
"start": 1472,
"type": "Identifier"
},
"end": 1485,
"start": 1472,
"type": "CallExpression",
"type": "CallExpression"
}
}
],
"callee": {
"end": 1462,
"name": "yLine",
"start": 1457,
"type": "Identifier"
},
"end": 1486,
"start": 1457,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 1584,
"properties": [
{
"end": 1518,
"key": {
"end": 1513,
"name": "angleEnd",
"start": 1505,
"type": "Identifier"
},
"start": 1505,
"type": "ObjectProperty",
"value": {
"end": 1518,
"raw": "90",
"start": 1516,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
"end": 1543,
"key": {
"end": 1537,
"name": "angleStart",
"start": 1527,
"type": "Identifier"
},
"start": 1527,
"type": "ObjectProperty",
"value": {
"end": 1543,
"raw": "180",
"start": 1540,
"type": "Literal",
"type": "Literal",
"value": {
"value": 180.0,
"suffix": "None"
}
}
},
{
"end": 1577,
"key": {
"end": 1558,
"name": "radius",
"start": 1552,
"type": "Identifier"
},
"start": 1552,
"type": "ObjectProperty",
"value": {
"end": 1577,
"left": {
"end": 1563,
"raw": "10",
"start": 1561,
"type": "Literal",
"type": "Literal",
"value": {
"value": 10.0,
"suffix": "None"
}
},
"operator": "+",
"right": {
"end": 1577,
"name": "templateGap",
"start": 1566,
"type": "Identifier",
"type": "Identifier"
},
"start": 1561,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"start": 1496,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1587,
"start": 1586,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1495,
"name": "arc",
"start": 1492,
"type": "Identifier"
},
"end": 1588,
"start": 1492,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1610,
"name": "endAbsolute",
"start": 1599,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 1629,
"start": 1628,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1627,
"name": "profileStartX",
"start": 1614,
"type": "Identifier"
},
"end": 1630,
"start": 1614,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1647,
"start": 1646,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1645,
"name": "profileStartY",
"start": 1632,
"type": "Identifier"
},
"end": 1648,
"start": 1632,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 1649,
"start": 1613,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 1598,
"name": "line",
"start": 1594,
"type": "Identifier"
},
"end": 1650,
"start": 1594,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 1661,
"name": "close",
"start": 1656,
"type": "Identifier"
},
"end": 1663,
"start": 1656,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 1663,
"start": 437,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 425,
"type": "VariableDeclarator"
},
"end": 1663,
"kind": "const",
"start": 425,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 1707,
"id": {
"end": 1674,
"name": "extrude001",
"start": 1664,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1702,
"name": "length",
"start": 1696,
"type": "Identifier"
},
"arg": {
"end": 1706,
"raw": "5",
"start": 1705,
"type": "Literal",
"type": "Literal",
"value": {
"value": 5.0,
"suffix": "None"
}
}
}
],
"callee": {
"end": 1684,
"name": "extrude",
"start": 1677,
"type": "Identifier"
},
"end": 1707,
"start": 1677,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 1694,
"name": "sketch001",
"start": 1685,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 1664,
"type": "VariableDeclarator"
},
"end": 1707,
"kind": "const",
"start": 1664,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2263,
"id": {
"end": 1718,
"name": "sketch003",
"start": 1709,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 1745,
"name": "extrude001",
"start": 1735,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 1754,
"raw": "'START'",
"start": 1747,
"type": "Literal",
"type": "Literal",
"value": "START"
}
],
"callee": {
"end": 1734,
"name": "startSketchOn",
"start": 1721,
"type": "Identifier"
},
"end": 1755,
"start": 1721,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 1797,
"name": "distanceToInsideEdge",
"start": 1777,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 1800,
"raw": "0",
"start": 1799,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 1801,
"start": 1776,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 1804,
"start": 1803,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1775,
"name": "startProfileAt",
"start": 1761,
"type": "Identifier"
},
"end": 1805,
"start": 1761,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1827,
"name": "angle",
"start": 1822,
"type": "Identifier"
},
"arg": {
"end": 1833,
"raw": "180",
"start": 1830,
"type": "Literal",
"type": "Literal",
"value": {
"value": 180.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 1841,
"name": "length",
"start": 1835,
"type": "Identifier"
},
"arg": {
"end": 1861,
"name": "templateThickness",
"start": 1844,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 1866,
"name": "tag",
"start": 1863,
"type": "Identifier"
},
"arg": {
"end": 1890,
"start": 1869,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentA002"
}
}
],
"callee": {
"end": 1821,
"name": "angledLine",
"start": 1811,
"type": "Identifier"
},
"end": 1891,
"start": 1811,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1921,
"name": "angle",
"start": 1916,
"type": "Identifier"
},
"arg": {
"end": 1957,
"left": {
"arguments": [
{
"end": 1951,
"name": "rectangleSegmentA002",
"start": 1931,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1930,
"name": "segAng",
"start": 1924,
"type": "Identifier"
},
"end": 1952,
"start": 1924,
"type": "CallExpression",
"type": "CallExpression"
},
"operator": "+",
"right": {
"end": 1957,
"raw": "90",
"start": 1955,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
},
"start": 1924,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 1972,
"name": "length",
"start": 1966,
"type": "Identifier"
},
"arg": {
"end": 1992,
"name": "templateThickness",
"start": 1975,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2004,
"name": "tag",
"start": 2001,
"type": "Identifier"
},
"arg": {
"end": 2028,
"start": 2007,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentB002"
}
}
],
"callee": {
"end": 1907,
"name": "angledLine",
"start": 1897,
"type": "Identifier"
},
"end": 2036,
"start": 1897,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2066,
"name": "angle",
"start": 2061,
"type": "Identifier"
},
"arg": {
"arguments": [
{
"end": 2096,
"name": "rectangleSegmentA002",
"start": 2076,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 2075,
"name": "segAng",
"start": 2069,
"type": "Identifier"
},
"end": 2097,
"start": 2069,
"type": "CallExpression",
"type": "CallExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2112,
"name": "length",
"start": 2106,
"type": "Identifier"
},
"arg": {
"argument": {
"arguments": [
{
"end": 2143,
"name": "rectangleSegmentA002",
"start": 2123,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 2122,
"name": "segLen",
"start": 2116,
"type": "Identifier"
},
"end": 2144,
"start": 2116,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 2144,
"operator": "-",
"start": 2115,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2156,
"name": "tag",
"start": 2153,
"type": "Identifier"
},
"arg": {
"end": 2180,
"start": 2159,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentC002"
}
}
],
"callee": {
"end": 2052,
"name": "angledLine",
"start": 2042,
"type": "Identifier"
},
"end": 2188,
"start": 2042,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2210,
"name": "endAbsolute",
"start": 2199,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 2229,
"start": 2228,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2227,
"name": "profileStartX",
"start": 2214,
"type": "Identifier"
},
"end": 2230,
"start": 2214,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 2247,
"start": 2246,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2245,
"name": "profileStartY",
"start": 2232,
"type": "Identifier"
},
"end": 2248,
"start": 2232,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 2249,
"start": 2213,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 2198,
"name": "line",
"start": 2194,
"type": "Identifier"
},
"end": 2250,
"start": 2194,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 2261,
"name": "close",
"start": 2256,
"type": "Identifier"
},
"end": 2263,
"start": 2256,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 2263,
"start": 1721,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 1709,
"type": "VariableDeclarator"
},
"end": 2263,
"kind": "const",
"start": 1709,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2308,
"id": {
"end": 2274,
"name": "extrude003",
"start": 2264,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2302,
"name": "length",
"start": 2296,
"type": "Identifier"
},
"arg": {
"end": 2307,
"raw": "13",
"start": 2305,
"type": "Literal",
"type": "Literal",
"value": {
"value": 13.0,
"suffix": "None"
}
}
}
],
"callee": {
"end": 2284,
"name": "extrude",
"start": 2277,
"type": "Identifier"
},
"end": 2308,
"start": 2277,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 2294,
"name": "sketch003",
"start": 2285,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 2264,
"type": "VariableDeclarator"
},
"end": 2308,
"kind": "const",
"start": 2264,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2863,
"id": {
"end": 2319,
"name": "sketch002",
"start": 2310,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 2346,
"name": "extrude001",
"start": 2336,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 2355,
"raw": "'START'",
"start": 2348,
"type": "Literal",
"type": "Literal",
"value": "START"
}
],
"callee": {
"end": 2335,
"name": "startSketchOn",
"start": 2322,
"type": "Identifier"
},
"end": 2356,
"start": 2322,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"argument": {
"end": 2399,
"name": "distanceToInsideEdge",
"start": 2379,
"type": "Identifier",
"type": "Identifier"
},
"end": 2399,
"operator": "-",
"start": 2378,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 2402,
"raw": "0",
"start": 2401,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 2403,
"start": 2377,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 2406,
"start": 2405,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2376,
"name": "startProfileAt",
"start": 2362,
"type": "Identifier"
},
"end": 2407,
"start": 2362,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2429,
"name": "angle",
"start": 2424,
"type": "Identifier"
},
"arg": {
"end": 2433,
"raw": "0",
"start": 2432,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 2441,
"name": "length",
"start": 2435,
"type": "Identifier"
},
"arg": {
"end": 2461,
"name": "templateThickness",
"start": 2444,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2466,
"name": "tag",
"start": 2463,
"type": "Identifier"
},
"arg": {
"end": 2490,
"start": 2469,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentA001"
}
}
],
"callee": {
"end": 2423,
"name": "angledLine",
"start": 2413,
"type": "Identifier"
},
"end": 2491,
"start": 2413,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2521,
"name": "angle",
"start": 2516,
"type": "Identifier"
},
"arg": {
"end": 2557,
"left": {
"arguments": [
{
"end": 2551,
"name": "rectangleSegmentA001",
"start": 2531,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 2530,
"name": "segAng",
"start": 2524,
"type": "Identifier"
},
"end": 2552,
"start": 2524,
"type": "CallExpression",
"type": "CallExpression"
},
"operator": "-",
"right": {
"end": 2557,
"raw": "90",
"start": 2555,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
},
"start": 2524,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2572,
"name": "length",
"start": 2566,
"type": "Identifier"
},
"arg": {
"end": 2592,
"name": "templateThickness",
"start": 2575,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2604,
"name": "tag",
"start": 2601,
"type": "Identifier"
},
"arg": {
"end": 2628,
"start": 2607,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentB001"
}
}
],
"callee": {
"end": 2507,
"name": "angledLine",
"start": 2497,
"type": "Identifier"
},
"end": 2636,
"start": 2497,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2666,
"name": "angle",
"start": 2661,
"type": "Identifier"
},
"arg": {
"arguments": [
{
"end": 2696,
"name": "rectangleSegmentA001",
"start": 2676,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 2675,
"name": "segAng",
"start": 2669,
"type": "Identifier"
},
"end": 2697,
"start": 2669,
"type": "CallExpression",
"type": "CallExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2712,
"name": "length",
"start": 2706,
"type": "Identifier"
},
"arg": {
"argument": {
"arguments": [
{
"end": 2743,
"name": "rectangleSegmentA001",
"start": 2723,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 2722,
"name": "segLen",
"start": 2716,
"type": "Identifier"
},
"end": 2744,
"start": 2716,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 2744,
"operator": "-",
"start": 2715,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2756,
"name": "tag",
"start": 2753,
"type": "Identifier"
},
"arg": {
"end": 2780,
"start": 2759,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentC001"
}
}
],
"callee": {
"end": 2652,
"name": "angledLine",
"start": 2642,
"type": "Identifier"
},
"end": 2788,
"start": 2642,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2810,
"name": "endAbsolute",
"start": 2799,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 2829,
"start": 2828,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2827,
"name": "profileStartX",
"start": 2814,
"type": "Identifier"
},
"end": 2830,
"start": 2814,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 2847,
"start": 2846,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2845,
"name": "profileStartY",
"start": 2832,
"type": "Identifier"
},
"end": 2848,
"start": 2832,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 2849,
"start": 2813,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 2798,
"name": "line",
"start": 2794,
"type": "Identifier"
},
"end": 2850,
"start": 2794,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 2861,
"name": "close",
"start": 2856,
"type": "Identifier"
},
"end": 2863,
"start": 2856,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 2863,
"start": 2322,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 2310,
"type": "VariableDeclarator"
},
"end": 2863,
"kind": "const",
"start": 2310,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2909,
"id": {
"end": 2875,
"name": "extrude002",
"start": 2865,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2903,
"name": "length",
"start": 2897,
"type": "Identifier"
},
"arg": {
"end": 2908,
"raw": "13",
"start": 2906,
"type": "Literal",
"type": "Literal",
"value": {
"value": 13.0,
"suffix": "None"
}
}
}
],
"callee": {
"end": 2885,
"name": "extrude",
"start": 2878,
"type": "Identifier"
},
"end": 2909,
"start": 2878,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 2895,
"name": "sketch002",
"start": 2886,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 2865,
"type": "VariableDeclarator"
},
"end": 2909,
"kind": "const",
"start": 2865,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 3469,
"id": {
"end": 2920,
"name": "sketch004",
"start": 2911,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 2947,
"name": "extrude002",
"start": 2937,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 2954,
"raw": "'END'",
"start": 2949,
"type": "Literal",
"type": "Literal",
"value": "END"
}
],
"callee": {
"end": 2936,
"name": "startSketchOn",
"start": 2923,
"type": "Identifier"
},
"end": 2955,
"start": 2923,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"argument": {
"end": 2998,
"name": "distanceToInsideEdge",
"start": 2978,
"type": "Identifier",
"type": "Identifier"
},
"end": 2998,
"operator": "-",
"start": 2977,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 3001,
"raw": "0",
"start": 3000,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 3002,
"start": 2976,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 3005,
"start": 3004,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2975,
"name": "startProfileAt",
"start": 2961,
"type": "Identifier"
},
"end": 3006,
"start": 2961,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3028,
"name": "angle",
"start": 3023,
"type": "Identifier"
},
"arg": {
"end": 3032,
"raw": "0",
"start": 3031,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 3040,
"name": "length",
"start": 3034,
"type": "Identifier"
},
"arg": {
"end": 3067,
"left": {
"end": 3063,
"name": "distanceToInsideEdge",
"start": 3043,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 3067,
"raw": "2",
"start": 3066,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 3043,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3072,
"name": "tag",
"start": 3069,
"type": "Identifier"
},
"arg": {
"end": 3096,
"start": 3075,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentA003"
}
}
],
"callee": {
"end": 3022,
"name": "angledLine",
"start": 3012,
"type": "Identifier"
},
"end": 3097,
"start": 3012,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3127,
"name": "angle",
"start": 3122,
"type": "Identifier"
},
"arg": {
"end": 3163,
"left": {
"arguments": [
{
"end": 3157,
"name": "rectangleSegmentA003",
"start": 3137,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 3136,
"name": "segAng",
"start": 3130,
"type": "Identifier"
},
"end": 3158,
"start": 3130,
"type": "CallExpression",
"type": "CallExpression"
},
"operator": "-",
"right": {
"end": 3163,
"raw": "90",
"start": 3161,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
},
"start": 3130,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3178,
"name": "length",
"start": 3172,
"type": "Identifier"
},
"arg": {
"end": 3198,
"name": "templateThickness",
"start": 3181,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3210,
"name": "tag",
"start": 3207,
"type": "Identifier"
},
"arg": {
"end": 3234,
"start": 3213,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentB003"
}
}
],
"callee": {
"end": 3113,
"name": "angledLine",
"start": 3103,
"type": "Identifier"
},
"end": 3242,
"start": 3103,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3272,
"name": "angle",
"start": 3267,
"type": "Identifier"
},
"arg": {
"arguments": [
{
"end": 3302,
"name": "rectangleSegmentA003",
"start": 3282,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 3281,
"name": "segAng",
"start": 3275,
"type": "Identifier"
},
"end": 3303,
"start": 3275,
"type": "CallExpression",
"type": "CallExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3318,
"name": "length",
"start": 3312,
"type": "Identifier"
},
"arg": {
"argument": {
"arguments": [
{
"end": 3349,
"name": "rectangleSegmentA003",
"start": 3329,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 3328,
"name": "segLen",
"start": 3322,
"type": "Identifier"
},
"end": 3350,
"start": 3322,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 3350,
"operator": "-",
"start": 3321,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3362,
"name": "tag",
"start": 3359,
"type": "Identifier"
},
"arg": {
"end": 3386,
"start": 3365,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentC003"
}
}
],
"callee": {
"end": 3258,
"name": "angledLine",
"start": 3248,
"type": "Identifier"
},
"end": 3394,
"start": 3248,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3416,
"name": "endAbsolute",
"start": 3405,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 3435,
"start": 3434,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3433,
"name": "profileStartX",
"start": 3420,
"type": "Identifier"
},
"end": 3436,
"start": 3420,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 3453,
"start": 3452,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3451,
"name": "profileStartY",
"start": 3438,
"type": "Identifier"
},
"end": 3454,
"start": 3438,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 3455,
"start": 3419,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 3404,
"name": "line",
"start": 3400,
"type": "Identifier"
},
"end": 3456,
"start": 3400,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 3467,
"name": "close",
"start": 3462,
"type": "Identifier"
},
"end": 3469,
"start": 3462,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 3469,
"start": 2923,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 2911,
"type": "VariableDeclarator"
},
"end": 3469,
"kind": "const",
"start": 2911,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 3513,
"id": {
"end": 3480,
"name": "extrude004",
"start": 3470,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3508,
"name": "length",
"start": 3502,
"type": "Identifier"
},
"arg": {
"end": 3512,
"raw": "4",
"start": 3511,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
}
}
],
"callee": {
"end": 3490,
"name": "extrude",
"start": 3483,
"type": "Identifier"
},
"end": 3513,
"start": 3483,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 3500,
"name": "sketch004",
"start": 3491,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 3470,
"type": "VariableDeclarator"
},
"end": 3513,
"kind": "const",
"start": 3470,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
}
],
"end": 3514,
"innerAttrs": [
{
"end": 131,
"name": {
"end": 107,
"name": "settings",
"start": 99,
"type": "Identifier"
},
"properties": [
{
"end": 130,
"key": {
"end": 125,
"name": "defaultLengthUnit",
"start": 108,
"type": "Identifier"
},
"start": 108,
"type": "ObjectProperty",
"value": {
"end": 130,
"name": "mm",
"start": 128,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 98,
"type": "Annotation"
}
],
"nonCodeMeta": {
"nonCodeNodes": {
"10": [
{
"end": 1709,
"start": 1707,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"12": [
{
"end": 2310,
"start": 2308,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"13": [
{
"end": 2865,
"start": 2863,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"14": [
{
"end": 2911,
"start": 2909,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
]
},
"startNodes": [
{
"end": 34,
"start": 0,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Router template for a cross bar",
"style": "line"
}
},
{
"end": 83,
"start": 35,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "A guide for routing a notch into a cross bar.",
"style": "line"
}
},
{
"end": 85,
"start": 83,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 97,
"start": 85,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Set Units",
"style": "line"
}
},
{
"end": 133,
"start": 131,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
]
},
"start": 0
}
}