--- source: kcl-lib/src/simulation_tests.rs description: Result of parsing gridfinity-bins-stacking-lip.kcl --- { "Ok": { "body": [ { "commentStart": 442, "declaration": { "commentStart": 464, "end": 0, "id": { "commentStart": 464, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "init": { "commentStart": 476, "end": 0, "raw": "41.5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 41.5, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "// Define constants" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 481, "declaration": { "commentStart": 481, "end": 0, "id": { "commentStart": 481, "end": 0, "name": "binHeight", "start": 0, "type": "Identifier" }, "init": { "commentStart": 493, "end": 0, "raw": "7.0", "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": 497, "declaration": { "commentStart": 497, "end": 0, "id": { "commentStart": 497, "end": 0, "name": "binBaseLength", "start": 0, "type": "Identifier" }, "init": { "commentStart": 513, "end": 0, "raw": "2.95", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.95, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 518, "declaration": { "commentStart": 518, "end": 0, "id": { "commentStart": 518, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "init": { "commentStart": 527, "end": 0, "raw": "0.25", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.25, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 532, "declaration": { "commentStart": 532, "end": 0, "id": { "commentStart": 532, "end": 0, "name": "binThk", "start": 0, "type": "Identifier" }, "init": { "commentStart": 541, "end": 0, "raw": "1.2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.2, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 545, "declaration": { "commentStart": 545, "end": 0, "id": { "commentStart": 545, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "init": { "commentStart": 560, "end": 0, "raw": "3.75", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.75, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 565, "declaration": { "commentStart": 565, "end": 0, "id": { "commentStart": 565, "end": 0, "name": "firstStep", "start": 0, "type": "Identifier" }, "init": { "commentStart": 577, "end": 0, "raw": "0.8", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.8, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 581, "declaration": { "commentStart": 581, "end": 0, "id": { "commentStart": 581, "end": 0, "name": "secondStep", "start": 0, "type": "Identifier" }, "init": { "commentStart": 594, "end": 0, "raw": "1.8", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.8, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 598, "declaration": { "commentStart": 598, "end": 0, "id": { "commentStart": 598, "end": 0, "name": "thirdStep", "start": 0, "type": "Identifier" }, "init": { "commentStart": 610, "end": 0, "raw": "2.15", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.15, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 615, "declaration": { "commentStart": 615, "end": 0, "id": { "commentStart": 615, "end": 0, "name": "magOuterDiam", "start": 0, "type": "Identifier" }, "init": { "commentStart": 630, "end": 0, "raw": "6.5", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 6.5, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 634, "declaration": { "commentStart": 634, "end": 0, "id": { "commentStart": 634, "end": 0, "name": "magOffset", "start": 0, "type": "Identifier" }, "init": { "commentStart": 646, "end": 0, "raw": "4.8", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 4.8, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 650, "declaration": { "commentStart": 650, "end": 0, "id": { "commentStart": 650, "end": 0, "name": "magDepth", "start": 0, "type": "Identifier" }, "init": { "commentStart": 661, "end": 0, "raw": "2.4", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.4, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 665, "declaration": { "commentStart": 665, "end": 0, "id": { "commentStart": 665, "end": 0, "name": "lipRadius", "start": 0, "type": "Identifier" }, "init": { "commentStart": 677, "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": 681, "declaration": { "commentStart": 681, "end": 0, "id": { "commentStart": 681, "end": 0, "name": "lipStep1", "start": 0, "type": "Identifier" }, "init": { "commentStart": 692, "end": 0, "raw": "1.4", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.4, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 696, "declaration": { "commentStart": 696, "end": 0, "id": { "commentStart": 696, "end": 0, "name": "lipStep2", "start": 0, "type": "Identifier" }, "init": { "commentStart": 707, "end": 0, "raw": "1.2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.2, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 711, "declaration": { "commentStart": 711, "end": 0, "id": { "commentStart": 711, "end": 0, "name": "lipStep3", "start": 0, "type": "Identifier" }, "init": { "commentStart": 722, "end": 0, "raw": "0.7", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.7, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 726, "declaration": { "commentStart": 726, "end": 0, "id": { "commentStart": 726, "end": 0, "name": "lipStep4", "start": 0, "type": "Identifier" }, "init": { "commentStart": 737, "end": 0, "raw": "1.8", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.8, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 741, "declaration": { "commentStart": 741, "end": 0, "id": { "commentStart": 741, "end": 0, "name": "lipStep5", "start": 0, "type": "Identifier" }, "init": { "commentStart": 752, "end": 0, "raw": "1.9", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.9, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 755, "declaration": { "commentStart": 793, "end": 0, "id": { "commentStart": 793, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "init": { "commentStart": 809, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// Number of bins in each direction" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 811, "declaration": { "commentStart": 811, "end": 0, "id": { "commentStart": 811, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "init": { "commentStart": 828, "end": 0, "raw": "3", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.0, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 830, "declaration": { "commentStart": 830, "end": 0, "id": { "commentStart": 830, "end": 0, "name": "countBinHeight", "start": 0, "type": "Identifier" }, "init": { "commentStart": 847, "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": 848, "declaration": { "commentStart": 949, "end": 0, "id": { "commentStart": 949, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "init": { "commentStart": 958, "end": 0, "left": { "commentStart": 958, "end": 0, "left": { "abs_path": false, "commentStart": 958, "end": 0, "name": { "commentStart": 958, "end": 0, "name": "firstStep", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 970, "end": 0, "name": { "commentStart": 970, "end": 0, "name": "secondStep", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "+", "right": { "abs_path": false, "commentStart": 983, "end": 0, "name": { "commentStart": 983, "end": 0, "name": "thirdStep", "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", "preComments": [ "", "", "// The total height of the baseplate is a summation of the vertical heights of the baseplate steps" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 993, "declaration": { "commentStart": 993, "end": 0, "id": { "commentStart": 993, "end": 0, "name": "lipHeight", "start": 0, "type": "Identifier" }, "init": { "commentStart": 1005, "end": 0, "left": { "commentStart": 1005, "end": 0, "left": { "commentStart": 1005, "end": 0, "left": { "commentStart": 1005, "end": 0, "left": { "abs_path": false, "commentStart": 1005, "end": 0, "name": { "commentStart": 1005, "end": 0, "name": "lipStep1", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 1016, "end": 0, "name": { "commentStart": 1016, "end": 0, "name": "lipStep2", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "+", "right": { "abs_path": false, "commentStart": 1027, "end": 0, "name": { "commentStart": 1027, "end": 0, "name": "lipStep3", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "+", "right": { "abs_path": false, "commentStart": 1038, "end": 0, "name": { "commentStart": 1038, "end": 0, "name": "lipStep4", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "+", "right": { "abs_path": false, "commentStart": 1049, "end": 0, "name": { "commentStart": 1049, "end": 0, "name": "lipStep5", "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": 1057, "declaration": { "commentStart": 1129, "end": 0, "id": { "commentStart": 1129, "end": 0, "name": "face", "start": 0, "type": "Identifier" }, "init": { "body": { "body": [ { "commentStart": 1145, "declaration": { "commentStart": 1145, "end": 0, "id": { "commentStart": 1145, "end": 0, "name": "faceSketch", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "abs_path": false, "commentStart": 1172, "end": 0, "name": { "commentStart": 1172, "end": 0, "name": "plane", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 1158, "end": 0, "name": { "commentStart": 1158, "end": 0, "name": "startSketchOn", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1158, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 1201, "elements": [ { "commentStart": 1202, "end": 0, "left": { "abs_path": false, "commentStart": 1202, "end": 0, "name": { "commentStart": 1202, "end": 0, "name": "binBaseLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 1218, "end": 0, "name": { "commentStart": 1218, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 1226, "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": 1230, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1186, "end": 0, "name": { "commentStart": 1186, "end": 0, "name": "startProfileAt", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1186, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1246, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 1255, "end": 0, "name": { "commentStart": 1255, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 1240, "end": 0, "name": { "commentStart": 1240, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1240, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1276, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "abs_path": false, "commentStart": 1286, "end": 0, "name": { "commentStart": 1286, "end": 0, "name": "binBaseLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 1285, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 1270, "end": 0, "name": { "commentStart": 1270, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1270, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 1328, "end": 0, "properties": [ { "commentStart": 1330, "end": 0, "key": { "commentStart": 1330, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "argument": { "commentStart": 1339, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } }, "commentStart": 1338, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } }, { "commentStart": 1343, "end": 0, "key": { "commentStart": 1343, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "abs_path": false, "commentStart": 1352, "end": 0, "name": { "commentStart": 1352, "end": 0, "name": "thirdStep", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 1365, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1308, "end": 0, "name": { "commentStart": 1308, "end": 0, "name": "angledLineOfYLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1308, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1381, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "abs_path": false, "commentStart": 1391, "end": 0, "name": { "commentStart": 1391, "end": 0, "name": "secondStep", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 1390, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 1375, "end": 0, "name": { "commentStart": 1375, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1375, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 1430, "end": 0, "properties": [ { "commentStart": 1432, "end": 0, "key": { "commentStart": 1432, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "argument": { "commentStart": 1441, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } }, "commentStart": 1440, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } }, { "commentStart": 1445, "end": 0, "key": { "commentStart": 1445, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "abs_path": false, "commentStart": 1454, "end": 0, "name": { "commentStart": 1454, "end": 0, "name": "firstStep", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 1467, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 1410, "end": 0, "name": { "commentStart": 1410, "end": 0, "name": "angledLineOfYLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1410, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [], "callee": { "abs_path": false, "commentStart": 1477, "end": 0, "name": { "commentStart": 1477, "end": 0, "name": "close", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1477, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "commentStart": 1158, "end": 0, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "argument": { "abs_path": false, "commentStart": 1494, "end": 0, "name": { "commentStart": 1494, "end": 0, "name": "faceSketch", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 1487, "end": 0, "start": 0, "type": "ReturnStatement", "type": "ReturnStatement" } ], "commentStart": 1141, "end": 0, "start": 0 }, "commentStart": 1133, "end": 0, "params": [ { "type": "Parameter", "identifier": { "commentStart": 1134, "end": 0, "name": "plane", "start": 0, "type": "Identifier" } } ], "start": 0, "type": "FunctionExpression", "type": "FunctionExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "fn", "preComments": [ "", "", "// define a function which builds the profile of the baseplate bin" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 1506, "declaration": { "commentStart": 1544, "end": 0, "id": { "commentStart": 1544, "end": 0, "name": "singleSide", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1620, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1629, "end": 0, "left": { "abs_path": false, "commentStart": 1629, "end": 0, "name": { "commentStart": 1629, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "-", "right": { "commentStart": 1642, "end": 0, "left": { "abs_path": false, "commentStart": 1642, "end": 0, "name": { "commentStart": 1642, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "commentStart": 1657, "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" } } ], "callee": { "abs_path": false, "commentStart": 1557, "end": 0, "name": { "commentStart": 1557, "end": 0, "name": "extrude", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1557, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "arguments": [ { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1586, "end": 0, "name": "offset", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1595, "end": 0, "left": { "abs_path": false, "commentStart": 1595, "end": 0, "name": { "commentStart": 1595, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 1610, "end": 0, "name": { "commentStart": 1610, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 1570, "end": 0, "name": { "commentStart": 1570, "end": 0, "name": "offsetPlane", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1570, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 1582, "end": 0, "name": { "commentStart": 1582, "end": 0, "name": "YZ", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 1565, "end": 0, "name": { "commentStart": 1565, "end": 0, "name": "face", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1565, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// extrude a single side of the bin" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 1660, "declaration": { "commentStart": 1727, "end": 0, "id": { "commentStart": 1727, "end": 0, "name": "sides", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 1770, "end": 0, "name": "arcDegrees", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1783, "end": 0, "raw": "360", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 360.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 1790, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1797, "elements": [ { "commentStart": 1798, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 1801, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 1804, "end": 0, "raw": "1", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 1810, "end": 0, "name": "center", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1819, "elements": [ { "commentStart": 1826, "end": 0, "left": { "commentStart": 1826, "end": 0, "left": { "abs_path": false, "commentStart": 1826, "end": 0, "name": { "commentStart": 1826, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 1838, "end": 0, "left": { "commentStart": 1838, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 1842, "end": 0, "name": { "commentStart": 1842, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 1852, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 1860, "end": 0, "left": { "commentStart": 1860, "end": 0, "left": { "abs_path": false, "commentStart": 1860, "end": 0, "name": { "commentStart": 1860, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 1872, "end": 0, "left": { "commentStart": 1872, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 1876, "end": 0, "name": { "commentStart": 1876, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 1886, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 1893, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 1902, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1914, "end": 0, "raw": "4", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 4.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 1919, "end": 0, "name": "rotateDuplicates", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 1938, "end": 0, "raw": "true", "start": 0, "type": "Literal", "type": "Literal", "value": true } } ], "callee": { "abs_path": false, "commentStart": 1735, "end": 0, "name": { "commentStart": 1735, "end": 0, "name": "patternCircular3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 1735, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 1756, "end": 0, "name": { "commentStart": 1756, "end": 0, "name": "singleSide", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// create the other sides of the bin by using a circular pattern" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 1945, "declaration": { "commentStart": 1973, "end": 0, "id": { "commentStart": 1973, "end": 0, "name": "axis000", "start": 0, "type": "Identifier" }, "init": { "commentStart": 1983, "end": 0, "properties": [ { "commentStart": 1987, "end": 0, "key": { "commentStart": 1987, "end": 0, "name": "custom", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 1996, "end": 0, "properties": [ { "commentStart": 2002, "end": 0, "key": { "commentStart": 2002, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 2009, "elements": [ { "commentStart": 2010, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 2015, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "commentStart": 2025, "end": 0, "key": { "commentStart": 2025, "end": 0, "name": "origin", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 2034, "elements": [ { "commentStart": 2042, "end": 0, "left": { "abs_path": false, "commentStart": 2042, "end": 0, "name": { "commentStart": 2042, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 2057, "end": 0, "name": { "commentStart": 2057, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 2071, "end": 0, "left": { "abs_path": false, "commentStart": 2071, "end": 0, "name": { "commentStart": 2071, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 2086, "end": 0, "name": { "commentStart": 2086, "end": 0, "name": "binTol", "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" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// define an axis axis000" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 2104, "declaration": { "commentStart": 2143, "end": 0, "id": { "commentStart": 2143, "end": 0, "name": "singleCorner", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2221, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "arg": { "argument": { "commentStart": 2230, "end": 0, "raw": "90", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 90.0, "suffix": "None" } }, "commentStart": 2229, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 2234, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 2241, "end": 0, "name": { "commentStart": 2241, "end": 0, "name": "axis000", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 2158, "end": 0, "name": { "commentStart": 2158, "end": 0, "name": "revolve", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2158, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "arguments": [ { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2187, "end": 0, "name": "offset", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2196, "end": 0, "left": { "abs_path": false, "commentStart": 2196, "end": 0, "name": { "commentStart": 2196, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 2211, "end": 0, "name": { "commentStart": 2211, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 2171, "end": 0, "name": { "commentStart": 2171, "end": 0, "name": "offsetPlane", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2171, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 2183, "end": 0, "name": { "commentStart": 2183, "end": 0, "name": "YZ", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 2166, "end": 0, "name": { "commentStart": 2166, "end": 0, "name": "face", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2166, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// create a single corner of the bin" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 2249, "declaration": { "commentStart": 2284, "end": 0, "id": { "commentStart": 2284, "end": 0, "name": "corners", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2331, "end": 0, "name": "arcDegrees", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2344, "end": 0, "raw": "360", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 360.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 2351, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2358, "elements": [ { "commentStart": 2359, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 2362, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 2365, "end": 0, "raw": "1", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 2371, "end": 0, "name": "center", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2380, "elements": [ { "commentStart": 2387, "end": 0, "left": { "commentStart": 2387, "end": 0, "left": { "abs_path": false, "commentStart": 2387, "end": 0, "name": { "commentStart": 2387, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 2399, "end": 0, "left": { "commentStart": 2399, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 2403, "end": 0, "name": { "commentStart": 2403, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 2413, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 2421, "end": 0, "left": { "commentStart": 2421, "end": 0, "left": { "abs_path": false, "commentStart": 2421, "end": 0, "name": { "commentStart": 2421, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 2433, "end": 0, "left": { "commentStart": 2433, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 2437, "end": 0, "name": { "commentStart": 2437, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 2447, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 2454, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 2463, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2475, "end": 0, "raw": "4", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 4.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 2480, "end": 0, "name": "rotateDuplicates", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2499, "end": 0, "raw": "true", "start": 0, "type": "Literal", "type": "Literal", "value": true } } ], "callee": { "abs_path": false, "commentStart": 2294, "end": 0, "name": { "commentStart": 2294, "end": 0, "name": "patternCircular3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2294, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 2315, "end": 0, "name": { "commentStart": 2315, "end": 0, "name": "singleCorner", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// create the corners of the bin" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 2506, "declaration": { "commentStart": 2508, "end": 0, "id": { "commentStart": 2508, "end": 0, "name": "singleBinFill", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "abs_path": false, "commentStart": 2538, "end": 0, "name": { "commentStart": 2538, "end": 0, "name": "XY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 2524, "end": 0, "name": { "commentStart": 2524, "end": 0, "name": "startSketchOn", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2524, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 2562, "elements": [ { "commentStart": 2571, "end": 0, "left": { "abs_path": false, "commentStart": 2571, "end": 0, "name": { "commentStart": 2571, "end": 0, "name": "binBaseLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 2587, "end": 0, "name": { "commentStart": 2587, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 2602, "end": 0, "left": { "abs_path": false, "commentStart": 2602, "end": 0, "name": { "commentStart": 2602, "end": 0, "name": "binBaseLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 2618, "end": 0, "name": { "commentStart": 2618, "end": 0, "name": "binTol", "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": 2633, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 2547, "end": 0, "name": { "commentStart": 2547, "end": 0, "name": "startProfileAt", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2547, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2646, "end": 0, "name": "end", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2652, "elements": [ { "commentStart": 2653, "end": 0, "left": { "abs_path": false, "commentStart": 2653, "end": 0, "name": { "commentStart": 2653, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "-", "right": { "commentStart": 2666, "end": 0, "left": { "abs_path": false, "commentStart": 2666, "end": 0, "name": { "commentStart": 2666, "end": 0, "name": "binBaseLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "commentStart": 2682, "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" }, { "commentStart": 2686, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 2690, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2696, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "line000" } } ], "callee": { "abs_path": false, "commentStart": 2641, "end": 0, "name": { "commentStart": 2641, "end": 0, "name": "line", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2641, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2716, "end": 0, "name": "end", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2722, "elements": [ { "commentStart": 2723, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 2726, "end": 0, "left": { "abs_path": false, "commentStart": 2726, "end": 0, "name": { "commentStart": 2726, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "-", "right": { "commentStart": 2739, "end": 0, "left": { "abs_path": false, "commentStart": 2739, "end": 0, "name": { "commentStart": 2739, "end": 0, "name": "binBaseLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "commentStart": 2755, "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" } }, { "type": "LabeledArg", "label": { "commentStart": 2760, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2766, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "line001" } } ], "callee": { "abs_path": false, "commentStart": 2711, "end": 0, "name": { "commentStart": 2711, "end": 0, "name": "line", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2711, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2787, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "arguments": [ { "commentStart": 2815, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 2801, "end": 0, "name": { "commentStart": 2801, "end": 0, "name": "profileStartX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2801, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 2819, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2825, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "line002" } } ], "callee": { "abs_path": false, "commentStart": 2781, "end": 0, "name": { "commentStart": 2781, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2781, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2846, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2852, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "line003" } } ], "callee": { "abs_path": false, "commentStart": 2840, "end": 0, "name": { "commentStart": 2840, "end": 0, "name": "close", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2840, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2875, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 2884, "end": 0, "name": { "commentStart": 2884, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 2867, "end": 0, "name": { "commentStart": 2867, "end": 0, "name": "extrude", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2867, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 2912, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 2921, "end": 0, "name": { "commentStart": 2921, "end": 0, "name": "firstStep", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "type": "LabeledArg", "label": { "commentStart": 2939, "end": 0, "name": "tags", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 2946, "elements": [ { "arguments": [ { "abs_path": false, "commentStart": 2977, "end": 0, "name": { "commentStart": 2977, "end": 0, "name": "line000", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 2957, "end": 0, "name": { "commentStart": 2957, "end": 0, "name": "getNextAdjacentEdge", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2957, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "abs_path": false, "commentStart": 3020, "end": 0, "name": { "commentStart": 3020, "end": 0, "name": "line000", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 2996, "end": 0, "name": { "commentStart": 2996, "end": 0, "name": "getPreviousAdjacentEdge", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2996, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "abs_path": false, "commentStart": 3059, "end": 0, "name": { "commentStart": 3059, "end": 0, "name": "line002", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 3039, "end": 0, "name": { "commentStart": 3039, "end": 0, "name": "getNextAdjacentEdge", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 3039, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "abs_path": false, "commentStart": 3102, "end": 0, "name": { "commentStart": 3102, "end": 0, "name": "line002", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 3078, "end": 0, "name": { "commentStart": 3078, "end": 0, "name": "getPreviousAdjacentEdge", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 3078, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "abs_path": false, "commentStart": 2897, "end": 0, "name": { "commentStart": 2897, "end": 0, "name": "fillet", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 2897, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null } ], "commentStart": 2524, "end": 0, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 3127, "declaration": { "commentStart": 3129, "end": 0, "id": { "commentStart": 3129, "end": 0, "name": "magCutout000", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "abs_path": false, "commentStart": 3158, "end": 0, "name": { "commentStart": 3158, "end": 0, "name": "singleBinFill", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, { "commentStart": 3173, "end": 0, "raw": "\"start\"", "start": 0, "type": "Literal", "type": "Literal", "value": "start" } ], "callee": { "abs_path": false, "commentStart": 3144, "end": 0, "name": { "commentStart": 3144, "end": 0, "name": "startSketchOn", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 3144, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 3202, "end": 0, "name": "center", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 3211, "elements": [ { "commentStart": 3222, "end": 0, "left": { "commentStart": 3222, "end": 0, "left": { "argument": { "abs_path": false, "commentStart": 3223, "end": 0, "name": { "commentStart": 3223, "end": 0, "name": "magOffset", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 3222, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" }, "operator": "-", "right": { "abs_path": false, "commentStart": 3235, "end": 0, "name": { "commentStart": 3235, "end": 0, "name": "binBaseLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "-", "right": { "abs_path": false, "commentStart": 3251, "end": 0, "name": { "commentStart": 3251, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 3268, "end": 0, "left": { "commentStart": 3268, "end": 0, "left": { "abs_path": false, "commentStart": 3268, "end": 0, "name": { "commentStart": 3268, "end": 0, "name": "magOffset", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "abs_path": false, "commentStart": 3280, "end": 0, "name": { "commentStart": 3280, "end": 0, "name": "binBaseLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "+", "right": { "abs_path": false, "commentStart": 3296, "end": 0, "name": { "commentStart": 3296, "end": 0, "name": "binTol", "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" } }, { "type": "LabeledArg", "label": { "commentStart": 3320, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 3329, "end": 0, "left": { "abs_path": false, "commentStart": 3329, "end": 0, "name": { "commentStart": 3329, "end": 0, "name": "magOuterDiam", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "/", "right": { "commentStart": 3344, "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": 3187, "end": 0, "name": { "commentStart": 3187, "end": 0, "name": "circle", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 3187, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 3385, "end": 0, "name": "arcDegrees", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 3398, "end": 0, "raw": "360", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 360.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 3410, "end": 0, "name": "center", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 3419, "elements": [ { "commentStart": 3431, "end": 0, "left": { "commentStart": 3431, "end": 0, "left": { "argument": { "abs_path": false, "commentStart": 3432, "end": 0, "name": { "commentStart": 3432, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 3431, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" }, "operator": "+", "right": { "commentStart": 3444, "end": 0, "left": { "commentStart": 3444, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 3448, "end": 0, "name": { "commentStart": 3448, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 3458, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 3471, "end": 0, "left": { "commentStart": 3471, "end": 0, "left": { "abs_path": false, "commentStart": 3471, "end": 0, "name": { "commentStart": 3471, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 3483, "end": 0, "left": { "commentStart": 3483, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 3487, "end": 0, "name": { "commentStart": 3487, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 3497, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 3516, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 3528, "end": 0, "raw": "4", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 4.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 3538, "end": 0, "name": "rotateDuplicates", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 3557, "end": 0, "raw": "true", "start": 0, "type": "Literal", "type": "Literal", "value": true } } ], "callee": { "abs_path": false, "commentStart": 3359, "end": 0, "name": { "commentStart": 3359, "end": 0, "name": "patternCircular2d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 3359, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 3583, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "abs_path": false, "commentStart": 3593, "end": 0, "name": { "commentStart": 3593, "end": 0, "name": "magDepth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 3592, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 3575, "end": 0, "name": { "commentStart": 3575, "end": 0, "name": "extrude", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 3575, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null } ], "commentStart": 3144, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "3": [ { "commentStart": 3602, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLineBlockComment", "value": "create the baseplate by patterning sides", "style": "line" } } ] }, "startNodes": [] }, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 3648, "declaration": { "commentStart": 3648, "end": 0, "id": { "commentStart": 3648, "end": 0, "name": "binSides", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 3697, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 3704, "elements": [ { "commentStart": 3705, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 3710, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 3715, "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" } }, { "type": "LabeledArg", "label": { "commentStart": 3728, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 3740, "end": 0, "name": { "commentStart": 3740, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "type": "LabeledArg", "label": { "commentStart": 3762, "end": 0, "name": "distance", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 3773, "end": 0, "left": { "abs_path": false, "commentStart": 3773, "end": 0, "name": { "commentStart": 3773, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 3785, "end": 0, "left": { "abs_path": false, "commentStart": 3785, "end": 0, "name": { "commentStart": 3785, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "commentStart": 3794, "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" } } ], "callee": { "abs_path": false, "commentStart": 3659, "end": 0, "name": { "commentStart": 3659, "end": 0, "name": "patternLinear3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 3659, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 3683, "end": 0, "name": { "commentStart": 3683, "end": 0, "name": "sides", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 3825, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 3832, "elements": [ { "commentStart": 3833, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 3838, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 3843, "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" } }, { "type": "LabeledArg", "label": { "commentStart": 3849, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 3861, "end": 0, "name": { "commentStart": 3861, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "type": "LabeledArg", "label": { "commentStart": 3877, "end": 0, "name": "distance", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 3888, "end": 0, "left": { "abs_path": false, "commentStart": 3888, "end": 0, "name": { "commentStart": 3888, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 3900, "end": 0, "left": { "abs_path": false, "commentStart": 3900, "end": 0, "name": { "commentStart": 3900, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "commentStart": 3909, "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" } } ], "callee": { "abs_path": false, "commentStart": 3809, "end": 0, "name": { "commentStart": 3809, "end": 0, "name": "patternLinear3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 3809, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null } ], "commentStart": 3659, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "1": [ { "commentStart": 3911, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLineBlockComment", "value": "create the corners of the baseplate by patterning the corners", "style": "line" } } ] }, "startNodes": [] }, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 3978, "declaration": { "commentStart": 3978, "end": 0, "id": { "commentStart": 3978, "end": 0, "name": "binCorners", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4031, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4038, "elements": [ { "commentStart": 4039, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 4044, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 4049, "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" } }, { "type": "LabeledArg", "label": { "commentStart": 4062, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 4074, "end": 0, "name": { "commentStart": 4074, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "type": "LabeledArg", "label": { "commentStart": 4096, "end": 0, "name": "distance", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4107, "end": 0, "left": { "abs_path": false, "commentStart": 4107, "end": 0, "name": { "commentStart": 4107, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 4119, "end": 0, "left": { "abs_path": false, "commentStart": 4119, "end": 0, "name": { "commentStart": 4119, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "commentStart": 4128, "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" } } ], "callee": { "abs_path": false, "commentStart": 3991, "end": 0, "name": { "commentStart": 3991, "end": 0, "name": "patternLinear3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 3991, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 4015, "end": 0, "name": { "commentStart": 4015, "end": 0, "name": "corners", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4159, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4166, "elements": [ { "commentStart": 4167, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 4172, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 4177, "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" } }, { "type": "LabeledArg", "label": { "commentStart": 4183, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 4195, "end": 0, "name": { "commentStart": 4195, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "type": "LabeledArg", "label": { "commentStart": 4211, "end": 0, "name": "distance", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4222, "end": 0, "left": { "abs_path": false, "commentStart": 4222, "end": 0, "name": { "commentStart": 4222, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 4234, "end": 0, "left": { "abs_path": false, "commentStart": 4234, "end": 0, "name": { "commentStart": 4234, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "commentStart": 4243, "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" } } ], "callee": { "abs_path": false, "commentStart": 4143, "end": 0, "name": { "commentStart": 4143, "end": 0, "name": "patternLinear3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4143, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null } ], "commentStart": 3991, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "1": [ { "commentStart": 4245, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLineBlockComment", "value": "create the fill of the bin by patterning the corners", "style": "line" } } ] }, "startNodes": [] }, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 4303, "declaration": { "commentStart": 4303, "end": 0, "id": { "commentStart": 4303, "end": 0, "name": "binFill", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4359, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4366, "elements": [ { "commentStart": 4367, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 4372, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 4377, "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" } }, { "type": "LabeledArg", "label": { "commentStart": 4390, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 4402, "end": 0, "name": { "commentStart": 4402, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "type": "LabeledArg", "label": { "commentStart": 4424, "end": 0, "name": "distance", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4435, "end": 0, "left": { "abs_path": false, "commentStart": 4435, "end": 0, "name": { "commentStart": 4435, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 4447, "end": 0, "left": { "abs_path": false, "commentStart": 4447, "end": 0, "name": { "commentStart": 4447, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "commentStart": 4456, "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" } } ], "callee": { "abs_path": false, "commentStart": 4313, "end": 0, "name": { "commentStart": 4313, "end": 0, "name": "patternLinear3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4313, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 4337, "end": 0, "name": { "commentStart": 4337, "end": 0, "name": "singleBinFill", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4487, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4494, "elements": [ { "commentStart": 4495, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 4500, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 4505, "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" } }, { "type": "LabeledArg", "label": { "commentStart": 4511, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 4523, "end": 0, "name": { "commentStart": 4523, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "type": "LabeledArg", "label": { "commentStart": 4539, "end": 0, "name": "distance", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4550, "end": 0, "left": { "abs_path": false, "commentStart": 4550, "end": 0, "name": { "commentStart": 4550, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 4562, "end": 0, "left": { "abs_path": false, "commentStart": 4562, "end": 0, "name": { "commentStart": 4562, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "commentStart": 4571, "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" } } ], "callee": { "abs_path": false, "commentStart": 4471, "end": 0, "name": { "commentStart": 4471, "end": 0, "name": "patternLinear3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4471, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null } ], "commentStart": 4313, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "1": [ { "commentStart": 4573, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLineBlockComment", "value": "", "style": "line" } } ] }, "startNodes": [] }, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 4578, "declaration": { "commentStart": 4578, "end": 0, "id": { "commentStart": 4578, "end": 0, "name": "binTop", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4617, "end": 0, "name": "offset", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 4626, "end": 0, "name": { "commentStart": 4626, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 4601, "end": 0, "name": { "commentStart": 4601, "end": 0, "name": "offsetPlane", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4601, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 4613, "end": 0, "name": { "commentStart": 4613, "end": 0, "name": "XY", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 4587, "end": 0, "name": { "commentStart": 4587, "end": 0, "name": "startSketchOn", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4587, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 4655, "elements": [ { "commentStart": 4656, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 4659, "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": 4663, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 4640, "end": 0, "name": { "commentStart": 4640, "end": 0, "name": "startProfileAt", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4640, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4677, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4687, "end": 0, "left": { "commentStart": 4687, "end": 0, "left": { "abs_path": false, "commentStart": 4687, "end": 0, "name": { "commentStart": 4687, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 4699, "end": 0, "left": { "commentStart": 4699, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 4703, "end": 0, "name": { "commentStart": 4703, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 4713, "end": 0, "name": { "commentStart": 4713, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 4728, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4734, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "line010" } } ], "callee": { "abs_path": false, "commentStart": 4671, "end": 0, "name": { "commentStart": 4671, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4671, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4755, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4765, "end": 0, "left": { "commentStart": 4765, "end": 0, "left": { "abs_path": false, "commentStart": 4765, "end": 0, "name": { "commentStart": 4765, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 4777, "end": 0, "left": { "commentStart": 4777, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 4781, "end": 0, "name": { "commentStart": 4781, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 4791, "end": 0, "name": { "commentStart": 4791, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 4807, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4813, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "line011" } } ], "callee": { "abs_path": false, "commentStart": 4749, "end": 0, "name": { "commentStart": 4749, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4749, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4834, "end": 0, "name": "endAbsolute", "start": 0, "type": "Identifier" }, "arg": { "arguments": [ { "commentStart": 4862, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 4848, "end": 0, "name": { "commentStart": 4848, "end": 0, "name": "profileStartX", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4848, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 4866, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4872, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "line012" } } ], "callee": { "abs_path": false, "commentStart": 4828, "end": 0, "name": { "commentStart": 4828, "end": 0, "name": "xLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4828, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4893, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4899, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "line013" } } ], "callee": { "abs_path": false, "commentStart": 4887, "end": 0, "name": { "commentStart": 4887, "end": 0, "name": "close", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4887, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4922, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 4931, "end": 0, "left": { "abs_path": false, "commentStart": 4931, "end": 0, "name": { "commentStart": 4931, "end": 0, "name": "binHeight", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "abs_path": false, "commentStart": 4943, "end": 0, "name": { "commentStart": 4943, "end": 0, "name": "countBinHeight", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 4914, "end": 0, "name": { "commentStart": 4914, "end": 0, "name": "extrude", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4914, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 4979, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 4988, "end": 0, "name": { "commentStart": 4988, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, { "type": "LabeledArg", "label": { "commentStart": 5009, "end": 0, "name": "tags", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 5016, "elements": [ { "arguments": [ { "abs_path": false, "commentStart": 5047, "end": 0, "name": { "commentStart": 5047, "end": 0, "name": "line010", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 5027, "end": 0, "name": { "commentStart": 5027, "end": 0, "name": "getNextAdjacentEdge", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5027, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "abs_path": false, "commentStart": 5090, "end": 0, "name": { "commentStart": 5090, "end": 0, "name": "line010", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 5066, "end": 0, "name": { "commentStart": 5066, "end": 0, "name": "getPreviousAdjacentEdge", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5066, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "abs_path": false, "commentStart": 5129, "end": 0, "name": { "commentStart": 5129, "end": 0, "name": "line012", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 5109, "end": 0, "name": { "commentStart": 5109, "end": 0, "name": "getNextAdjacentEdge", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5109, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "abs_path": false, "commentStart": 5172, "end": 0, "name": { "commentStart": 5172, "end": 0, "name": "line012", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 5148, "end": 0, "name": { "commentStart": 5148, "end": 0, "name": "getPreviousAdjacentEdge", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5148, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "abs_path": false, "commentStart": 4964, "end": 0, "name": { "commentStart": 4964, "end": 0, "name": "fillet", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 4964, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 5209, "end": 0, "name": "faces", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 5217, "elements": [ { "commentStart": 5218, "end": 0, "raw": "\"end\"", "start": 0, "type": "Literal", "type": "Literal", "value": "end" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 5226, "end": 0, "name": "thickness", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 5238, "end": 0, "name": { "commentStart": 5238, "end": 0, "name": "binThk", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 5203, "end": 0, "name": { "commentStart": 5203, "end": 0, "name": "shell", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5203, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null } ], "commentStart": 4587, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "8": [ { "commentStart": 5245, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLineBlockComment", "value": "define a function which builds the profile of the baseplate bin", "style": "line" } } ] }, "startNodes": [] }, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 5314, "declaration": { "commentStart": 5317, "end": 0, "id": { "commentStart": 5317, "end": 0, "name": "lipFace", "start": 0, "type": "Identifier" }, "init": { "body": { "body": [ { "commentStart": 5336, "declaration": { "commentStart": 5336, "end": 0, "id": { "commentStart": 5336, "end": 0, "name": "faceSketch", "start": 0, "type": "Identifier" }, "init": { "body": [ { "arguments": [ { "abs_path": false, "commentStart": 5363, "end": 0, "name": { "commentStart": 5363, "end": 0, "name": "plane", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 5349, "end": 0, "name": { "commentStart": 5349, "end": 0, "name": "startSketchOn", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5349, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "commentStart": 5392, "elements": [ { "commentStart": 5393, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 5396, "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": 5400, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 5377, "end": 0, "name": { "commentStart": 5377, "end": 0, "name": "startProfileAt", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5377, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 5467, "end": 0, "name": "end", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 5473, "elements": [ { "commentStart": 5474, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 5479, "end": 0, "raw": "5.792893", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 5.792893, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 5490, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 5496, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "line000" } } ], "callee": { "abs_path": false, "commentStart": 5462, "end": 0, "name": { "commentStart": 5462, "end": 0, "name": "line", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5462, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 5517, "end": 0, "properties": [ { "commentStart": 5528, "end": 0, "key": { "commentStart": 5528, "end": 0, "name": "angleStart", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 5541, "end": 0, "raw": "180.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 180.0, "suffix": "None" } } }, { "commentStart": 5557, "end": 0, "key": { "commentStart": 5557, "end": 0, "name": "angleEnd", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 5568, "end": 0, "raw": "45.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } } }, { "commentStart": 5583, "end": 0, "key": { "commentStart": 5583, "end": 0, "name": "radius", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 5592, "end": 0, "raw": "0.500000", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.5, "suffix": "None" } } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 5611, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" }, { "commentStart": 5614, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "arc000" } ], "callee": { "abs_path": false, "commentStart": 5513, "end": 0, "name": { "commentStart": 5513, "end": 0, "name": "arc", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5513, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 5702, "end": 0, "name": "end", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 5708, "elements": [ { "commentStart": 5709, "end": 0, "raw": "1.046447", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.046447, "suffix": "None" } }, { "argument": { "commentStart": 5720, "end": 0, "raw": "1.046447", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.046447, "suffix": "None" } }, "commentStart": 5719, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 5731, "end": 0, "name": "tag", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 5737, "end": 0, "start": 0, "type": "TagDeclarator", "type": "TagDeclarator", "value": "line001" } } ], "callee": { "abs_path": false, "commentStart": 5697, "end": 0, "name": { "commentStart": 5697, "end": 0, "name": "line", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5697, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 5760, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "abs_path": false, "commentStart": 5770, "end": 0, "name": { "commentStart": 5770, "end": 0, "name": "lipStep4", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 5769, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 5754, "end": 0, "name": { "commentStart": 5754, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5754, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 5807, "end": 0, "properties": [ { "commentStart": 5809, "end": 0, "key": { "commentStart": 5809, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "argument": { "commentStart": 5818, "end": 0, "raw": "45", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 45.0, "suffix": "None" } }, "commentStart": 5817, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } }, { "commentStart": 5822, "end": 0, "key": { "commentStart": 5822, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "abs_path": false, "commentStart": 5831, "end": 0, "name": { "commentStart": 5831, "end": 0, "name": "lipStep3", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 5843, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 5787, "end": 0, "name": { "commentStart": 5787, "end": 0, "name": "angledLineOfYLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5787, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 5859, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "argument": { "abs_path": false, "commentStart": 5869, "end": 0, "name": { "commentStart": 5869, "end": 0, "name": "lipStep2", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 5868, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 5853, "end": 0, "name": { "commentStart": 5853, "end": 0, "name": "yLine", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5853, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": null }, { "arguments": [ { "commentStart": 5906, "end": 0, "properties": [ { "commentStart": 5908, "end": 0, "key": { "commentStart": 5908, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "argument": { "commentStart": 5917, "end": 0, "raw": "135", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 135.0, "suffix": "None" } }, "commentStart": 5916, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } }, { "commentStart": 5922, "end": 0, "key": { "commentStart": 5922, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "abs_path": false, "commentStart": 5931, "end": 0, "name": { "commentStart": 5931, "end": 0, "name": "lipStep1", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, { "commentStart": 5943, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } ], "callee": { "abs_path": false, "commentStart": 5886, "end": 0, "name": { "commentStart": 5886, "end": 0, "name": "angledLineOfYLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5886, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" }, { "arguments": [], "callee": { "abs_path": false, "commentStart": 5953, "end": 0, "name": { "commentStart": 5953, "end": 0, "name": "close", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 5953, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } ], "commentStart": 5349, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "1": [ { "commentStart": 5406, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "blockComment", "value": "|> yLine(length = lipHeight, tag = $line100)", "style": "line" } } ], "3": [ { "commentStart": 5626, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "blockComment", "value": "|> angledLineOfYLength({ angle: -45, length: lipStep5 }, %)", "style": "line" } } ] }, "startNodes": [] }, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "argument": { "abs_path": false, "commentStart": 5970, "end": 0, "name": { "commentStart": 5970, "end": 0, "name": "faceSketch", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "commentStart": 5963, "end": 0, "start": 0, "type": "ReturnStatement", "type": "ReturnStatement" } ], "commentStart": 5332, "end": 0, "start": 0 }, "commentStart": 5324, "end": 0, "params": [ { "type": "Parameter", "identifier": { "commentStart": 5325, "end": 0, "name": "plane", "start": 0, "type": "Identifier" } } ], "start": 0, "type": "FunctionExpression", "type": "FunctionExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "fn", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 5982, "declaration": { "commentStart": 5984, "end": 0, "id": { "commentStart": 5984, "end": 0, "name": "plane000", "start": 0, "type": "Identifier" }, "init": { "commentStart": 5995, "end": 0, "properties": [ { "commentStart": 5999, "end": 0, "key": { "commentStart": 5999, "end": 0, "name": "plane", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6007, "end": 0, "properties": [ { "commentStart": 6013, "end": 0, "key": { "commentStart": 6013, "end": 0, "name": "origin", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6022, "elements": [ { "abs_path": false, "commentStart": 6030, "end": 0, "name": { "commentStart": 6030, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, { "commentStart": 6050, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6061, "end": 0, "left": { "abs_path": false, "commentStart": 6061, "end": 0, "name": { "commentStart": 6061, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 6070, "end": 0, "left": { "abs_path": false, "commentStart": 6070, "end": 0, "name": { "commentStart": 6070, "end": 0, "name": "binHeight", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "abs_path": false, "commentStart": 6082, "end": 0, "name": { "commentStart": 6082, "end": 0, "name": "countBinHeight", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "commentStart": 6108, "end": 0, "key": { "commentStart": 6108, "end": 0, "name": "xAxis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6116, "elements": [ { "commentStart": 6117, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6122, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 6127, "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": 6137, "end": 0, "key": { "commentStart": 6137, "end": 0, "name": "yAxis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6145, "elements": [ { "commentStart": 6146, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6151, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6156, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "commentStart": 6166, "end": 0, "key": { "commentStart": 6166, "end": 0, "name": "zAxis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6174, "elements": [ { "commentStart": 6175, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 6180, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6185, "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" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 6195, "declaration": { "commentStart": 6197, "end": 0, "id": { "commentStart": 6197, "end": 0, "name": "plane001", "start": 0, "type": "Identifier" }, "init": { "commentStart": 6208, "end": 0, "properties": [ { "commentStart": 6212, "end": 0, "key": { "commentStart": 6212, "end": 0, "name": "plane", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6220, "end": 0, "properties": [ { "commentStart": 6226, "end": 0, "key": { "commentStart": 6226, "end": 0, "name": "origin", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6235, "elements": [ { "commentStart": 6243, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "abs_path": false, "commentStart": 6254, "end": 0, "name": { "commentStart": 6254, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, { "commentStart": 6274, "end": 0, "left": { "abs_path": false, "commentStart": 6274, "end": 0, "name": { "commentStart": 6274, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 6283, "end": 0, "left": { "abs_path": false, "commentStart": 6283, "end": 0, "name": { "commentStart": 6283, "end": 0, "name": "binHeight", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "abs_path": false, "commentStart": 6295, "end": 0, "name": { "commentStart": 6295, "end": 0, "name": "countBinHeight", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "commentStart": 6321, "end": 0, "key": { "commentStart": 6321, "end": 0, "name": "xAxis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6329, "elements": [ { "commentStart": 6330, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 6335, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6340, "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": 6350, "end": 0, "key": { "commentStart": 6350, "end": 0, "name": "yAxis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6358, "elements": [ { "commentStart": 6359, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6364, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6369, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "commentStart": 6379, "end": 0, "key": { "commentStart": 6379, "end": 0, "name": "zAxis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6387, "elements": [ { "commentStart": 6388, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6393, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 6398, "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" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 6408, "declaration": { "commentStart": 6410, "end": 0, "id": { "commentStart": 6410, "end": 0, "name": "plane002", "start": 0, "type": "Identifier" }, "init": { "commentStart": 6421, "end": 0, "properties": [ { "commentStart": 6425, "end": 0, "key": { "commentStart": 6425, "end": 0, "name": "plane", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6433, "end": 0, "properties": [ { "commentStart": 6439, "end": 0, "key": { "commentStart": 6439, "end": 0, "name": "origin", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6448, "elements": [ { "commentStart": 6456, "end": 0, "left": { "commentStart": 6456, "end": 0, "left": { "abs_path": false, "commentStart": 6456, "end": 0, "name": { "commentStart": 6456, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "commentStart": 6473, "end": 0, "left": { "abs_path": false, "commentStart": 6473, "end": 0, "name": { "commentStart": 6473, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 6485, "end": 0, "left": { "commentStart": 6485, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 6489, "end": 0, "name": { "commentStart": 6489, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "-", "right": { "abs_path": false, "commentStart": 6499, "end": 0, "name": { "commentStart": 6499, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 6519, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6530, "end": 0, "left": { "abs_path": false, "commentStart": 6530, "end": 0, "name": { "commentStart": 6530, "end": 0, "name": "height", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 6539, "end": 0, "left": { "abs_path": false, "commentStart": 6539, "end": 0, "name": { "commentStart": 6539, "end": 0, "name": "binHeight", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "abs_path": false, "commentStart": 6551, "end": 0, "name": { "commentStart": 6551, "end": 0, "name": "countBinHeight", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "commentStart": 6577, "end": 0, "key": { "commentStart": 6577, "end": 0, "name": "xAxis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6585, "elements": [ { "commentStart": 6586, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6591, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 6596, "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": 6606, "end": 0, "key": { "commentStart": 6606, "end": 0, "name": "yAxis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6614, "elements": [ { "commentStart": 6615, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6620, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6625, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "commentStart": 6635, "end": 0, "key": { "commentStart": 6635, "end": 0, "name": "zAxis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 6643, "elements": [ { "commentStart": 6644, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, { "commentStart": 6649, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 6654, "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" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 6664, "declaration": { "commentStart": 6713, "end": 0, "id": { "commentStart": 6713, "end": 0, "name": "lipSingleLength", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 6758, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 6767, "end": 0, "left": { "commentStart": 6767, "end": 0, "left": { "commentStart": 6767, "end": 0, "left": { "abs_path": false, "commentStart": 6767, "end": 0, "name": { "commentStart": 6767, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "abs_path": false, "commentStart": 6779, "end": 0, "name": { "commentStart": 6779, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "-", "right": { "commentStart": 6796, "end": 0, "left": { "commentStart": 6796, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 6800, "end": 0, "name": { "commentStart": 6800, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "+", "right": { "commentStart": 6816, "end": 0, "left": { "commentStart": 6816, "end": 0, "left": { "commentStart": 6816, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 6820, "end": 0, "name": { "commentStart": 6820, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 6829, "end": 0, "name": { "commentStart": 6829, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 6731, "end": 0, "name": { "commentStart": 6731, "end": 0, "name": "extrude", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 6731, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "arguments": [ { "abs_path": false, "commentStart": 6747, "end": 0, "name": { "commentStart": 6747, "end": 0, "name": "plane000", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 6739, "end": 0, "name": { "commentStart": 6739, "end": 0, "name": "lipFace", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 6739, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// extrude a single side of the lip of the bin" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 6843, "declaration": { "commentStart": 6892, "end": 0, "id": { "commentStart": 6892, "end": 0, "name": "lipSingleWidth", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 6936, "end": 0, "name": "length", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 6945, "end": 0, "left": { "commentStart": 6945, "end": 0, "left": { "commentStart": 6945, "end": 0, "left": { "abs_path": false, "commentStart": 6945, "end": 0, "name": { "commentStart": 6945, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "*", "right": { "abs_path": false, "commentStart": 6957, "end": 0, "name": { "commentStart": 6957, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "-", "right": { "commentStart": 6975, "end": 0, "left": { "commentStart": 6975, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 6979, "end": 0, "name": { "commentStart": 6979, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "+", "right": { "commentStart": 6995, "end": 0, "left": { "commentStart": 6995, "end": 0, "left": { "commentStart": 6995, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 6999, "end": 0, "name": { "commentStart": 6999, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 7008, "end": 0, "name": { "commentStart": 7008, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" } } ], "callee": { "abs_path": false, "commentStart": 6909, "end": 0, "name": { "commentStart": 6909, "end": 0, "name": "extrude", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 6909, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "arguments": [ { "abs_path": false, "commentStart": 6925, "end": 0, "name": { "commentStart": 6925, "end": 0, "name": "plane001", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 6917, "end": 0, "name": { "commentStart": 6917, "end": 0, "name": "lipFace", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 6917, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// extrude a single side of the lip of the bin" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 7023, "declaration": { "commentStart": 7091, "end": 0, "id": { "commentStart": 7091, "end": 0, "name": "lipLengths", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 7144, "end": 0, "name": "arcDegrees", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 7157, "end": 0, "raw": "360", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 360.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 7164, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 7171, "elements": [ { "commentStart": 7172, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 7175, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 7178, "end": 0, "raw": "1", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 7184, "end": 0, "name": "center", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 7193, "elements": [ { "commentStart": 7200, "end": 0, "left": { "commentStart": 7200, "end": 0, "left": { "commentStart": 7200, "end": 0, "left": { "abs_path": false, "commentStart": 7200, "end": 0, "name": { "commentStart": 7200, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 7212, "end": 0, "left": { "commentStart": 7212, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 7216, "end": 0, "name": { "commentStart": 7216, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 7226, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 7230, "end": 0, "name": { "commentStart": 7230, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 7250, "end": 0, "left": { "commentStart": 7250, "end": 0, "left": { "commentStart": 7250, "end": 0, "left": { "abs_path": false, "commentStart": 7250, "end": 0, "name": { "commentStart": 7250, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 7262, "end": 0, "left": { "commentStart": 7262, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 7266, "end": 0, "name": { "commentStart": 7266, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 7276, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 7280, "end": 0, "name": { "commentStart": 7280, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 7300, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 7309, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 7321, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 7326, "end": 0, "name": "rotateDuplicates", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 7345, "end": 0, "raw": "true", "start": 0, "type": "Literal", "type": "Literal", "value": true } } ], "callee": { "abs_path": false, "commentStart": 7104, "end": 0, "name": { "commentStart": 7104, "end": 0, "name": "patternCircular3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 7104, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 7125, "end": 0, "name": { "commentStart": 7125, "end": 0, "name": "lipSingleLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// create the other sides of the lips by using a circular pattern" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 7352, "declaration": { "commentStart": 7420, "end": 0, "id": { "commentStart": 7420, "end": 0, "name": "lipWidths", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 7471, "end": 0, "name": "arcDegrees", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 7484, "end": 0, "raw": "360", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 360.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 7491, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 7498, "elements": [ { "commentStart": 7499, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 7502, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 7505, "end": 0, "raw": "1", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 7511, "end": 0, "name": "center", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 7520, "elements": [ { "commentStart": 7527, "end": 0, "left": { "commentStart": 7527, "end": 0, "left": { "commentStart": 7527, "end": 0, "left": { "abs_path": false, "commentStart": 7527, "end": 0, "name": { "commentStart": 7527, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 7539, "end": 0, "left": { "commentStart": 7539, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 7543, "end": 0, "name": { "commentStart": 7543, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 7553, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 7557, "end": 0, "name": { "commentStart": 7557, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 7577, "end": 0, "left": { "commentStart": 7577, "end": 0, "left": { "commentStart": 7577, "end": 0, "left": { "abs_path": false, "commentStart": 7577, "end": 0, "name": { "commentStart": 7577, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 7589, "end": 0, "left": { "commentStart": 7589, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 7593, "end": 0, "name": { "commentStart": 7593, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 7603, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 7607, "end": 0, "name": { "commentStart": 7607, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 7627, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 7636, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 7648, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 7653, "end": 0, "name": "rotateDuplicates", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 7672, "end": 0, "raw": "true", "start": 0, "type": "Literal", "type": "Literal", "value": true } } ], "callee": { "abs_path": false, "commentStart": 7432, "end": 0, "name": { "commentStart": 7432, "end": 0, "name": "patternCircular3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 7432, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 7453, "end": 0, "name": { "commentStart": 7453, "end": 0, "name": "lipSingleWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// create the other sides of the lips by using a circular pattern" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 7679, "declaration": { "commentStart": 7707, "end": 0, "id": { "commentStart": 7707, "end": 0, "name": "axis001", "start": 0, "type": "Identifier" }, "init": { "commentStart": 7717, "end": 0, "properties": [ { "commentStart": 7721, "end": 0, "key": { "commentStart": 7721, "end": 0, "name": "custom", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 7730, "end": 0, "properties": [ { "commentStart": 7736, "end": 0, "key": { "commentStart": 7736, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 7743, "elements": [ { "commentStart": 7744, "end": 0, "raw": "0.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 7749, "end": 0, "raw": "1.0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "commentStart": 7759, "end": 0, "key": { "commentStart": 7759, "end": 0, "name": "origin", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "commentStart": 7768, "elements": [ { "abs_path": false, "commentStart": 7769, "end": 0, "name": { "commentStart": 7769, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, { "abs_path": false, "commentStart": 7783, "end": 0, "name": { "commentStart": 7783, "end": 0, "name": "cornerRadius", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" } } ], "start": 0, "type": "ObjectExpression", "type": "ObjectExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// define an axis axis000" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 7802, "declaration": { "commentStart": 7841, "end": 0, "id": { "commentStart": 7841, "end": 0, "name": "lipSingleLengthCorner", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 7892, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "arg": { "argument": { "commentStart": 7901, "end": 0, "raw": "90", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 90.0, "suffix": "None" } }, "commentStart": 7900, "end": 0, "operator": "-", "start": 0, "type": "UnaryExpression", "type": "UnaryExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 7905, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 7912, "end": 0, "name": { "commentStart": 7912, "end": 0, "name": "axis001", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 7865, "end": 0, "name": { "commentStart": 7865, "end": 0, "name": "revolve", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 7865, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "arguments": [ { "abs_path": false, "commentStart": 7881, "end": 0, "name": { "commentStart": 7881, "end": 0, "name": "plane000", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 7873, "end": 0, "name": { "commentStart": 7873, "end": 0, "name": "lipFace", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 7873, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// create a single corner of the bin" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 7920, "declaration": { "commentStart": 7959, "end": 0, "id": { "commentStart": 7959, "end": 0, "name": "lipSingleWidthCorner", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 8009, "end": 0, "name": "angle", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8017, "end": 0, "raw": "90", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 90.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 8021, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "abs_path": false, "commentStart": 8028, "end": 0, "name": { "commentStart": 8028, "end": 0, "name": "axis001", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "callee": { "abs_path": false, "commentStart": 7982, "end": 0, "name": { "commentStart": 7982, "end": 0, "name": "revolve", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 7982, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "arguments": [ { "abs_path": false, "commentStart": 7998, "end": 0, "name": { "commentStart": 7998, "end": 0, "name": "plane002", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } ], "callee": { "abs_path": false, "commentStart": 7990, "end": 0, "name": { "commentStart": 7990, "end": 0, "name": "lipFace", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 7990, "end": 0, "start": 0, "type": "CallExpression", "type": "CallExpression" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// create a single corner of the bin" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 8036, "declaration": { "commentStart": 8071, "end": 0, "id": { "commentStart": 8071, "end": 0, "name": "lipCorners000", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 8133, "end": 0, "name": "arcDegrees", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8146, "end": 0, "raw": "360", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 360.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 8153, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8160, "elements": [ { "commentStart": 8161, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 8164, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 8167, "end": 0, "raw": "1", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 8173, "end": 0, "name": "center", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8182, "elements": [ { "commentStart": 8189, "end": 0, "left": { "commentStart": 8189, "end": 0, "left": { "commentStart": 8189, "end": 0, "left": { "abs_path": false, "commentStart": 8189, "end": 0, "name": { "commentStart": 8189, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 8201, "end": 0, "left": { "commentStart": 8201, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 8205, "end": 0, "name": { "commentStart": 8205, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 8215, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 8219, "end": 0, "name": { "commentStart": 8219, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 8239, "end": 0, "left": { "commentStart": 8239, "end": 0, "left": { "commentStart": 8239, "end": 0, "left": { "abs_path": false, "commentStart": 8239, "end": 0, "name": { "commentStart": 8239, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 8251, "end": 0, "left": { "commentStart": 8251, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 8255, "end": 0, "name": { "commentStart": 8255, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 8265, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 8269, "end": 0, "name": { "commentStart": 8269, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 8289, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 8298, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8310, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 8315, "end": 0, "name": "rotateDuplicates", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8334, "end": 0, "raw": "true", "start": 0, "type": "Literal", "type": "Literal", "value": true } } ], "callee": { "abs_path": false, "commentStart": 8087, "end": 0, "name": { "commentStart": 8087, "end": 0, "name": "patternCircular3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 8087, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 8108, "end": 0, "name": { "commentStart": 8108, "end": 0, "name": "lipSingleLengthCorner", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// create the corners of the bin" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "commentStart": 8341, "declaration": { "commentStart": 8376, "end": 0, "id": { "commentStart": 8376, "end": 0, "name": "lipCorners001", "start": 0, "type": "Identifier" }, "init": { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 8437, "end": 0, "name": "arcDegrees", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8450, "end": 0, "raw": "360", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 360.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 8457, "end": 0, "name": "axis", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8464, "elements": [ { "commentStart": 8465, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 8468, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, { "commentStart": 8471, "end": 0, "raw": "1", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 8477, "end": 0, "name": "center", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8486, "elements": [ { "commentStart": 8493, "end": 0, "left": { "commentStart": 8493, "end": 0, "left": { "commentStart": 8493, "end": 0, "left": { "abs_path": false, "commentStart": 8493, "end": 0, "name": { "commentStart": 8493, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 8505, "end": 0, "left": { "commentStart": 8505, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 8509, "end": 0, "name": { "commentStart": 8509, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 8519, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 8523, "end": 0, "name": { "commentStart": 8523, "end": 0, "name": "countBinWidth", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 8543, "end": 0, "left": { "commentStart": 8543, "end": 0, "left": { "commentStart": 8543, "end": 0, "left": { "abs_path": false, "commentStart": 8543, "end": 0, "name": { "commentStart": 8543, "end": 0, "name": "binLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "operator": "+", "right": { "commentStart": 8555, "end": 0, "left": { "commentStart": 8555, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "operator": "*", "right": { "abs_path": false, "commentStart": 8559, "end": 0, "name": { "commentStart": 8559, "end": 0, "name": "binTol", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "/", "right": { "commentStart": 8569, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, "operator": "*", "right": { "abs_path": false, "commentStart": 8573, "end": 0, "name": { "commentStart": 8573, "end": 0, "name": "countBinLength", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" }, "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" }, { "commentStart": 8593, "end": 0, "raw": "0", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } }, { "type": "LabeledArg", "label": { "commentStart": 8602, "end": 0, "name": "instances", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8614, "end": 0, "raw": "2", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 2.0, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 8619, "end": 0, "name": "rotateDuplicates", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 8638, "end": 0, "raw": "true", "start": 0, "type": "Literal", "type": "Literal", "value": true } } ], "callee": { "abs_path": false, "commentStart": 8392, "end": 0, "name": { "commentStart": 8392, "end": 0, "name": "patternCircular3d", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name" }, "commentStart": 8392, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "abs_path": false, "commentStart": 8413, "end": 0, "name": { "commentStart": 8413, "end": 0, "name": "lipSingleWidthCorner", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } }, "start": 0, "type": "VariableDeclarator" }, "end": 0, "kind": "const", "preComments": [ "", "", "// create the corners of the bin" ], "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" } ], "commentStart": 0, "end": 0, "innerAttrs": [ { "commentStart": 0, "end": 0, "name": { "commentStart": 410, "end": 0, "name": "settings", "start": 0, "type": "Identifier" }, "preComments": [ "// Gridfinity Bins With A Stacking Lip", "// Gridfinity is a system to help you work more efficiently. This is a system invented by Zack Freedman. There are two main components the baseplate and the bins. The components are comprised of a matrix of squares. Allowing easy stacking and expansion. This Gridfinity bins version includes a lip to allowable stacking Gridfinity bins", "", "", "// Set units in millimeters (mm)" ], "properties": [ { "commentStart": 419, "end": 0, "key": { "commentStart": 419, "end": 0, "name": "defaultLengthUnit", "start": 0, "type": "Identifier" }, "start": 0, "type": "ObjectProperty", "value": { "abs_path": false, "commentStart": 439, "end": 0, "name": { "commentStart": 439, "end": 0, "name": "mm", "start": 0, "type": "Identifier" }, "path": [], "start": 0, "type": "Name", "type": "Name" } } ], "start": 0, "type": "Annotation" } ], "nonCodeMeta": { "nonCodeNodes": { "28": [ { "commentStart": 2506, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLine" } } ], "29": [ { "commentStart": 3127, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLine" } } ], "35": [ { "commentStart": 5982, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLine" } } ], "36": [ { "commentStart": 6195, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLine" } } ], "37": [ { "commentStart": 6408, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLine" } } ] }, "startNodes": [ { "commentStart": 442, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLine" } } ] }, "start": 0 } }