--- source: kcl-lib/src/simulation_tests.rs description: Result of parsing crazy_multi_profile.kcl --- { "Ok": { "body": [ { "declaration": { "end": 31, "id": { "end": 9, "name": "sketch001", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "end": 30, "raw": "'XZ'", "start": 26, "type": "Literal", "type": "Literal", "value": "XZ" } ], "callee": { "end": 25, "name": "startSketchOn", "start": 12, "type": "Identifier" }, "end": 31, "start": 12, "type": "CallExpression", "type": "CallExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 31, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 249, "id": { "end": 42, "name": "profile001", "start": 32, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "elements": [ { "end": 65, "raw": "6.71", "start": 61, "type": "Literal", "type": "Literal", "value": { "value": 6.71, "suffix": "None" } }, { "argument": { "end": 72, "raw": "3.66", "start": 68, "type": "Literal", "type": "Literal", "value": { "value": 3.66, "suffix": "None" } }, "end": 72, "operator": "-", "start": 67, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 73, "start": 60, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 84, "name": "sketch001", "start": 75, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 59, "name": "startProfileAt", "start": 45, "type": "Identifier" }, "end": 85, "start": 45, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 99, "name": "end", "start": 96, "type": "Identifier" }, "arg": { "elements": [ { "end": 107, "raw": "2.65", "start": 103, "type": "Literal", "type": "Literal", "value": { "value": 2.65, "suffix": "None" } }, { "end": 113, "raw": "9.02", "start": 109, "type": "Literal", "type": "Literal", "value": { "value": 9.02, "suffix": "None" } } ], "end": 114, "start": 102, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "end": 119, "name": "tag", "start": 116, "type": "Identifier" }, "arg": { "end": 128, "start": 122, "type": "TagDeclarator", "type": "TagDeclarator", "value": "seg02" } } ], "callee": { "end": 95, "name": "line", "start": 91, "type": "Identifier" }, "end": 129, "start": 91, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 143, "name": "end", "start": 140, "type": "Identifier" }, "arg": { "elements": [ { "end": 151, "raw": "3.73", "start": 147, "type": "Literal", "type": "Literal", "value": { "value": 3.73, "suffix": "None" } }, { "argument": { "end": 158, "raw": "9.36", "start": 154, "type": "Literal", "type": "Literal", "value": { "value": 9.36, "suffix": "None" } }, "end": 158, "operator": "-", "start": 153, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 159, "start": 146, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "end": 164, "name": "tag", "start": 161, "type": "Identifier" }, "arg": { "end": 173, "start": 167, "type": "TagDeclarator", "type": "TagDeclarator", "value": "seg01" } } ], "callee": { "end": 139, "name": "line", "start": 135, "type": "Identifier" }, "end": 174, "start": 135, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 196, "name": "endAbsolute", "start": 185, "type": "Identifier" }, "arg": { "elements": [ { "arguments": [ { "end": 215, "start": 214, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 213, "name": "profileStartX", "start": 200, "type": "Identifier" }, "end": 216, "start": 200, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "end": 233, "start": 232, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 231, "name": "profileStartY", "start": 218, "type": "Identifier" }, "end": 234, "start": 218, "type": "CallExpression", "type": "CallExpression" } ], "end": 235, "start": 199, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 184, "name": "line", "start": 180, "type": "Identifier" }, "end": 236, "start": 180, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [], "callee": { "end": 247, "name": "close", "start": 242, "type": "Identifier" }, "end": 249, "start": 242, "type": "CallExpression", "type": "CallExpression" } ], "end": 249, "start": 45, "type": "PipeExpression", "type": "PipeExpression" }, "start": 32, "type": "VariableDeclarator" }, "end": 249, "kind": "const", "start": 32, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 295, "id": { "end": 260, "name": "extrude001", "start": 250, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "end": 289, "name": "length", "start": 283, "type": "Identifier" }, "arg": { "end": 294, "raw": "20", "start": 292, "type": "Literal", "type": "Literal", "value": { "value": 20.0, "suffix": "None" } } } ], "callee": { "end": 270, "name": "extrude", "start": 263, "type": "Identifier" }, "end": 295, "start": 263, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "end": 281, "name": "profile001", "start": 271, "type": "Identifier", "type": "Identifier" } }, "start": 250, "type": "VariableDeclarator" }, "end": 295, "kind": "const", "start": 250, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 340, "id": { "end": 305, "name": "sketch002", "start": 296, "type": "Identifier" }, "init": { "arguments": [ { "end": 332, "name": "extrude001", "start": 322, "type": "Identifier", "type": "Identifier" }, { "end": 339, "name": "seg01", "start": 334, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 321, "name": "startSketchOn", "start": 308, "type": "Identifier" }, "end": 340, "start": 308, "type": "CallExpression", "type": "CallExpression" }, "start": 296, "type": "VariableDeclarator" }, "end": 340, "kind": "const", "start": 296, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 455, "id": { "end": 351, "name": "profile002", "start": 341, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "elements": [ { "end": 374, "raw": "0.75", "start": 370, "type": "Literal", "type": "Literal", "value": { "value": 0.75, "suffix": "None" } }, { "end": 381, "raw": "13.46", "start": 376, "type": "Literal", "type": "Literal", "value": { "value": 13.46, "suffix": "None" } } ], "end": 382, "start": 369, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 393, "name": "sketch002", "start": 384, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 368, "name": "startProfileAt", "start": 354, "type": "Identifier" }, "end": 394, "start": 354, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 408, "name": "end", "start": 405, "type": "Identifier" }, "arg": { "elements": [ { "end": 416, "raw": "4.52", "start": 412, "type": "Literal", "type": "Literal", "value": { "value": 4.52, "suffix": "None" } }, { "end": 422, "raw": "3.79", "start": 418, "type": "Literal", "type": "Literal", "value": { "value": 3.79, "suffix": "None" } } ], "end": 423, "start": 411, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 404, "name": "line", "start": 400, "type": "Identifier" }, "end": 424, "start": 400, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 438, "name": "end", "start": 435, "type": "Identifier" }, "arg": { "elements": [ { "end": 446, "raw": "5.98", "start": 442, "type": "Literal", "type": "Literal", "value": { "value": 5.98, "suffix": "None" } }, { "argument": { "end": 453, "raw": "2.81", "start": 449, "type": "Literal", "type": "Literal", "value": { "value": 2.81, "suffix": "None" } }, "end": 453, "operator": "-", "start": 448, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 454, "start": 441, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 434, "name": "line", "start": 430, "type": "Identifier" }, "end": 455, "start": 430, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null } ], "end": 455, "start": 354, "type": "PipeExpression", "type": "PipeExpression" }, "start": 341, "type": "VariableDeclarator" }, "end": 455, "kind": "const", "start": 341, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 822, "id": { "end": 466, "name": "profile003", "start": 456, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "elements": [ { "end": 489, "raw": "3.19", "start": 485, "type": "Literal", "type": "Literal", "value": { "value": 3.19, "suffix": "None" } }, { "end": 495, "raw": "13.3", "start": 491, "type": "Literal", "type": "Literal", "value": { "value": 13.3, "suffix": "None" } } ], "end": 496, "start": 484, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 507, "name": "sketch002", "start": 498, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 483, "name": "startProfileAt", "start": 469, "type": "Identifier" }, "end": 508, "start": 469, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "elements": [ { "end": 527, "raw": "0", "start": 526, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "end": 533, "raw": "6.64", "start": 529, "type": "Literal", "type": "Literal", "value": { "value": 6.64, "suffix": "None" } } ], "end": 534, "start": 525, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 537, "start": 536, "type": "PipeSubstitution", "type": "PipeSubstitution" }, { "end": 560, "start": 539, "type": "TagDeclarator", "type": "TagDeclarator", "value": "rectangleSegmentA001" } ], "callee": { "end": 524, "name": "angledLine", "start": 514, "type": "Identifier" }, "end": 561, "start": 514, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "elements": [ { "end": 620, "left": { "arguments": [ { "end": 614, "name": "rectangleSegmentA001", "start": 594, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 593, "name": "segAng", "start": 587, "type": "Identifier" }, "end": 615, "start": 587, "type": "CallExpression", "type": "CallExpression" }, "operator": "-", "right": { "end": 620, "raw": "90", "start": 618, "type": "Literal", "type": "Literal", "value": { "value": 90.0, "suffix": "None" } }, "start": 587, "type": "BinaryExpression", "type": "BinaryExpression" }, { "end": 633, "raw": "2.81", "start": 629, "type": "Literal", "type": "Literal", "value": { "value": 2.81, "suffix": "None" } } ], "end": 640, "start": 578, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 643, "start": 642, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 577, "name": "angledLine", "start": 567, "type": "Identifier" }, "end": 644, "start": 567, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "elements": [ { "arguments": [ { "end": 697, "name": "rectangleSegmentA001", "start": 677, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 676, "name": "segAng", "start": 670, "type": "Identifier" }, "end": 698, "start": 670, "type": "CallExpression", "type": "CallExpression" }, { "argument": { "arguments": [ { "end": 735, "name": "rectangleSegmentA001", "start": 715, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 714, "name": "segLen", "start": 708, "type": "Identifier" }, "end": 736, "start": 708, "type": "CallExpression", "type": "CallExpression" }, "end": 736, "operator": "-", "start": 707, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 743, "start": 661, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 746, "start": 745, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 660, "name": "angledLine", "start": 650, "type": "Identifier" }, "end": 747, "start": 650, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 769, "name": "endAbsolute", "start": 758, "type": "Identifier" }, "arg": { "elements": [ { "arguments": [ { "end": 788, "start": 787, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 786, "name": "profileStartX", "start": 773, "type": "Identifier" }, "end": 789, "start": 773, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "end": 806, "start": 805, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 804, "name": "profileStartY", "start": 791, "type": "Identifier" }, "end": 807, "start": 791, "type": "CallExpression", "type": "CallExpression" } ], "end": 808, "start": 772, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 757, "name": "line", "start": 753, "type": "Identifier" }, "end": 809, "start": 753, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [], "callee": { "end": 820, "name": "close", "start": 815, "type": "Identifier" }, "end": 822, "start": 815, "type": "CallExpression", "type": "CallExpression" } ], "end": 822, "start": 469, "type": "PipeExpression", "type": "PipeExpression" }, "start": 456, "type": "VariableDeclarator" }, "end": 822, "kind": "const", "start": 456, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 1008, "id": { "end": 833, "name": "profile004", "start": 823, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "elements": [ { "end": 856, "raw": "3.15", "start": 852, "type": "Literal", "type": "Literal", "value": { "value": 3.15, "suffix": "None" } }, { "end": 862, "raw": "9.39", "start": 858, "type": "Literal", "type": "Literal", "value": { "value": 9.39, "suffix": "None" } } ], "end": 863, "start": 851, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 874, "name": "sketch002", "start": 865, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 850, "name": "startProfileAt", "start": 836, "type": "Identifier" }, "end": 875, "start": 836, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 893, "name": "length", "start": 887, "type": "Identifier" }, "arg": { "end": 900, "raw": "6.92", "start": 896, "type": "Literal", "type": "Literal", "value": { "value": 6.92, "suffix": "None" } } } ], "callee": { "end": 886, "name": "xLine", "start": 881, "type": "Identifier" }, "end": 901, "start": 881, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 915, "name": "end", "start": 912, "type": "Identifier" }, "arg": { "elements": [ { "argument": { "end": 924, "raw": "7.41", "start": 920, "type": "Literal", "type": "Literal", "value": { "value": 7.41, "suffix": "None" } }, "end": 924, "operator": "-", "start": 919, "type": "UnaryExpression", "type": "UnaryExpression" }, { "argument": { "end": 931, "raw": "2.85", "start": 927, "type": "Literal", "type": "Literal", "value": { "value": 2.85, "suffix": "None" } }, "end": 931, "operator": "-", "start": 926, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 932, "start": 918, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 911, "name": "line", "start": 907, "type": "Identifier" }, "end": 933, "start": 907, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 955, "name": "endAbsolute", "start": 944, "type": "Identifier" }, "arg": { "elements": [ { "arguments": [ { "end": 974, "start": 973, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 972, "name": "profileStartX", "start": 959, "type": "Identifier" }, "end": 975, "start": 959, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "end": 992, "start": 991, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 990, "name": "profileStartY", "start": 977, "type": "Identifier" }, "end": 993, "start": 977, "type": "CallExpression", "type": "CallExpression" } ], "end": 994, "start": 958, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 943, "name": "line", "start": 939, "type": "Identifier" }, "end": 995, "start": 939, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [], "callee": { "end": 1006, "name": "close", "start": 1001, "type": "Identifier" }, "end": 1008, "start": 1001, "type": "CallExpression", "type": "CallExpression" } ], "end": 1008, "start": 836, "type": "PipeExpression", "type": "PipeExpression" }, "start": 823, "type": "VariableDeclarator" }, "end": 1008, "kind": "const", "start": 823, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 1077, "id": { "end": 1019, "name": "profile005", "start": 1009, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "end": 1046, "name": "center", "start": 1040, "type": "Identifier" }, "arg": { "elements": [ { "end": 1054, "raw": "5.15", "start": 1050, "type": "Literal", "type": "Literal", "value": { "value": 5.15, "suffix": "None" } }, { "end": 1060, "raw": "4.34", "start": 1056, "type": "Literal", "type": "Literal", "value": { "value": 4.34, "suffix": "None" } } ], "end": 1061, "start": 1049, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "end": 1069, "name": "radius", "start": 1063, "type": "Identifier" }, "arg": { "end": 1076, "raw": "1.66", "start": 1072, "type": "Literal", "type": "Literal", "value": { "value": 1.66, "suffix": "None" } } } ], "callee": { "end": 1028, "name": "circle", "start": 1022, "type": "Identifier" }, "end": 1077, "start": 1022, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "end": 1038, "name": "sketch002", "start": 1029, "type": "Identifier", "type": "Identifier" } }, "start": 1009, "type": "VariableDeclarator" }, "end": 1077, "kind": "const", "start": 1009, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 1266, "id": { "end": 1088, "name": "profile006", "start": 1078, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "elements": [ { "end": 1111, "raw": "9.65", "start": 1107, "type": "Literal", "type": "Literal", "value": { "value": 9.65, "suffix": "None" } }, { "end": 1117, "raw": "3.82", "start": 1113, "type": "Literal", "type": "Literal", "value": { "value": 3.82, "suffix": "None" } } ], "end": 1118, "start": 1106, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 1129, "name": "sketch002", "start": 1120, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 1105, "name": "startProfileAt", "start": 1091, "type": "Identifier" }, "end": 1130, "start": 1091, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1144, "name": "end", "start": 1141, "type": "Identifier" }, "arg": { "elements": [ { "end": 1152, "raw": "2.38", "start": 1148, "type": "Literal", "type": "Literal", "value": { "value": 2.38, "suffix": "None" } }, { "end": 1158, "raw": "5.62", "start": 1154, "type": "Literal", "type": "Literal", "value": { "value": 5.62, "suffix": "None" } } ], "end": 1159, "start": 1147, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1140, "name": "line", "start": 1136, "type": "Identifier" }, "end": 1160, "start": 1136, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1174, "name": "end", "start": 1171, "type": "Identifier" }, "arg": { "elements": [ { "end": 1182, "raw": "2.13", "start": 1178, "type": "Literal", "type": "Literal", "value": { "value": 2.13, "suffix": "None" } }, { "argument": { "end": 1189, "raw": "5.57", "start": 1185, "type": "Literal", "type": "Literal", "value": { "value": 5.57, "suffix": "None" } }, "end": 1189, "operator": "-", "start": 1184, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 1190, "start": 1177, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1170, "name": "line", "start": 1166, "type": "Identifier" }, "end": 1191, "start": 1166, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1213, "name": "endAbsolute", "start": 1202, "type": "Identifier" }, "arg": { "elements": [ { "arguments": [ { "end": 1232, "start": 1231, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 1230, "name": "profileStartX", "start": 1217, "type": "Identifier" }, "end": 1233, "start": 1217, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "end": 1250, "start": 1249, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 1248, "name": "profileStartY", "start": 1235, "type": "Identifier" }, "end": 1251, "start": 1235, "type": "CallExpression", "type": "CallExpression" } ], "end": 1252, "start": 1216, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1201, "name": "line", "start": 1197, "type": "Identifier" }, "end": 1253, "start": 1197, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [], "callee": { "end": 1264, "name": "close", "start": 1259, "type": "Identifier" }, "end": 1266, "start": 1259, "type": "CallExpression", "type": "CallExpression" } ], "end": 1266, "start": 1091, "type": "PipeExpression", "type": "PipeExpression" }, "start": 1078, "type": "VariableDeclarator" }, "end": 1266, "kind": "const", "start": 1078, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 1346, "id": { "end": 1277, "name": "revolve001", "start": 1267, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "end": 1305, "name": "angle", "start": 1300, "type": "Identifier" }, "arg": { "end": 1310, "raw": "45", "start": 1308, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "end": 1316, "name": "axis", "start": 1312, "type": "Identifier" }, "arg": { "arguments": [ { "end": 1344, "name": "seg01", "start": 1339, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 1338, "name": "getNextAdjacentEdge", "start": 1319, "type": "Identifier" }, "end": 1345, "start": 1319, "type": "CallExpression", "type": "CallExpression" } } ], "callee": { "end": 1287, "name": "revolve", "start": 1280, "type": "Identifier" }, "end": 1346, "start": 1280, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "end": 1298, "name": "profile004", "start": 1288, "type": "Identifier", "type": "Identifier" } }, "start": 1267, "type": "VariableDeclarator" }, "end": 1346, "kind": "const", "start": 1267, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 1391, "id": { "end": 1357, "name": "extrude002", "start": 1347, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "end": 1386, "name": "length", "start": 1380, "type": "Identifier" }, "arg": { "end": 1390, "raw": "4", "start": 1389, "type": "Literal", "type": "Literal", "value": { "value": 4.0, "suffix": "None" } } } ], "callee": { "end": 1367, "name": "extrude", "start": 1360, "type": "Identifier" }, "end": 1391, "start": 1360, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "end": 1378, "name": "profile006", "start": 1368, "type": "Identifier", "type": "Identifier" } }, "start": 1347, "type": "VariableDeclarator" }, "end": 1391, "kind": "const", "start": 1347, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 1424, "id": { "end": 1401, "name": "sketch003", "start": 1392, "type": "Identifier" }, "init": { "arguments": [ { "end": 1423, "raw": "'-XZ'", "start": 1418, "type": "Literal", "type": "Literal", "value": "-XZ" } ], "callee": { "end": 1417, "name": "startSketchOn", "start": 1404, "type": "Identifier" }, "end": 1424, "start": 1404, "type": "CallExpression", "type": "CallExpression" }, "start": 1392, "type": "VariableDeclarator" }, "end": 1424, "kind": "const", "start": 1392, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 1537, "id": { "end": 1435, "name": "profile007", "start": 1425, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "elements": [ { "end": 1457, "raw": "4.8", "start": 1454, "type": "Literal", "type": "Literal", "value": { "value": 4.8, "suffix": "None" } }, { "end": 1463, "raw": "7.55", "start": 1459, "type": "Literal", "type": "Literal", "value": { "value": 7.55, "suffix": "None" } } ], "end": 1464, "start": 1453, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 1475, "name": "sketch003", "start": 1466, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 1452, "name": "startProfileAt", "start": 1438, "type": "Identifier" }, "end": 1476, "start": 1438, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1490, "name": "end", "start": 1487, "type": "Identifier" }, "arg": { "elements": [ { "end": 1498, "raw": "7.39", "start": 1494, "type": "Literal", "type": "Literal", "value": { "value": 7.39, "suffix": "None" } }, { "end": 1504, "raw": "2.58", "start": 1500, "type": "Literal", "type": "Literal", "value": { "value": 2.58, "suffix": "None" } } ], "end": 1505, "start": 1493, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1486, "name": "line", "start": 1482, "type": "Identifier" }, "end": 1506, "start": 1482, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1520, "name": "end", "start": 1517, "type": "Identifier" }, "arg": { "elements": [ { "end": 1528, "raw": "7.02", "start": 1524, "type": "Literal", "type": "Literal", "value": { "value": 7.02, "suffix": "None" } }, { "argument": { "end": 1535, "raw": "2.85", "start": 1531, "type": "Literal", "type": "Literal", "value": { "value": 2.85, "suffix": "None" } }, "end": 1535, "operator": "-", "start": 1530, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 1536, "start": 1523, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1516, "name": "line", "start": 1512, "type": "Identifier" }, "end": 1537, "start": 1512, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null } ], "end": 1537, "start": 1438, "type": "PipeExpression", "type": "PipeExpression" }, "start": 1425, "type": "VariableDeclarator" }, "end": 1537, "kind": "const", "start": 1425, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 1726, "id": { "end": 1548, "name": "profile008", "start": 1538, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "elements": [ { "end": 1571, "raw": "5.54", "start": 1567, "type": "Literal", "type": "Literal", "value": { "value": 5.54, "suffix": "None" } }, { "end": 1577, "raw": "5.49", "start": 1573, "type": "Literal", "type": "Literal", "value": { "value": 5.49, "suffix": "None" } } ], "end": 1578, "start": 1566, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 1589, "name": "sketch003", "start": 1580, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 1565, "name": "startProfileAt", "start": 1551, "type": "Identifier" }, "end": 1590, "start": 1551, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1604, "name": "end", "start": 1601, "type": "Identifier" }, "arg": { "elements": [ { "end": 1612, "raw": "6.34", "start": 1608, "type": "Literal", "type": "Literal", "value": { "value": 6.34, "suffix": "None" } }, { "end": 1618, "raw": "2.64", "start": 1614, "type": "Literal", "type": "Literal", "value": { "value": 2.64, "suffix": "None" } } ], "end": 1619, "start": 1607, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1600, "name": "line", "start": 1596, "type": "Identifier" }, "end": 1620, "start": 1596, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1634, "name": "end", "start": 1631, "type": "Identifier" }, "arg": { "elements": [ { "end": 1642, "raw": "6.33", "start": 1638, "type": "Literal", "type": "Literal", "value": { "value": 6.33, "suffix": "None" } }, { "argument": { "end": 1649, "raw": "2.96", "start": 1645, "type": "Literal", "type": "Literal", "value": { "value": 2.96, "suffix": "None" } }, "end": 1649, "operator": "-", "start": 1644, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 1650, "start": 1637, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1630, "name": "line", "start": 1626, "type": "Identifier" }, "end": 1651, "start": 1626, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1673, "name": "endAbsolute", "start": 1662, "type": "Identifier" }, "arg": { "elements": [ { "arguments": [ { "end": 1692, "start": 1691, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 1690, "name": "profileStartX", "start": 1677, "type": "Identifier" }, "end": 1693, "start": 1677, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "end": 1710, "start": 1709, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 1708, "name": "profileStartY", "start": 1695, "type": "Identifier" }, "end": 1711, "start": 1695, "type": "CallExpression", "type": "CallExpression" } ], "end": 1712, "start": 1676, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1661, "name": "line", "start": 1657, "type": "Identifier" }, "end": 1713, "start": 1657, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [], "callee": { "end": 1724, "name": "close", "start": 1719, "type": "Identifier" }, "end": 1726, "start": 1719, "type": "CallExpression", "type": "CallExpression" } ], "end": 1726, "start": 1551, "type": "PipeExpression", "type": "PipeExpression" }, "start": 1538, "type": "VariableDeclarator" }, "end": 1726, "kind": "const", "start": 1538, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 1914, "id": { "end": 1737, "name": "profile009", "start": 1727, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "elements": [ { "end": 1760, "raw": "5.23", "start": 1756, "type": "Literal", "type": "Literal", "value": { "value": 5.23, "suffix": "None" } }, { "end": 1766, "raw": "1.95", "start": 1762, "type": "Literal", "type": "Literal", "value": { "value": 1.95, "suffix": "None" } } ], "end": 1767, "start": 1755, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 1778, "name": "sketch003", "start": 1769, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 1754, "name": "startProfileAt", "start": 1740, "type": "Identifier" }, "end": 1779, "start": 1740, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1793, "name": "end", "start": 1790, "type": "Identifier" }, "arg": { "elements": [ { "end": 1800, "raw": "6.8", "start": 1797, "type": "Literal", "type": "Literal", "value": { "value": 6.8, "suffix": "None" } }, { "end": 1806, "raw": "2.17", "start": 1802, "type": "Literal", "type": "Literal", "value": { "value": 2.17, "suffix": "None" } } ], "end": 1807, "start": 1796, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1789, "name": "line", "start": 1785, "type": "Identifier" }, "end": 1808, "start": 1785, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1822, "name": "end", "start": 1819, "type": "Identifier" }, "arg": { "elements": [ { "end": 1830, "raw": "7.34", "start": 1826, "type": "Literal", "type": "Literal", "value": { "value": 7.34, "suffix": "None" } }, { "argument": { "end": 1837, "raw": "2.75", "start": 1833, "type": "Literal", "type": "Literal", "value": { "value": 2.75, "suffix": "None" } }, "end": 1837, "operator": "-", "start": 1832, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 1838, "start": 1825, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1818, "name": "line", "start": 1814, "type": "Identifier" }, "end": 1839, "start": 1814, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 1861, "name": "endAbsolute", "start": 1850, "type": "Identifier" }, "arg": { "elements": [ { "arguments": [ { "end": 1880, "start": 1879, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 1878, "name": "profileStartX", "start": 1865, "type": "Identifier" }, "end": 1881, "start": 1865, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "end": 1898, "start": 1897, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 1896, "name": "profileStartY", "start": 1883, "type": "Identifier" }, "end": 1899, "start": 1883, "type": "CallExpression", "type": "CallExpression" } ], "end": 1900, "start": 1864, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 1849, "name": "line", "start": 1845, "type": "Identifier" }, "end": 1901, "start": 1845, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [], "callee": { "end": 1912, "name": "close", "start": 1907, "type": "Identifier" }, "end": 1914, "start": 1907, "type": "CallExpression", "type": "CallExpression" } ], "end": 1914, "start": 1740, "type": "PipeExpression", "type": "PipeExpression" }, "start": 1727, "type": "VariableDeclarator" }, "end": 1914, "kind": "const", "start": 1727, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 1984, "id": { "end": 1925, "name": "profile010", "start": 1915, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "end": 1952, "name": "center", "start": 1946, "type": "Identifier" }, "arg": { "elements": [ { "end": 1960, "raw": "7.18", "start": 1956, "type": "Literal", "type": "Literal", "value": { "value": 7.18, "suffix": "None" } }, { "argument": { "end": 1967, "raw": "2.11", "start": 1963, "type": "Literal", "type": "Literal", "value": { "value": 2.11, "suffix": "None" } }, "end": 1967, "operator": "-", "start": 1962, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 1968, "start": 1955, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "end": 1976, "name": "radius", "start": 1970, "type": "Identifier" }, "arg": { "end": 1983, "raw": "2.67", "start": 1979, "type": "Literal", "type": "Literal", "value": { "value": 2.67, "suffix": "None" } } } ], "callee": { "end": 1934, "name": "circle", "start": 1928, "type": "Identifier" }, "end": 1984, "start": 1928, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "end": 1944, "name": "sketch003", "start": 1935, "type": "Identifier", "type": "Identifier" } }, "start": 1915, "type": "VariableDeclarator" }, "end": 1984, "kind": "const", "start": 1915, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 2352, "id": { "end": 1995, "name": "profile011", "start": 1985, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "elements": [ { "end": 2018, "raw": "5.07", "start": 2014, "type": "Literal", "type": "Literal", "value": { "value": 5.07, "suffix": "None" } }, { "argument": { "end": 2025, "raw": "6.39", "start": 2021, "type": "Literal", "type": "Literal", "value": { "value": 6.39, "suffix": "None" } }, "end": 2025, "operator": "-", "start": 2020, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 2026, "start": 2013, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 2037, "name": "sketch003", "start": 2028, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 2012, "name": "startProfileAt", "start": 1998, "type": "Identifier" }, "end": 2038, "start": 1998, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "elements": [ { "end": 2057, "raw": "0", "start": 2056, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "end": 2063, "raw": "4.54", "start": 2059, "type": "Literal", "type": "Literal", "value": { "value": 4.54, "suffix": "None" } } ], "end": 2064, "start": 2055, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 2067, "start": 2066, "type": "PipeSubstitution", "type": "PipeSubstitution" }, { "end": 2090, "start": 2069, "type": "TagDeclarator", "type": "TagDeclarator", "value": "rectangleSegmentA002" } ], "callee": { "end": 2054, "name": "angledLine", "start": 2044, "type": "Identifier" }, "end": 2091, "start": 2044, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "elements": [ { "end": 2150, "left": { "arguments": [ { "end": 2144, "name": "rectangleSegmentA002", "start": 2124, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 2123, "name": "segAng", "start": 2117, "type": "Identifier" }, "end": 2145, "start": 2117, "type": "CallExpression", "type": "CallExpression" }, "operator": "-", "right": { "end": 2150, "raw": "90", "start": 2148, "type": "Literal", "type": "Literal", "value": { "value": 90.0, "suffix": "None" } }, "start": 2117, "type": "BinaryExpression", "type": "BinaryExpression" }, { "end": 2163, "raw": "4.17", "start": 2159, "type": "Literal", "type": "Literal", "value": { "value": 4.17, "suffix": "None" } } ], "end": 2170, "start": 2108, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 2173, "start": 2172, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 2107, "name": "angledLine", "start": 2097, "type": "Identifier" }, "end": 2174, "start": 2097, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "elements": [ { "arguments": [ { "end": 2227, "name": "rectangleSegmentA002", "start": 2207, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 2206, "name": "segAng", "start": 2200, "type": "Identifier" }, "end": 2228, "start": 2200, "type": "CallExpression", "type": "CallExpression" }, { "argument": { "arguments": [ { "end": 2265, "name": "rectangleSegmentA002", "start": 2245, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 2244, "name": "segLen", "start": 2238, "type": "Identifier" }, "end": 2266, "start": 2238, "type": "CallExpression", "type": "CallExpression" }, "end": 2266, "operator": "-", "start": 2237, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 2273, "start": 2191, "type": "ArrayExpression", "type": "ArrayExpression" }, { "end": 2276, "start": 2275, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 2190, "name": "angledLine", "start": 2180, "type": "Identifier" }, "end": 2277, "start": 2180, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "end": 2299, "name": "endAbsolute", "start": 2288, "type": "Identifier" }, "arg": { "elements": [ { "arguments": [ { "end": 2318, "start": 2317, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 2316, "name": "profileStartX", "start": 2303, "type": "Identifier" }, "end": 2319, "start": 2303, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "end": 2336, "start": 2335, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "end": 2334, "name": "profileStartY", "start": 2321, "type": "Identifier" }, "end": 2337, "start": 2321, "type": "CallExpression", "type": "CallExpression" } ], "end": 2338, "start": 2302, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "end": 2287, "name": "line", "start": 2283, "type": "Identifier" }, "end": 2339, "start": 2283, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [], "callee": { "end": 2350, "name": "close", "start": 2345, "type": "Identifier" }, "end": 2352, "start": 2345, "type": "CallExpression", "type": "CallExpression" } ], "end": 2352, "start": 1998, "type": "PipeExpression", "type": "PipeExpression" }, "start": 1985, "type": "VariableDeclarator" }, "end": 2352, "kind": "const", "start": 1985, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 2399, "id": { "end": 2363, "name": "extrude003", "start": 2353, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "end": 2392, "name": "length", "start": 2386, "type": "Identifier" }, "arg": { "end": 2398, "raw": "2.5", "start": 2395, "type": "Literal", "type": "Literal", "value": { "value": 2.5, "suffix": "None" } } } ], "callee": { "end": 2373, "name": "extrude", "start": 2366, "type": "Identifier" }, "end": 2399, "start": 2366, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "end": 2384, "name": "profile011", "start": 2374, "type": "Identifier", "type": "Identifier" } }, "start": 2353, "type": "VariableDeclarator" }, "end": 2399, "kind": "const", "start": 2353, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 2458, "id": { "end": 2410, "name": "revolve002", "start": 2400, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "end": 2438, "name": "angle", "start": 2433, "type": "Identifier" }, "arg": { "end": 2443, "raw": "45", "start": 2441, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "end": 2449, "name": "axis", "start": 2445, "type": "Identifier" }, "arg": { "end": 2457, "name": "seg02", "start": 2452, "type": "Identifier", "type": "Identifier" } } ], "callee": { "end": 2420, "name": "revolve", "start": 2413, "type": "Identifier" }, "end": 2458, "start": 2413, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "end": 2431, "name": "profile008", "start": 2421, "type": "Identifier", "type": "Identifier" } }, "start": 2400, "type": "VariableDeclarator" }, "end": 2458, "kind": "const", "start": 2400, "type": "VariableDeclaration", "type": "VariableDeclaration" } ], "end": 2459, "start": 0 } }