--- source: kcl-lib/src/simulation_tests.rs description: Result of parsing router-template-slate.kcl --- { "Ok": { "body": [ { "commentStart": 126, "declaration": { "commentStart": 148, "end": 0, "id": { "commentStart": 148, "end": 0, "name": "routerDiameter", "start": 0, "type": "Identifier" }, "init": { "commentStart": 165, "end": 0, "raw": "12.7", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 12.7, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "// Define constants" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 170, "declaration": { "commentStart": 170, "end": 0, "id": { "commentStart": 170, "end": 0, "name": "templateDiameter", "start": 0, "type": "Identifier" }, "init": { "commentStart": 189, "end": 0, "left": { "commentStart": 189, "end": 0, "left": { "commentStart": 189, "end": 0, "raw": "11", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 11.0, "suffix": "None" } }, "operator": "/", "right": { "commentStart": 194, "end": 0, "raw": "16", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 16.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "arguments": [], "callee": { "abs_path": false, "commentStart": 199, "end": 0, "name": { "commentStart": 199, "end": 0, "name": "inch", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 199, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 206, "declaration": { "commentStart": 206, "end": 0, "id": { "commentStart": 206, "end": 0, "name": "templateGap", "start": 0, "type": "Identifier" }, "init": { "commentStart": 221, "end": 0, "left": { "commentStart": 221, "end": 0, "left": { "commentStart": 221, "end": 0, "left": { "abs_path": false, "commentStart": 221, "end": 0, "name": { "commentStart": 221, "end": 0, "name": "templateDiameter", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "-", "right": { "abs_path": false, "commentStart": 240, "end": 0, "name": { "commentStart": 240, "end": 0, "name": "routerDiameter", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 258, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "-", "right": { "commentStart": 262, "end": 0, "raw": "0.5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.5, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 266, "declaration": { "commentStart": 266, "end": 0, "id": { "commentStart": 266, "end": 0, "name": "slateWidthHalf", "start": 0, "type": "Identifier" }, "init": { "commentStart": 283, "end": 0, "left": { "commentStart": 283, "end": 0, "raw": "41.5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 41.5, "suffix": "None" } }, "operator": "/", "right": { "commentStart": 290, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 292, "declaration": { "commentStart": 292, "end": 0, "id": { "commentStart": 292, "end": 0, "name": "minClampingDistance", "start": 0, "type": "Identifier" }, "init": { "commentStart": 314, "end": 0, "left": { "commentStart": 314, "end": 0, "raw": "50", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 50.0, "suffix": "None" } }, "operator": "+", "right": { "commentStart": 319, "end": 0, "raw": "30", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 30.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 322, "declaration": { "commentStart": 322, "end": 0, "id": { "commentStart": 322, "end": 0, "name": "templateThickness", "start": 0, "type": "Identifier" }, "init": { "commentStart": 342, "end": 0, "raw": "10", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 10.0, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 345, "declaration": { "commentStart": 345, "end": 0, "id": { "commentStart": 345, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "init": { "commentStart": 354, "end": 0, "raw": "10", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 10.0, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 357, "declaration": { "commentStart": 357, "end": 0, "id": { "commentStart": 357, "end": 0, "name": "depth", "start": 0, "type": "Identifier" }, "init": { "commentStart": 365, "end": 0, "raw": "30", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 30.0, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 368, "declaration": { "commentStart": 368, "end": 0, "id": { "commentStart": 368, "end": 0, "name": "length001", "start": 0, "type": "Identifier" }, "init": { "commentStart": 380, "end": 0, "left": { "abs_path": false, "commentStart": 380, "end": 0, "name": { "commentStart": 380, "end": 0, "name": "slateWidthHalf", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "-", "right": { "abs_path": false, "commentStart": 397, "end": 0, "name": { "commentStart": 397, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 404, "declaration": { "commentStart": 404, "end": 0, "id": { "commentStart": 404, "end": 0, "name": "length002", "start": 0, "type": "Identifier" }, "init": { "commentStart": 416, "end": 0, "left": { "abs_path": false, "commentStart": 416, "end": 0, "name": { "commentStart": 416, "end": 0, "name": "depth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 424, "end": 0, "name": { "commentStart": 424, "end": 0, "name": "minClampingDistance", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 443, "declaration": { "commentStart": 472, "end": 0, "id": { "commentStart": 472, "end": 0, "name": "sketch001", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "abs_path": false, "commentStart": 498, "end": 0, "name": { "commentStart": 498, "end": 0, "name": "XZ", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 484, "end": 0, "name": { "commentStart": 484, "end": 0, "name": "startSketchOn", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 484, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 522, "elements": [ { "commentStart": 523, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 526, "end": 0, "left": { "abs_path": false, "commentStart": 526, "end": 0, "name": { "commentStart": 526, "end": 0, "name": "depth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "-", "right": { "abs_path": false, "commentStart": 534, "end": 0, "name": { "commentStart": 534, "end": 0, "name": "templateGap", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" }, { "commentStart": 548, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 507, "end": 0, "name": { "commentStart": 507, "end": 0, "name": "startProfileAt", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 507, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 562, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 571, "end": 0, "name": { "commentStart": 571, "end": 0, "name": "length001", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "type": "LabeledArg", "label": { "commentStart": 582, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 588, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "seg01" } } ], "callee": { "abs_path": false, "commentStart": 556, "end": 0, "name": { "commentStart": 556, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 556, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 605, "end": 0, "properties": [ { "commentStart": 614, "end": 0, "key": { "commentStart": 614, "end": 0, "name": "angleEnd", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 625, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } }, { "commentStart": 635, "end": 0, "key": { "commentStart": 635, "end": 0, "name": "angleStart", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 648, "end": 0, "raw": "90", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 90.0, "suffix": "None" } } }, { "commentStart": 659, "end": 0, "key": { "commentStart": 659, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 668, "end": 0, "left": { "abs_path": false, "commentStart": 668, "end": 0, "name": { "commentStart": 668, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "-", "right": { "abs_path": false, "commentStart": 677, "end": 0, "name": { "commentStart": 677, "end": 0, "name": "templateGap", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 697, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 601, "end": 0, "name": { "commentStart": 601, "end": 0, "name": "arc", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 601, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 711, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 725, "end": 0, "left": { "commentStart": 725, "end": 0, "left": { "argument": { "abs_path": false, "commentStart": 726, "end": 0, "name": { "commentStart": 726, "end": 0, "name": "templateGap", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 725, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" }, "operator": "*", "right": { "commentStart": 740, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "-", "right": { "commentStart": 745, "end": 0, "left": { "abs_path": false, "commentStart": 745, "end": 0, "name": { "commentStart": 745, "end": 0, "name": "templateDiameter", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 764, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 768, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 774, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "seg05" } } ], "callee": { "abs_path": false, "commentStart": 705, "end": 0, "name": { "commentStart": 705, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 705, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 793, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 807, "end": 0, "left": { "abs_path": false, "commentStart": 807, "end": 0, "name": { "commentStart": 807, "end": 0, "name": "slateWidthHalf", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 824, "end": 0, "name": { "commentStart": 824, "end": 0, "name": "templateThickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 843, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 849, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "seg04" } } ], "callee": { "abs_path": false, "commentStart": 787, "end": 0, "name": { "commentStart": 787, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 787, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 868, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "abs_path": false, "commentStart": 878, "end": 0, "name": { "commentStart": 878, "end": 0, "name": "length002", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 877, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 889, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 895, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "seg03" } } ], "callee": { "abs_path": false, "commentStart": 862, "end": 0, "name": { "commentStart": 862, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 862, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 914, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 928, "end": 0, "name": { "commentStart": 935, "end": 0, "name": "ZERO", "start": 0, "type": "Identifier" }, "path": [ { "commentStart": 928, "end": 0, "name": "turns", "start": 0, "type": "Identifier" } ], "start": 0, "type": "Name", "type": "Name" } }, { "type": "LabeledArg", "label": { "commentStart": 941, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 947, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "seg02" } } ], "callee": { "abs_path": false, "commentStart": 908, "end": 0, "name": { "commentStart": 908, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 908, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1000, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "arguments": [ { "abs_path": false, "commentStart": 1017, "end": 0, "name": { "commentStart": 1017, "end": 0, "name": "seg02", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 1010, "end": 0, "name": { "commentStart": 1010, "end": 0, "name": "segLen", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1010, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, "commentStart": 1009, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 994, "end": 0, "name": { "commentStart": 994, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 994, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1036, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "arguments": [ { "abs_path": false, "commentStart": 1052, "end": 0, "name": { "commentStart": 1052, "end": 0, "name": "seg03", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 1045, "end": 0, "name": { "commentStart": 1045, "end": 0, "name": "segLen", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1045, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } } ], "callee": { "abs_path": false, "commentStart": 1030, "end": 0, "name": { "commentStart": 1030, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1030, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1071, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "arguments": [ { "abs_path": false, "commentStart": 1087, "end": 0, "name": { "commentStart": 1087, "end": 0, "name": "seg04", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 1080, "end": 0, "name": { "commentStart": 1080, "end": 0, "name": "segLen", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1080, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } } ], "callee": { "abs_path": false, "commentStart": 1065, "end": 0, "name": { "commentStart": 1065, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1065, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1106, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "arguments": [ { "abs_path": false, "commentStart": 1122, "end": 0, "name": { "commentStart": 1122, "end": 0, "name": "seg05", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 1115, "end": 0, "name": { "commentStart": 1115, "end": 0, "name": "segLen", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1115, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } } ], "callee": { "abs_path": false, "commentStart": 1100, "end": 0, "name": { "commentStart": 1100, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1100, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 1139, "end": 0, "properties": [ { "commentStart": 1148, "end": 0, "key": { "commentStart": 1148, "end": 0, "name": "angleEnd", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 1159, "end": 0, "raw": "90", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 90.0, "suffix": "None" } } }, { "commentStart": 1170, "end": 0, "key": { "commentStart": 1170, "end": 0, "name": "angleStart", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 1183, "end": 0, "raw": "180", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 180.0, "suffix": "None" } } }, { "commentStart": 1195, "end": 0, "key": { "commentStart": 1195, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 1204, "end": 0, "left": { "abs_path": false, "commentStart": 1204, "end": 0, "name": { "commentStart": 1204, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "-", "right": { "abs_path": false, "commentStart": 1213, "end": 0, "name": { "commentStart": 1213, "end": 0, "name": "templateGap", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 1233, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1135, "end": 0, "name": { "commentStart": 1135, "end": 0, "name": "arc", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1135, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1246, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1260, "elements": [ { "arguments": [ { "commentStart": 1275, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1261, "end": 0, "name": { "commentStart": 1261, "end": 0, "name": "profileStartX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1261, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 1293, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1279, "end": 0, "name": { "commentStart": 1279, "end": 0, "name": "profileStartY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1279, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "abs_path": false, "commentStart": 1241, "end": 0, "name": { "commentStart": 1241, "end": 0, "name": "line", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1241, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [], "callee": { "abs_path": false, "commentStart": 1303, "end": 0, "name": { "commentStart": 1303, "end": 0, "name": "close", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1303, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "commentStart": 484, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "7": [ { "commentStart": 956, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "blockComment", "value": "|> line(end = [7.78, 11.16])", "style": "line" } } ], "14": [ { "commentStart": 1310, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLineBlockComment", "value": "Extrude the first sketch", "style": "line" } } ] }, "startNodes": [] }, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// Create the first sketch" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 1340, "declaration": { "commentStart": 1340, "end": 0, "id": { "commentStart": 1340, "end": 0, "name": "extrude001", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1372, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1381, "end": 0, "raw": "5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 5.0, "suffix": "None" } } } ], "callee": { "abs_path": false, "commentStart": 1353, "end": 0, "name": { "commentStart": 1353, "end": 0, "name": "extrude", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1353, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 1361, "end": 0, "name": { "commentStart": 1361, "end": 0, "name": "sketch001", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 1383, "declaration": { "commentStart": 1413, "end": 0, "id": { "commentStart": 1413, "end": 0, "name": "sketch002", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "abs_path": false, "commentStart": 1439, "end": 0, "name": { "commentStart": 1439, "end": 0, "name": "extrude001", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, { "commentStart": 1451, "end": 0, "raw": "'START'", "start": 0, "type": "Literal", "type": "Literal", "value": "START" } ], "callee": { "abs_path": false, "commentStart": 1425, "end": 0, "name": { "commentStart": 1425, "end": 0, "name": "startSketchOn", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1425, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 1480, "elements": [ { "argument": { "abs_path": false, "commentStart": 1490, "end": 0, "name": { "commentStart": 1490, "end": 0, "name": "slateWidthHalf", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 1489, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" }, { "commentStart": 1513, "end": 0, "left": { "commentStart": 1513, "end": 0, "left": { "argument": { "abs_path": false, "commentStart": 1514, "end": 0, "name": { "commentStart": 1514, "end": 0, "name": "templateGap", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 1513, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" }, "operator": "*", "right": { "commentStart": 1528, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "-", "right": { "commentStart": 1533, "end": 0, "left": { "abs_path": false, "commentStart": 1533, "end": 0, "name": { "commentStart": 1533, "end": 0, "name": "templateDiameter", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 1552, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" }, { "commentStart": 1563, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1465, "end": 0, "name": { "commentStart": 1465, "end": 0, "name": "startProfileAt", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1465, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1577, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "commentStart": 1587, "end": 0, "raw": "7", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 7.0, "suffix": "None" } }, "commentStart": 1586, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 1590, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1596, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "rectangleSegmentA001" } } ], "callee": { "abs_path": false, "commentStart": 1571, "end": 0, "name": { "commentStart": 1571, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1571, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 1635, "elements": [ { "commentStart": 1644, "end": 0, "left": { "arguments": [ { "abs_path": false, "commentStart": 1651, "end": 0, "name": { "commentStart": 1651, "end": 0, "name": "rectangleSegmentA001", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 1644, "end": 0, "name": { "commentStart": 1644, "end": 0, "name": "segAng", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1644, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, "operator": "+", "right": { "commentStart": 1675, "end": 0, "raw": "90", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 90.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "abs_path": false, "commentStart": 1686, "end": 0, "name": { "commentStart": 1686, "end": 0, "name": "minClampingDistance", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" }, { "commentStart": 1714, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" }, { "commentStart": 1717, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "rectangleSegmentB001" } ], "callee": { "abs_path": false, "commentStart": 1624, "end": 0, "name": { "commentStart": 1624, "end": 0, "name": "angledLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1624, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 1756, "elements": [ { "arguments": [ { "abs_path": false, "commentStart": 1772, "end": 0, "name": { "commentStart": 1772, "end": 0, "name": "rectangleSegmentA001", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 1765, "end": 0, "name": { "commentStart": 1765, "end": 0, "name": "segAng", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1765, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "argument": { "arguments": [ { "abs_path": false, "commentStart": 1810, "end": 0, "name": { "commentStart": 1810, "end": 0, "name": "rectangleSegmentA001", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 1803, "end": 0, "name": { "commentStart": 1803, "end": 0, "name": "segLen", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1803, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, "commentStart": 1802, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" }, { "commentStart": 1840, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" }, { "commentStart": 1843, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "rectangleSegmentC001" } ], "callee": { "abs_path": false, "commentStart": 1745, "end": 0, "name": { "commentStart": 1745, "end": 0, "name": "angledLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1745, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1876, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1890, "elements": [ { "arguments": [ { "commentStart": 1905, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1891, "end": 0, "name": { "commentStart": 1891, "end": 0, "name": "profileStartX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1891, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 1923, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1909, "end": 0, "name": { "commentStart": 1909, "end": 0, "name": "profileStartY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1909, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "abs_path": false, "commentStart": 1871, "end": 0, "name": { "commentStart": 1871, "end": 0, "name": "line", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1871, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [], "callee": { "abs_path": false, "commentStart": 1933, "end": 0, "name": { "commentStart": 1933, "end": 0, "name": "close", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1933, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "commentStart": 1425, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "6": [ { "commentStart": 1940, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLineBlockComment", "value": "Extrude the second sketch", "style": "line" } } ] }, "startNodes": [] }, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// Create the second sketch" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 1971, "declaration": { "commentStart": 1971, "end": 0, "id": { "commentStart": 1971, "end": 0, "name": "extrude002", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2003, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2012, "end": 0, "raw": "7.5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 7.5, "suffix": "None" } } } ], "callee": { "abs_path": false, "commentStart": 1984, "end": 0, "name": { "commentStart": 1984, "end": 0, "name": "extrude", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1984, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 1992, "end": 0, "name": { "commentStart": 1992, "end": 0, "name": "sketch002", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 2016, "declaration": { "commentStart": 2045, "end": 0, "id": { "commentStart": 2045, "end": 0, "name": "sketch003", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "abs_path": false, "commentStart": 2071, "end": 0, "name": { "commentStart": 2071, "end": 0, "name": "extrude001", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, { "commentStart": 2083, "end": 0, "raw": "'START'", "start": 0, "type": "Literal", "type": "Literal", "value": "START" } ], "callee": { "abs_path": false, "commentStart": 2057, "end": 0, "name": { "commentStart": 2057, "end": 0, "name": "startSketchOn", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2057, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 2112, "elements": [ { "abs_path": false, "commentStart": 2121, "end": 0, "name": { "commentStart": 2121, "end": 0, "name": "slateWidthHalf", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, { "commentStart": 2144, "end": 0, "left": { "commentStart": 2144, "end": 0, "left": { "argument": { "abs_path": false, "commentStart": 2145, "end": 0, "name": { "commentStart": 2145, "end": 0, "name": "templateGap", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 2144, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" }, "operator": "*", "right": { "commentStart": 2159, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "-", "right": { "commentStart": 2164, "end": 0, "left": { "abs_path": false, "commentStart": 2164, "end": 0, "name": { "commentStart": 2164, "end": 0, "name": "templateDiameter", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 2183, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" }, { "commentStart": 2194, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 2097, "end": 0, "name": { "commentStart": 2097, "end": 0, "name": "startProfileAt", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2097, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2208, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2217, "end": 0, "raw": "7", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 7.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 2220, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2226, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "rectangleSegmentA002" } } ], "callee": { "abs_path": false, "commentStart": 2202, "end": 0, "name": { "commentStart": 2202, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2202, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 2265, "elements": [ { "commentStart": 2274, "end": 0, "left": { "arguments": [ { "abs_path": false, "commentStart": 2281, "end": 0, "name": { "commentStart": 2281, "end": 0, "name": "rectangleSegmentA002", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 2274, "end": 0, "name": { "commentStart": 2274, "end": 0, "name": "segAng", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2274, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, "operator": "-", "right": { "commentStart": 2305, "end": 0, "raw": "90", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 90.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "abs_path": false, "commentStart": 2316, "end": 0, "name": { "commentStart": 2316, "end": 0, "name": "minClampingDistance", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" }, { "commentStart": 2344, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 2254, "end": 0, "name": { "commentStart": 2254, "end": 0, "name": "angledLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2254, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 2363, "elements": [ { "arguments": [ { "abs_path": false, "commentStart": 2379, "end": 0, "name": { "commentStart": 2379, "end": 0, "name": "rectangleSegmentA002", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 2372, "end": 0, "name": { "commentStart": 2372, "end": 0, "name": "segAng", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2372, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "argument": { "arguments": [ { "abs_path": false, "commentStart": 2417, "end": 0, "name": { "commentStart": 2417, "end": 0, "name": "rectangleSegmentA002", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 2410, "end": 0, "name": { "commentStart": 2410, "end": 0, "name": "segLen", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2410, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, "commentStart": 2409, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" }, { "commentStart": 2447, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 2352, "end": 0, "name": { "commentStart": 2352, "end": 0, "name": "angledLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2352, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2460, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2474, "elements": [ { "arguments": [ { "commentStart": 2489, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 2475, "end": 0, "name": { "commentStart": 2475, "end": 0, "name": "profileStartX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2475, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 2507, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 2493, "end": 0, "name": { "commentStart": 2493, "end": 0, "name": "profileStartY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2493, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "abs_path": false, "commentStart": 2455, "end": 0, "name": { "commentStart": 2455, "end": 0, "name": "line", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2455, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [], "callee": { "abs_path": false, "commentStart": 2517, "end": 0, "name": { "commentStart": 2517, "end": 0, "name": "close", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2517, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "commentStart": 2057, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "6": [ { "commentStart": 2524, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLineBlockComment", "value": "Extrude the third Sketch", "style": "line" } } ] }, "startNodes": [] }, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// Create the third sketch" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 2554, "declaration": { "commentStart": 2554, "end": 0, "id": { "commentStart": 2554, "end": 0, "name": "extrude003", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2586, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2595, "end": 0, "raw": "7.5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 7.5, "suffix": "None" } } } ], "callee": { "abs_path": false, "commentStart": 2567, "end": 0, "name": { "commentStart": 2567, "end": 0, "name": "extrude", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2567, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 2575, "end": 0, "name": { "commentStart": 2575, "end": 0, "name": "sketch003", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" } ], "commentStart": 0, "end": 0, "innerAttrs": [ { "commentStart": 0, "end": 0, "name": { "commentStart": 94, "end": 0, "name": "settings", "start": 0, "type": "Identifier" }, "preComments": [ "// Router template for a slate", "// A guide for routing a slate for a cross bar.", "", "", "// Set Units" ], "properties": [ { "commentStart": 103, "end": 0, "key": { "commentStart": 103, "end": 0, "name": "defaultLengthUnit", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "abs_path": false, "commentStart": 123, "end": 0, "name": { "commentStart": 123, "end": 0, "name": "mm", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "start": 0, "type": "Annotation" } ], "nonCodeMeta": { "nonCodeNodes": {}, "startNodes": [ { "commentStart": 126, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLine" } } ] }, "start": 0 } }