--- source: kcl-lib/src/simulation_tests.rs description: Result of parsing poop_chute.kcl --- { "Ok": { "body": [ { "commentStart": 0, "declaration": { "commentStart": 0, "end": 0, "id": { "commentStart": 0, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "init": { "commentStart": 17, "end": 0, "raw": "0.125", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.125, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 23, "declaration": { "commentStart": 23, "end": 0, "id": { "commentStart": 23, "end": 0, "name": "back_walls_width", "start": 0, "type": "Identifier" }, "init": { "commentStart": 42, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 44, "declaration": { "commentStart": 44, "end": 0, "id": { "commentStart": 44, "end": 0, "name": "front_walls_width", "start": 0, "type": "Identifier" }, "init": { "commentStart": 64, "end": 0, "raw": "2.5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.5, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 68, "declaration": { "commentStart": 68, "end": 0, "id": { "commentStart": 68, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "init": { "commentStart": 77, "end": 0, "raw": "5.5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 5.5, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 81, "declaration": { "commentStart": 81, "end": 0, "id": { "commentStart": 81, "end": 0, "name": "filletRadius", "start": 0, "type": "Identifier" }, "init": { "commentStart": 96, "end": 0, "raw": "0.050", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.05, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 102, "declaration": { "commentStart": 102, "end": 0, "id": { "commentStart": 102, "end": 0, "name": "back_length", "start": 0, "type": "Identifier" }, "init": { "commentStart": 116, "end": 0, "raw": "7", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 7.0, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 118, "declaration": { "commentStart": 118, "end": 0, "id": { "commentStart": 118, "end": 0, "name": "exit_height", "start": 0, "type": "Identifier" }, "init": { "commentStart": 132, "end": 0, "raw": "1", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 134, "declaration": { "commentStart": 134, "end": 0, "id": { "commentStart": 134, "end": 0, "name": "front_length", "start": 0, "type": "Identifier" }, "init": { "commentStart": 149, "end": 0, "raw": "6", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 6.0, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 151, "declaration": { "commentStart": 151, "end": 0, "id": { "commentStart": 151, "end": 0, "name": "Fx", "start": 0, "type": "Identifier" }, "init": { "commentStart": 156, "end": 0, "raw": "0.5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.5, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 160, "declaration": { "commentStart": 160, "end": 0, "id": { "commentStart": 160, "end": 0, "name": "Fy", "start": 0, "type": "Identifier" }, "init": { "commentStart": 165, "end": 0, "raw": "0.5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.5, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 168, "declaration": { "commentStart": 170, "end": 0, "id": { "commentStart": 170, "end": 0, "name": "sketch001", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "argument": { "abs_path": false, "commentStart": 197, "end": 0, "name": { "commentStart": 197, "end": 0, "name": "YZ", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 196, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } ], "callee": { "abs_path": false, "commentStart": 182, "end": 0, "name": { "commentStart": 182, "end": 0, "name": "startSketchOn", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 182, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 221, "elements": [ { "commentStart": 222, "end": 0, "left": { "abs_path": false, "commentStart": 222, "end": 0, "name": { "commentStart": 222, "end": 0, "name": "back_walls_width", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 241, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 244, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" }, { "commentStart": 248, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 206, "end": 0, "name": { "commentStart": 206, "end": 0, "name": "startProfileAt", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 206, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 262, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 271, "end": 0, "left": { "abs_path": false, "commentStart": 271, "end": 0, "name": { "commentStart": 271, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 288, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 256, "end": 0, "name": { "commentStart": 256, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 256, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 310, "end": 0, "properties": [ { "commentStart": 312, "end": 0, "key": { "commentStart": 312, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 320, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } } }, { "commentStart": 324, "end": 0, "key": { "commentStart": 324, "end": 0, "name": "to", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "abs_path": false, "commentStart": 329, "end": 0, "name": { "commentStart": 329, "end": 0, "name": "back_walls_width", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 349, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" }, { "commentStart": 352, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "seg01" } ], "callee": { "abs_path": false, "commentStart": 296, "end": 0, "name": { "commentStart": 296, "end": 0, "name": "angledLineToX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 296, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 371, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 385, "end": 0, "name": { "commentStart": 385, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 365, "end": 0, "name": { "commentStart": 365, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 365, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 404, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "abs_path": false, "commentStart": 414, "end": 0, "name": { "commentStart": 414, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 413, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 398, "end": 0, "name": { "commentStart": 398, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 398, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 441, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "arguments": [ { "abs_path": false, "commentStart": 463, "end": 0, "name": { "commentStart": 463, "end": 0, "name": "seg01", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 455, "end": 0, "name": { "commentStart": 455, "end": 0, "name": "segEndY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 455, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } } ], "callee": { "abs_path": false, "commentStart": 435, "end": 0, "name": { "commentStart": 435, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 435, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 490, "end": 0, "properties": [ { "commentStart": 499, "end": 0, "key": { "commentStart": 499, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 507, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } } }, { "commentStart": 518, "end": 0, "key": { "commentStart": 518, "end": 0, "name": "to", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 523, "end": 0, "left": { "commentStart": 523, "end": 0, "left": { "abs_path": false, "commentStart": 523, "end": 0, "name": { "commentStart": 523, "end": 0, "name": "back_walls_width", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 542, "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": 546, "end": 0, "left": { "abs_path": false, "commentStart": 546, "end": 0, "name": { "commentStart": 546, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 563, "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" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 573, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 476, "end": 0, "name": { "commentStart": 476, "end": 0, "name": "angledLineToX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 476, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 587, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "abs_path": false, "commentStart": 597, "end": 0, "name": { "commentStart": 597, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 596, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 581, "end": 0, "name": { "commentStart": 581, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 581, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 632, "end": 0, "properties": [ { "commentStart": 641, "end": 0, "key": { "commentStart": 641, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 649, "end": 0, "left": { "commentStart": 649, "end": 0, "raw": "180", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 180.0, "suffix": "None" } }, "operator": "-", "right": { "commentStart": 655, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } }, { "commentStart": 666, "end": 0, "key": { "commentStart": 666, "end": 0, "name": "to", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "abs_path": false, "commentStart": 671, "end": 0, "name": { "commentStart": 671, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 694, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 618, "end": 0, "name": { "commentStart": 618, "end": 0, "name": "angledLineToX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 618, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 708, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 722, "end": 0, "name": { "commentStart": 722, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 702, "end": 0, "name": { "commentStart": 702, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 702, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 741, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 755, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } } ], "callee": { "abs_path": false, "commentStart": 735, "end": 0, "name": { "commentStart": 735, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 735, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 769, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "arguments": [ { "abs_path": false, "commentStart": 791, "end": 0, "name": { "commentStart": 791, "end": 0, "name": "seg01", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 783, "end": 0, "name": { "commentStart": 783, "end": 0, "name": "segEndY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 783, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } } ], "callee": { "abs_path": false, "commentStart": 763, "end": 0, "name": { "commentStart": 763, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 763, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 818, "end": 0, "properties": [ { "commentStart": 820, "end": 0, "key": { "commentStart": 820, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 828, "end": 0, "left": { "commentStart": 828, "end": 0, "raw": "180", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 180.0, "suffix": "None" } }, "operator": "-", "right": { "commentStart": 834, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } }, { "commentStart": 838, "end": 0, "key": { "commentStart": 838, "end": 0, "name": "to", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 843, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 848, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 804, "end": 0, "name": { "commentStart": 804, "end": 0, "name": "angledLineToY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 804, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 862, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 856, "end": 0, "name": { "commentStart": 856, "end": 0, "name": "close", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 856, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "commentStart": 182, "end": 0, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 865, "declaration": { "commentStart": 865, "end": 0, "id": { "commentStart": 865, "end": 0, "name": "part001", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 899, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 907, "end": 0, "raw": "90", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 90.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 913, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 920, "end": 0, "properties": [ { "commentStart": 926, "end": 0, "key": { "commentStart": 926, "end": 0, "name": "direction", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 938, "elements": [ { "commentStart": 939, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 944, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "commentStart": 954, "end": 0, "key": { "commentStart": 954, "end": 0, "name": "origin", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 963, "elements": [ { "commentStart": 964, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 969, "end": 0, "left": { "abs_path": false, "commentStart": 969, "end": 0, "name": { "commentStart": 969, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 978, "end": 0, "raw": ".0000001", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0000001, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" } } ], "callee": { "abs_path": false, "commentStart": 875, "end": 0, "name": { "commentStart": 875, "end": 0, "name": "revolve", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 875, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 886, "end": 0, "name": { "commentStart": 886, "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": 994, "declaration": { "commentStart": 996, "end": 0, "id": { "commentStart": 996, "end": 0, "name": "sketch002", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "argument": { "abs_path": false, "commentStart": 1023, "end": 0, "name": { "commentStart": 1023, "end": 0, "name": "YZ", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 1022, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } ], "callee": { "abs_path": false, "commentStart": 1008, "end": 0, "name": { "commentStart": 1008, "end": 0, "name": "startSketchOn", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1008, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 1047, "elements": [ { "commentStart": 1048, "end": 0, "left": { "abs_path": false, "commentStart": 1048, "end": 0, "name": { "commentStart": 1048, "end": 0, "name": "back_walls_width", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 1067, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 1070, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" }, { "commentStart": 1074, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1032, "end": 0, "name": { "commentStart": 1032, "end": 0, "name": "startProfileAt", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1032, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1088, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1097, "end": 0, "left": { "abs_path": false, "commentStart": 1097, "end": 0, "name": { "commentStart": 1097, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 1114, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 1082, "end": 0, "name": { "commentStart": 1082, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1082, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 1136, "end": 0, "properties": [ { "commentStart": 1138, "end": 0, "key": { "commentStart": 1138, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 1146, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } } }, { "commentStart": 1150, "end": 0, "key": { "commentStart": 1150, "end": 0, "name": "to", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "abs_path": false, "commentStart": 1155, "end": 0, "name": { "commentStart": 1155, "end": 0, "name": "back_walls_width", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 1175, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" }, { "commentStart": 1178, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "seg02" } ], "callee": { "abs_path": false, "commentStart": 1122, "end": 0, "name": { "commentStart": 1122, "end": 0, "name": "angledLineToX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1122, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1197, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 1211, "end": 0, "name": { "commentStart": 1211, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 1191, "end": 0, "name": { "commentStart": 1191, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1191, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1230, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "abs_path": false, "commentStart": 1240, "end": 0, "name": { "commentStart": 1240, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 1239, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 1224, "end": 0, "name": { "commentStart": 1224, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1224, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1267, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "arguments": [ { "abs_path": false, "commentStart": 1289, "end": 0, "name": { "commentStart": 1289, "end": 0, "name": "seg01", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 1281, "end": 0, "name": { "commentStart": 1281, "end": 0, "name": "segEndY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1281, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } } ], "callee": { "abs_path": false, "commentStart": 1261, "end": 0, "name": { "commentStart": 1261, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1261, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 1316, "end": 0, "properties": [ { "commentStart": 1325, "end": 0, "key": { "commentStart": 1325, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 1333, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } } }, { "commentStart": 1344, "end": 0, "key": { "commentStart": 1344, "end": 0, "name": "to", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 1349, "end": 0, "left": { "commentStart": 1349, "end": 0, "left": { "abs_path": false, "commentStart": 1349, "end": 0, "name": { "commentStart": 1349, "end": 0, "name": "back_walls_width", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 1368, "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": 1372, "end": 0, "left": { "abs_path": false, "commentStart": 1372, "end": 0, "name": { "commentStart": 1372, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 1389, "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" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 1399, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1302, "end": 0, "name": { "commentStart": 1302, "end": 0, "name": "angledLineToX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1302, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1413, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "abs_path": false, "commentStart": 1423, "end": 0, "name": { "commentStart": 1423, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 1422, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 1407, "end": 0, "name": { "commentStart": 1407, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1407, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 1458, "end": 0, "properties": [ { "commentStart": 1467, "end": 0, "key": { "commentStart": 1467, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 1475, "end": 0, "left": { "commentStart": 1475, "end": 0, "raw": "180", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 180.0, "suffix": "None" } }, "operator": "-", "right": { "commentStart": 1481, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } }, { "commentStart": 1492, "end": 0, "key": { "commentStart": 1492, "end": 0, "name": "to", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "abs_path": false, "commentStart": 1497, "end": 0, "name": { "commentStart": 1497, "end": 0, "name": "wall_thickness", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 1520, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1444, "end": 0, "name": { "commentStart": 1444, "end": 0, "name": "angledLineToX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1444, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1534, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 1548, "end": 0, "name": { "commentStart": 1548, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 1528, "end": 0, "name": { "commentStart": 1528, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1528, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1567, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1581, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } } ], "callee": { "abs_path": false, "commentStart": 1561, "end": 0, "name": { "commentStart": 1561, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1561, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1595, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "arguments": [ { "abs_path": false, "commentStart": 1617, "end": 0, "name": { "commentStart": 1617, "end": 0, "name": "seg02", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 1609, "end": 0, "name": { "commentStart": 1609, "end": 0, "name": "segEndY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1609, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } } ], "callee": { "abs_path": false, "commentStart": 1589, "end": 0, "name": { "commentStart": 1589, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1589, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 1644, "end": 0, "properties": [ { "commentStart": 1646, "end": 0, "key": { "commentStart": 1646, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 1654, "end": 0, "left": { "commentStart": 1654, "end": 0, "raw": "180", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 180.0, "suffix": "None" } }, "operator": "-", "right": { "commentStart": 1660, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } }, { "commentStart": 1664, "end": 0, "key": { "commentStart": 1664, "end": 0, "name": "to", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 1669, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 1674, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1630, "end": 0, "name": { "commentStart": 1630, "end": 0, "name": "angledLineToY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1630, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 1688, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1682, "end": 0, "name": { "commentStart": 1682, "end": 0, "name": "close", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1682, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1704, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1713, "end": 0, "left": { "abs_path": false, "commentStart": 1713, "end": 0, "name": { "commentStart": 1713, "end": 0, "name": "back_length", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "-", "right": { "abs_path": false, "commentStart": 1727, "end": 0, "name": { "commentStart": 1727, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 1696, "end": 0, "name": { "commentStart": 1696, "end": 0, "name": "extrude", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1696, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null } ], "commentStart": 1008, "end": 0, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" } ], "commentStart": 0, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "9": [ { "commentStart": 168, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLine" } } ], "11": [ { "commentStart": 994, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLine" } } ] }, "startNodes": [] }, "start": 0 } }