Files
modeling-app/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/ast.snap

8553 lines
289 KiB
Plaintext
Raw Normal View History

test: Vendor kcl-samples and add simulation tests for them (#5460) * Change to unzip * Download kcl-samples as zip to public dir * Fix fetch:samples, e2e electron still not working * Change error message to be clearer * Refactor so that input and output directories of sim tests can be different * Add kcl samples test implementation * Update output since adding kcl_samples tests * Update kcl-samples branch * Fix git-ignore pattern to only apply to the root * Fix yarn install and yarn fetch:samples to work the first time * Remove unneeded exists check * Change to use kcl-samples in public directory * Add kcl-samples * Update output since updating kcl-samples * Update output files * Change to not fetch samples during yarn install * Update output after merge * Ignore kcl-samples in codespell * WIP: Don't run e2e if only kcl-samples changed * Conditionally run cargo tests * Fix to round floating point values in program memory arrays * Update output since merge and rounding numbers in memory * Fix memory redaction for floating point to find more values * Fix float redaction pattern * Update output since rounding floating point numbers * Add center to floating point pattern * Fix trigger to use picomatch syntax * Update output since rounding center * Remove kcl-samples github workflows * Enable Rust backtrace * Update output after re-running * Update output after changing order of post-extrude commands * Fix to have deterministic order of commands * Update output after reverting ordering changes * Update kcl-samples * Update output after updating samples * Fix error messages to show the names of all samples that failed * Change cargo test command to match current one * Update kcl-samples * Update output since updating kcl-samples * Add generate manifest workflow and yarn script * Fix error check to actually work * Change util function to be what we actually need * Move new files after merge * Fix paths since directory move * Add dependabot updates for kcl-samples * Add GitHub workflow to make PR to kcl-samples repo * Add GitHub workflow to check kcl-samples header comments * Fix worfklow to change to the right directory * Add auto-commit simulation test output changes * Add permissions to workflows * Fix to run git commit step * Install just if needed * Fix directory of justfile * Add installation of cargo-insta * Fix to use underscore * Fix to allow just command failure * Change to always install CLI tools and cache them * Trying to fix overwrite failing * Combine commands * Change reviewer * Change to PR targeting the next branch * Change git commands to not do unnecessary fetch * Comment out trigger for creating a PR * Update kcl-samples from next branch * Update outputs after kcl-samples change * Fix to use bash pipefail * Add rust backtrace * Print full env from sim tests * Change command to use long option name * Fix to use ci profile even when calling through just * Add INSTA_UPDATE=always * Fix git push by using an app token on checkout * Add comments * Fix to use bash options * Change to echo when no changes are found * Fix so that kcl-samples updates don't trigger full run * Fix paths to reflect new crate location * Fix path detection * Fix e2e job to ignore kcl_samples simulation test output * Fix the fetch logic for the KCL samples after vendoring (#5661) Fixes the last 2 E2E tests for #5460. --------- Co-authored-by: Pierre Jacquier <pierre@zoo.dev> Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com> Co-authored-by: Frank Noirot <frank@zoo.dev>
2025-03-06 18:01:24 -05:00
---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing gridfinity-bins-stacking-lip.kcl
---
{
"Ok": {
"body": [
{
"declaration": {
"end": 480,
"id": {
"end": 473,
"name": "binLength",
"start": 464,
"type": "Identifier"
},
"init": {
"end": 480,
"raw": "41.5",
"start": 476,
"type": "Literal",
"type": "Literal",
"value": {
"value": 41.5,
"suffix": "None"
}
},
"start": 464,
"type": "VariableDeclarator"
},
"end": 480,
"kind": "const",
"start": 464,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 496,
"id": {
"end": 490,
"name": "binHeight",
"start": 481,
"type": "Identifier"
},
"init": {
"end": 496,
"raw": "7.0",
"start": 493,
"type": "Literal",
"type": "Literal",
"value": {
"value": 7.0,
"suffix": "None"
}
},
"start": 481,
"type": "VariableDeclarator"
},
"end": 496,
"kind": "const",
"start": 481,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 517,
"id": {
"end": 510,
"name": "binBaseLength",
"start": 497,
"type": "Identifier"
},
"init": {
"end": 517,
"raw": "2.95",
"start": 513,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.95,
"suffix": "None"
}
},
"start": 497,
"type": "VariableDeclarator"
},
"end": 517,
"kind": "const",
"start": 497,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 531,
"id": {
"end": 524,
"name": "binTol",
"start": 518,
"type": "Identifier"
},
"init": {
"end": 531,
"raw": "0.25",
"start": 527,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.25,
"suffix": "None"
}
},
"start": 518,
"type": "VariableDeclarator"
},
"end": 531,
"kind": "const",
"start": 518,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 544,
"id": {
"end": 538,
"name": "binThk",
"start": 532,
"type": "Identifier"
},
"init": {
"end": 544,
"raw": "1.2",
"start": 541,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.2,
"suffix": "None"
}
},
"start": 532,
"type": "VariableDeclarator"
},
"end": 544,
"kind": "const",
"start": 532,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 564,
"id": {
"end": 557,
"name": "cornerRadius",
"start": 545,
"type": "Identifier"
},
"init": {
"end": 564,
"raw": "3.75",
"start": 560,
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.75,
"suffix": "None"
}
},
"start": 545,
"type": "VariableDeclarator"
},
"end": 564,
"kind": "const",
"start": 545,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 580,
"id": {
"end": 574,
"name": "firstStep",
"start": 565,
"type": "Identifier"
},
"init": {
"end": 580,
"raw": "0.8",
"start": 577,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.8,
"suffix": "None"
}
},
"start": 565,
"type": "VariableDeclarator"
},
"end": 580,
"kind": "const",
"start": 565,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 597,
"id": {
"end": 591,
"name": "secondStep",
"start": 581,
"type": "Identifier"
},
"init": {
"end": 597,
"raw": "1.8",
"start": 594,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.8,
"suffix": "None"
}
},
"start": 581,
"type": "VariableDeclarator"
},
"end": 597,
"kind": "const",
"start": 581,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 614,
"id": {
"end": 607,
"name": "thirdStep",
"start": 598,
"type": "Identifier"
},
"init": {
"end": 614,
"raw": "2.15",
"start": 610,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.15,
"suffix": "None"
}
},
"start": 598,
"type": "VariableDeclarator"
},
"end": 614,
"kind": "const",
"start": 598,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 633,
"id": {
"end": 627,
"name": "magOuterDiam",
"start": 615,
"type": "Identifier"
},
"init": {
"end": 633,
"raw": "6.5",
"start": 630,
"type": "Literal",
"type": "Literal",
"value": {
"value": 6.5,
"suffix": "None"
}
},
"start": 615,
"type": "VariableDeclarator"
},
"end": 633,
"kind": "const",
"start": 615,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 649,
"id": {
"end": 643,
"name": "magOffset",
"start": 634,
"type": "Identifier"
},
"init": {
"end": 649,
"raw": "4.8",
"start": 646,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.8,
"suffix": "None"
}
},
"start": 634,
"type": "VariableDeclarator"
},
"end": 649,
"kind": "const",
"start": 634,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 664,
"id": {
"end": 658,
"name": "magDepth",
"start": 650,
"type": "Identifier"
},
"init": {
"end": 664,
"raw": "2.4",
"start": 661,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.4,
"suffix": "None"
}
},
"start": 650,
"type": "VariableDeclarator"
},
"end": 664,
"kind": "const",
"start": 650,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 680,
"id": {
"end": 674,
"name": "lipRadius",
"start": 665,
"type": "Identifier"
},
"init": {
"end": 680,
"raw": "0.5",
"start": 677,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.5,
"suffix": "None"
}
},
"start": 665,
"type": "VariableDeclarator"
},
"end": 680,
"kind": "const",
"start": 665,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 695,
"id": {
"end": 689,
"name": "lipStep1",
"start": 681,
"type": "Identifier"
},
"init": {
"end": 695,
"raw": "1.4",
"start": 692,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.4,
"suffix": "None"
}
},
"start": 681,
"type": "VariableDeclarator"
},
"end": 695,
"kind": "const",
"start": 681,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 710,
"id": {
"end": 704,
"name": "lipStep2",
"start": 696,
"type": "Identifier"
},
"init": {
"end": 710,
"raw": "1.2",
"start": 707,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.2,
"suffix": "None"
}
},
"start": 696,
"type": "VariableDeclarator"
},
"end": 710,
"kind": "const",
"start": 696,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 725,
"id": {
"end": 719,
"name": "lipStep3",
"start": 711,
"type": "Identifier"
},
"init": {
"end": 725,
"raw": "0.7",
"start": 722,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.7,
"suffix": "None"
}
},
"start": 711,
"type": "VariableDeclarator"
},
"end": 725,
"kind": "const",
"start": 711,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 740,
"id": {
"end": 734,
"name": "lipStep4",
"start": 726,
"type": "Identifier"
},
"init": {
"end": 740,
"raw": "1.8",
"start": 737,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.8,
"suffix": "None"
}
},
"start": 726,
"type": "VariableDeclarator"
},
"end": 740,
"kind": "const",
"start": 726,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 755,
"id": {
"end": 749,
"name": "lipStep5",
"start": 741,
"type": "Identifier"
},
"init": {
"end": 755,
"raw": "1.9",
"start": 752,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.9,
"suffix": "None"
}
},
"start": 741,
"type": "VariableDeclarator"
},
"end": 755,
"kind": "const",
"start": 741,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 810,
"id": {
"end": 806,
"name": "countBinWidth",
"start": 793,
"type": "Identifier"
},
"init": {
"end": 810,
"raw": "2",
"start": 809,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 793,
"type": "VariableDeclarator"
},
"end": 810,
"kind": "const",
"start": 793,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 829,
"id": {
"end": 825,
"name": "countBinLength",
"start": 811,
"type": "Identifier"
},
"init": {
"end": 829,
"raw": "3",
"start": 828,
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.0,
"suffix": "None"
}
},
"start": 811,
"type": "VariableDeclarator"
},
"end": 829,
"kind": "const",
"start": 811,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 848,
"id": {
"end": 844,
"name": "countBinHeight",
"start": 830,
"type": "Identifier"
},
"init": {
"end": 848,
"raw": "1",
"start": 847,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
"start": 830,
"type": "VariableDeclarator"
},
"end": 848,
"kind": "const",
"start": 830,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 992,
"id": {
"end": 955,
"name": "height",
"start": 949,
"type": "Identifier"
},
"init": {
"end": 992,
"left": {
"end": 980,
"left": {
"end": 967,
"name": "firstStep",
"start": 958,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 980,
"name": "secondStep",
"start": 970,
"type": "Identifier",
"type": "Identifier"
},
"start": 958,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
"end": 992,
"name": "thirdStep",
"start": 983,
"type": "Identifier",
"type": "Identifier"
},
"start": 958,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 949,
"type": "VariableDeclarator"
},
"end": 992,
"kind": "const",
"start": 949,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 1057,
"id": {
"end": 1002,
"name": "lipHeight",
"start": 993,
"type": "Identifier"
},
"init": {
"end": 1057,
"left": {
"end": 1046,
"left": {
"end": 1035,
"left": {
"end": 1024,
"left": {
"end": 1013,
"name": "lipStep1",
"start": 1005,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 1024,
"name": "lipStep2",
"start": 1016,
"type": "Identifier",
"type": "Identifier"
},
"start": 1005,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
"end": 1035,
"name": "lipStep3",
"start": 1027,
"type": "Identifier",
"type": "Identifier"
},
"start": 1005,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
"end": 1046,
"name": "lipStep4",
"start": 1038,
"type": "Identifier",
"type": "Identifier"
},
"start": 1005,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
"end": 1057,
"name": "lipStep5",
"start": 1049,
"type": "Identifier",
"type": "Identifier"
},
"start": 1005,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 993,
"type": "VariableDeclarator"
},
"end": 1057,
"kind": "const",
"start": 993,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 1488,
"id": {
"end": 1133,
"name": "face",
"start": 1129,
"type": "Identifier"
},
"init": {
"body": {
"body": [
{
"declaration": {
"end": 1466,
"id": {
"end": 1155,
"name": "faceSketch",
"start": 1145,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 1177,
"name": "plane",
"start": 1172,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1171,
"name": "startSketchOn",
"start": 1158,
"type": "Identifier"
},
"end": 1178,
"start": 1158,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 1224,
"left": {
"end": 1215,
"name": "binBaseLength",
"start": 1202,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 1224,
"name": "binTol",
"start": 1218,
"type": "Identifier",
"type": "Identifier"
},
"start": 1202,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 1227,
"raw": "0",
"start": 1226,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 1228,
"start": 1201,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 1231,
"start": 1230,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1200,
"name": "startProfileAt",
"start": 1186,
"type": "Identifier"
},
"end": 1232,
"start": 1186,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1252,
"name": "height",
"start": 1246,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 1255,
"start": 1254,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1245,
"name": "yLine",
"start": 1240,
"type": "Identifier"
},
"end": 1256,
"start": 1240,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"argument": {
"end": 1284,
"name": "binBaseLength",
"start": 1271,
"type": "Identifier",
"type": "Identifier"
},
"end": 1284,
"operator": "-",
"start": 1270,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 1287,
"start": 1286,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1269,
"name": "xLine",
"start": 1264,
"type": "Identifier"
},
"end": 1288,
"start": 1264,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1351,
"properties": [
{
"end": 1329,
"key": {
"end": 1323,
"name": "angle",
"start": 1318,
"type": "Identifier"
},
"start": 1318,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 1329,
"raw": "45",
"start": 1327,
"type": "Literal",
"type": "Literal",
"value": {
"value": 45.0,
"suffix": "None"
}
},
"end": 1329,
"operator": "-",
"start": 1326,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 1349,
"key": {
"end": 1337,
"name": "length",
"start": 1331,
"type": "Identifier"
},
"start": 1331,
"type": "ObjectProperty",
"value": {
"end": 1349,
"name": "thirdStep",
"start": 1340,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 1316,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1354,
"start": 1353,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1315,
"name": "angledLineOfYLength",
"start": 1296,
"type": "Identifier"
},
"end": 1355,
"start": 1296,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"argument": {
"end": 1380,
"name": "secondStep",
"start": 1370,
"type": "Identifier",
"type": "Identifier"
},
"end": 1380,
"operator": "-",
"start": 1369,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 1383,
"start": 1382,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1368,
"name": "yLine",
"start": 1363,
"type": "Identifier"
},
"end": 1384,
"start": 1363,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1447,
"properties": [
{
"end": 1425,
"key": {
"end": 1419,
"name": "angle",
"start": 1414,
"type": "Identifier"
},
"start": 1414,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 1425,
"raw": "45",
"start": 1423,
"type": "Literal",
"type": "Literal",
"value": {
"value": 45.0,
"suffix": "None"
}
},
"end": 1425,
"operator": "-",
"start": 1422,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 1445,
"key": {
"end": 1433,
"name": "length",
"start": 1427,
"type": "Identifier"
},
"start": 1427,
"type": "ObjectProperty",
"value": {
"end": 1445,
"name": "firstStep",
"start": 1436,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 1412,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1450,
"start": 1449,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1411,
"name": "angledLineOfYLength",
"start": 1392,
"type": "Identifier"
},
"end": 1451,
"start": 1392,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [],
"callee": {
"end": 1464,
"name": "close",
"start": 1459,
"type": "Identifier"
},
"end": 1466,
"start": 1459,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 1466,
"start": 1158,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 1145,
"type": "VariableDeclarator"
},
"end": 1466,
"kind": "const",
"start": 1145,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"argument": {
"end": 1486,
"name": "faceSketch",
"start": 1476,
"type": "Identifier",
"type": "Identifier"
},
"end": 1486,
"start": 1469,
"type": "ReturnStatement",
"type": "ReturnStatement"
}
],
"end": 1488,
"start": 1141
},
"end": 1488,
"params": [
{
"type": "Parameter",
"identifier": {
"end": 1139,
"name": "plane",
"start": 1134,
"type": "Identifier"
}
}
],
"start": 1133,
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"start": 1129,
"type": "VariableDeclarator"
},
"end": 1488,
"kind": "fn",
"start": 1126,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 1644,
"id": {
"end": 1536,
"name": "singleSide",
"start": 1526,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1610,
"name": "length",
"start": 1604,
"type": "Identifier"
},
"arg": {
"end": 1642,
"left": {
"end": 1622,
"name": "binLength",
"start": 1613,
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
"end": 1642,
"left": {
"end": 1638,
"name": "cornerRadius",
"start": 1626,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 1642,
"raw": "2",
"start": 1641,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 1626,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 1613,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 1546,
"name": "extrude",
"start": 1539,
"type": "Identifier"
},
"end": 1644,
"start": 1539,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1576,
"name": "offset",
"start": 1570,
"type": "Identifier"
},
"arg": {
"end": 1600,
"left": {
"end": 1591,
"name": "cornerRadius",
"start": 1579,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 1600,
"name": "binTol",
"start": 1594,
"type": "Identifier",
"type": "Identifier"
},
"start": 1579,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 1563,
"name": "offsetPlane",
"start": 1552,
"type": "Identifier"
},
"end": 1601,
"start": 1552,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 1568,
"raw": "\"YZ\"",
"start": 1564,
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
}
],
"callee": {
"end": 1551,
"name": "face",
"start": 1547,
"type": "Identifier"
},
"end": 1602,
"start": 1547,
"type": "CallExpression",
"type": "CallExpression"
}
},
"start": 1526,
"type": "VariableDeclarator"
},
"end": 1644,
"kind": "const",
"start": 1526,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 1928,
"id": {
"end": 1716,
"name": "sides",
"start": 1711,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1764,
"name": "arcDegrees",
"start": 1754,
"type": "Identifier"
},
"arg": {
"end": 1770,
"raw": "360",
"start": 1767,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 1778,
"name": "axis",
"start": 1774,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 1783,
"raw": "0",
"start": 1782,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 1786,
"raw": "0",
"start": 1785,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 1789,
"raw": "1",
"start": 1788,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 1790,
"start": 1781,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 1800,
"name": "center",
"start": 1794,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 1837,
"left": {
"end": 1832,
"left": {
"end": 1819,
"name": "binLength",
"start": 1810,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 1832,
"left": {
"end": 1823,
"raw": "2",
"start": 1822,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 1832,
"name": "binTol",
"start": 1826,
"type": "Identifier",
"type": "Identifier"
},
"start": 1822,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 1810,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 1837,
"raw": "2",
"start": 1836,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 1810,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 1871,
"left": {
"end": 1866,
"left": {
"end": 1853,
"name": "binLength",
"start": 1844,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 1866,
"left": {
"end": 1857,
"raw": "2",
"start": 1856,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 1866,
"name": "binTol",
"start": 1860,
"type": "Identifier",
"type": "Identifier"
},
"start": 1856,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 1844,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 1871,
"raw": "2",
"start": 1870,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 1844,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 1878,
"raw": "0",
"start": 1877,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 1882,
"start": 1803,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 1895,
"name": "instances",
"start": 1886,
"type": "Identifier"
},
"arg": {
"end": 1899,
"raw": "4",
"start": 1898,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 1919,
"name": "rotateDuplicates",
"start": 1903,
"type": "Identifier"
},
"arg": {
"end": 1926,
"raw": "true",
"start": 1922,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 1736,
"name": "patternCircular3d",
"start": 1719,
"type": "Identifier"
},
"end": 1928,
"start": 1719,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 1750,
"name": "singleSide",
"start": 1740,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 1711,
"type": "VariableDeclarator"
},
"end": 1928,
"kind": "const",
"start": 1711,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2087,
"id": {
"end": 1963,
"name": "axis000",
"start": 1956,
"type": "Identifier"
},
"init": {
"end": 2087,
"properties": [
{
"end": 2085,
"key": {
"end": 1976,
"name": "custom",
"start": 1970,
"type": "Identifier"
},
"start": 1970,
"type": "ObjectProperty",
"value": {
"end": 2085,
"properties": [
{
"end": 2002,
"key": {
"end": 1989,
"name": "axis",
"start": 1985,
"type": "Identifier"
},
"start": 1985,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 1996,
"raw": "0.0",
"start": 1993,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 2001,
"raw": "1.0",
"start": 1998,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 2002,
"start": 1992,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 2081,
"key": {
"end": 2014,
"name": "origin",
"start": 2008,
"type": "Identifier"
},
"start": 2008,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 2046,
"left": {
"end": 2037,
"name": "cornerRadius",
"start": 2025,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 2046,
"name": "binTol",
"start": 2040,
"type": "Identifier",
"type": "Identifier"
},
"start": 2025,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 2075,
"left": {
"end": 2066,
"name": "cornerRadius",
"start": 2054,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 2075,
"name": "binTol",
"start": 2069,
"type": "Identifier",
"type": "Identifier"
},
"start": 2054,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 2081,
"start": 2017,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"start": 1979,
"type": "ObjectExpression",
"type": "ObjectExpression"
}
}
],
"start": 1966,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"start": 1956,
"type": "VariableDeclarator"
},
"end": 2087,
"kind": "const",
"start": 1956,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2238,
"id": {
"end": 2138,
"name": "singleCorner",
"start": 2126,
"type": "Identifier"
},
"init": {
"arguments": [
{
"end": 2180,
"properties": [
{
"end": 2162,
"key": {
"end": 2156,
"name": "angle",
"start": 2151,
"type": "Identifier"
},
"start": 2151,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 2162,
"raw": "90",
"start": 2160,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
},
"end": 2162,
"operator": "-",
"start": 2159,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 2178,
"key": {
"end": 2168,
"name": "axis",
"start": 2164,
"type": "Identifier"
},
"start": 2164,
"type": "ObjectProperty",
"value": {
"end": 2178,
"name": "axis000",
"start": 2171,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 2149,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2211,
"name": "offset",
"start": 2205,
"type": "Identifier"
},
"arg": {
"end": 2235,
"left": {
"end": 2226,
"name": "cornerRadius",
"start": 2214,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 2235,
"name": "binTol",
"start": 2229,
"type": "Identifier",
"type": "Identifier"
},
"start": 2214,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 2198,
"name": "offsetPlane",
"start": 2187,
"type": "Identifier"
},
"end": 2236,
"start": 2187,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 2203,
"raw": "\"YZ\"",
"start": 2199,
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
}
],
"callee": {
"end": 2186,
"name": "face",
"start": 2182,
"type": "Identifier"
},
"end": 2237,
"start": 2182,
"type": "CallExpression",
"type": "CallExpression"
}
],
"callee": {
"end": 2148,
"name": "revolve",
"start": 2141,
"type": "Identifier"
},
"end": 2238,
"start": 2141,
"type": "CallExpression",
"type": "CallExpression"
},
"start": 2126,
"type": "VariableDeclarator"
},
"end": 2238,
"kind": "const",
"start": 2126,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2494,
"id": {
"end": 2280,
"name": "corners",
"start": 2273,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2330,
"name": "arcDegrees",
"start": 2320,
"type": "Identifier"
},
"arg": {
"end": 2336,
"raw": "360",
"start": 2333,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 2344,
"name": "axis",
"start": 2340,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 2349,
"raw": "0",
"start": 2348,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 2352,
"raw": "0",
"start": 2351,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 2355,
"raw": "1",
"start": 2354,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 2356,
"start": 2347,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2366,
"name": "center",
"start": 2360,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 2403,
"left": {
"end": 2398,
"left": {
"end": 2385,
"name": "binLength",
"start": 2376,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 2398,
"left": {
"end": 2389,
"raw": "2",
"start": 2388,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 2398,
"name": "binTol",
"start": 2392,
"type": "Identifier",
"type": "Identifier"
},
"start": 2388,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 2376,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 2403,
"raw": "2",
"start": 2402,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 2376,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 2437,
"left": {
"end": 2432,
"left": {
"end": 2419,
"name": "binLength",
"start": 2410,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 2432,
"left": {
"end": 2423,
"raw": "2",
"start": 2422,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 2432,
"name": "binTol",
"start": 2426,
"type": "Identifier",
"type": "Identifier"
},
"start": 2422,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 2410,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 2437,
"raw": "2",
"start": 2436,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 2410,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 2444,
"raw": "0",
"start": 2443,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 2448,
"start": 2369,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2461,
"name": "instances",
"start": 2452,
"type": "Identifier"
},
"arg": {
"end": 2465,
"raw": "4",
"start": 2464,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 2485,
"name": "rotateDuplicates",
"start": 2469,
"type": "Identifier"
},
"arg": {
"end": 2492,
"raw": "true",
"start": 2488,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 2300,
"name": "patternCircular3d",
"start": 2283,
"type": "Identifier"
},
"end": 2494,
"start": 2283,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 2316,
"name": "singleCorner",
"start": 2304,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 2273,
"type": "VariableDeclarator"
},
"end": 2494,
"kind": "const",
"start": 2273,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 3101,
"id": {
"end": 2509,
"name": "singleBinFill",
"start": 2496,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 2530,
"raw": "\"XY\"",
"start": 2526,
"type": "Literal",
"type": "Literal",
"value": "XY"
}
],
"callee": {
"end": 2525,
"name": "startSketchOn",
"start": 2512,
"type": "Identifier"
},
"end": 2531,
"start": 2512,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 2583,
"left": {
"end": 2574,
"name": "binBaseLength",
"start": 2561,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 2583,
"name": "binTol",
"start": 2577,
"type": "Identifier",
"type": "Identifier"
},
"start": 2561,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 2614,
"left": {
"end": 2605,
"name": "binBaseLength",
"start": 2592,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 2614,
"name": "binTol",
"start": 2608,
"type": "Identifier",
"type": "Identifier"
},
"start": 2592,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 2621,
"start": 2552,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 2624,
"start": 2623,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2551,
"name": "startProfileAt",
"start": 2537,
"type": "Identifier"
},
"end": 2625,
"start": 2537,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2639,
"name": "end",
"start": 2636,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 2673,
"left": {
"end": 2652,
"name": "binLength",
"start": 2643,
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
"end": 2673,
"left": {
"end": 2669,
"name": "binBaseLength",
"start": 2656,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 2673,
"raw": "2",
"start": 2672,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 2656,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 2643,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 2677,
"raw": "0",
"start": 2676,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 2678,
"start": 2642,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2683,
"name": "tag",
"start": 2680,
"type": "Identifier"
},
"arg": {
"end": 2694,
"start": 2686,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line000"
}
}
],
"callee": {
"end": 2635,
"name": "line",
"start": 2631,
"type": "Identifier"
},
"end": 2695,
"start": 2631,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2709,
"name": "end",
"start": 2706,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 2714,
"raw": "0",
"start": 2713,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 2746,
"left": {
"end": 2725,
"name": "binLength",
"start": 2716,
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
"end": 2746,
"left": {
"end": 2742,
"name": "binBaseLength",
"start": 2729,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 2746,
"raw": "2",
"start": 2745,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 2729,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 2716,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 2748,
"start": 2712,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2753,
"name": "tag",
"start": 2750,
"type": "Identifier"
},
"arg": {
"end": 2764,
"start": 2756,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line001"
}
}
],
"callee": {
"end": 2705,
"name": "line",
"start": 2701,
"type": "Identifier"
},
"end": 2765,
"start": 2701,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"arguments": [
{
"end": 2794,
"start": 2793,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2792,
"name": "profileStartX",
"start": 2779,
"type": "Identifier"
},
"end": 2795,
"start": 2779,
"type": "CallExpression",
"type": "CallExpression"
},
{
"end": 2798,
"start": 2797,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 2808,
"start": 2800,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line002"
}
],
"callee": {
"end": 2778,
"name": "xLineTo",
"start": 2771,
"type": "Identifier"
},
"end": 2809,
"start": 2771,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2824,
"name": "tag",
"start": 2821,
"type": "Identifier"
},
"arg": {
"end": 2835,
"start": 2827,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line003"
}
}
],
"callee": {
"end": 2820,
"name": "close",
"start": 2815,
"type": "Identifier"
},
"end": 2836,
"start": 2815,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2856,
"name": "length",
"start": 2850,
"type": "Identifier"
},
"arg": {
"end": 2865,
"name": "height",
"start": 2859,
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
"end": 2849,
"name": "extrude",
"start": 2842,
"type": "Identifier"
},
"end": 2866,
"start": 2842,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2893,
"name": "radius",
"start": 2887,
"type": "Identifier"
},
"arg": {
"end": 2905,
"name": "firstStep",
"start": 2896,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2918,
"name": "tags",
"start": 2914,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 2959,
"name": "line000",
"start": 2952,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 2951,
"name": "getNextAdjacentEdge",
"start": 2932,
"type": "Identifier"
},
"end": 2960,
"start": 2932,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 3002,
"name": "line000",
"start": 2995,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 2994,
"name": "getPreviousAdjacentEdge",
"start": 2971,
"type": "Identifier"
},
"end": 3003,
"start": 2971,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 3041,
"name": "line002",
"start": 3034,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 3033,
"name": "getNextAdjacentEdge",
"start": 3014,
"type": "Identifier"
},
"end": 3042,
"start": 3014,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 3084,
"name": "line002",
"start": 3077,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 3076,
"name": "getPreviousAdjacentEdge",
"start": 3053,
"type": "Identifier"
},
"end": 3085,
"start": 3053,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 3094,
"start": 2921,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 2878,
"name": "fillet",
"start": 2872,
"type": "Identifier"
},
"end": 3101,
"start": 2872,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 3101,
"start": 2512,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 2496,
"type": "VariableDeclarator"
},
"end": 3101,
"kind": "const",
"start": 2496,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 3619,
"id": {
"end": 3115,
"name": "magCutout000",
"start": 3103,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 3145,
"name": "singleBinFill",
"start": 3132,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 3154,
"raw": "\"start\"",
"start": 3147,
"type": "Literal",
"type": "Literal",
"value": "start"
}
],
"callee": {
"end": 3131,
"name": "startSketchOn",
"start": 3118,
"type": "Identifier"
},
"end": 3155,
"start": 3118,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3182,
"name": "center",
"start": 3176,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 3231,
"left": {
"end": 3222,
"left": {
"argument": {
"end": 3206,
"name": "magOffset",
"start": 3197,
"type": "Identifier",
"type": "Identifier"
},
"end": 3206,
"operator": "-",
"start": 3196,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "-",
"right": {
"end": 3222,
"name": "binBaseLength",
"start": 3209,
"type": "Identifier",
"type": "Identifier"
},
"start": 3196,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 3231,
"name": "binTol",
"start": 3225,
"type": "Identifier",
"type": "Identifier"
},
"start": 3196,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 3276,
"left": {
"end": 3267,
"left": {
"end": 3251,
"name": "magOffset",
"start": 3242,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 3267,
"name": "binBaseLength",
"start": 3254,
"type": "Identifier",
"type": "Identifier"
},
"start": 3242,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
"end": 3276,
"name": "binTol",
"start": 3270,
"type": "Identifier",
"type": "Identifier"
},
"start": 3242,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 3285,
"start": 3185,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3300,
"name": "radius",
"start": 3294,
"type": "Identifier"
},
"arg": {
"end": 3319,
"left": {
"end": 3315,
"name": "magOuterDiam",
"start": 3303,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 3319,
"raw": "2",
"start": 3318,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 3303,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 3167,
"name": "circle",
"start": 3161,
"type": "Identifier"
},
"end": 3326,
"start": 3161,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3368,
"name": "arcDegrees",
"start": 3358,
"type": "Identifier"
},
"arg": {
"end": 3374,
"raw": "360",
"start": 3371,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 3389,
"name": "center",
"start": 3383,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 3432,
"left": {
"end": 3427,
"left": {
"argument": {
"end": 3414,
"name": "binLength",
"start": 3405,
"type": "Identifier",
"type": "Identifier"
},
"end": 3414,
"operator": "-",
"start": 3404,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "+",
"right": {
"end": 3427,
"left": {
"end": 3418,
"raw": "2",
"start": 3417,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 3427,
"name": "binTol",
"start": 3421,
"type": "Identifier",
"type": "Identifier"
},
"start": 3417,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 3404,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 3432,
"raw": "2",
"start": 3431,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 3404,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 3471,
"left": {
"end": 3466,
"left": {
"end": 3453,
"name": "binLength",
"start": 3444,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 3466,
"left": {
"end": 3457,
"raw": "2",
"start": 3456,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 3466,
"name": "binTol",
"start": 3460,
"type": "Identifier",
"type": "Identifier"
},
"start": 3456,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 3444,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 3471,
"raw": "2",
"start": 3470,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 3444,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 3480,
"start": 3392,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3498,
"name": "instances",
"start": 3489,
"type": "Identifier"
},
"arg": {
"end": 3502,
"raw": "4",
"start": 3501,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 3527,
"name": "rotateDuplicates",
"start": 3511,
"type": "Identifier"
},
"arg": {
"end": 3534,
"raw": "true",
"start": 3530,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 3349,
"name": "patternCircular2d",
"start": 3332,
"type": "Identifier"
},
"end": 3541,
"start": 3332,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3561,
"name": "length",
"start": 3555,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 3573,
"name": "magDepth",
"start": 3565,
"type": "Identifier",
"type": "Identifier"
},
"end": 3573,
"operator": "-",
"start": 3564,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 3554,
"name": "extrude",
"start": 3547,
"type": "Identifier"
},
"end": 3574,
"start": 3547,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 3619,
"nonCodeMeta": {
"nonCodeNodes": {
"3": [
{
"end": 3619,
"start": 3574,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the baseplate by patterning sides",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 3118,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 3103,
"type": "VariableDeclarator"
},
"end": 3619,
"kind": "const",
"start": 3103,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 3976,
"id": {
"end": 3628,
"name": "binSides",
"start": 3620,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3673,
"name": "axis",
"start": 3669,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 3680,
"raw": "1.0",
"start": 3677,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 3685,
"raw": "0.0",
"start": 3682,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 3690,
"raw": "0.0",
"start": 3687,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 3691,
"start": 3676,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3709,
"name": "instances",
"start": 3700,
"type": "Identifier"
},
"arg": {
"end": 3725,
"name": "countBinWidth",
"start": 3712,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3742,
"name": "distance",
"start": 3734,
"type": "Identifier"
},
"arg": {
"end": 3767,
"left": {
"end": 3754,
"name": "binLength",
"start": 3745,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 3767,
"left": {
"end": 3763,
"name": "binTol",
"start": 3757,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 3767,
"raw": "2",
"start": 3766,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 3757,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 3745,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 3646,
"name": "patternLinear3d",
"start": 3631,
"type": "Identifier"
},
"end": 3774,
"start": 3631,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 3660,
"name": "sides",
"start": 3655,
"type": "Identifier",
"type": "Identifier"
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3808,
"name": "axis",
"start": 3804,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 3815,
"raw": "0.0",
"start": 3812,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 3820,
"raw": "1.0",
"start": 3817,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 3825,
"raw": "0.0",
"start": 3822,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 3826,
"start": 3811,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3844,
"name": "instances",
"start": 3835,
"type": "Identifier"
},
"arg": {
"end": 3861,
"name": "countBinLength",
"start": 3847,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 3878,
"name": "distance",
"start": 3870,
"type": "Identifier"
},
"arg": {
"end": 3903,
"left": {
"end": 3890,
"name": "binLength",
"start": 3881,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 3903,
"left": {
"end": 3899,
"name": "binTol",
"start": 3893,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 3903,
"raw": "2",
"start": 3902,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 3893,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 3881,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 3795,
"name": "patternLinear3d",
"start": 3780,
"type": "Identifier"
},
"end": 3910,
"start": 3780,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 3976,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"end": 3976,
"start": 3910,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the corners of the baseplate by patterning the corners",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 3631,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 3620,
"type": "VariableDeclarator"
},
"end": 3976,
"kind": "const",
"start": 3620,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 4328,
"id": {
"end": 3987,
"name": "binCorners",
"start": 3977,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4034,
"name": "axis",
"start": 4030,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 4041,
"raw": "1.0",
"start": 4038,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 4046,
"raw": "0.0",
"start": 4043,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 4051,
"raw": "0.0",
"start": 4048,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4052,
"start": 4037,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4070,
"name": "instances",
"start": 4061,
"type": "Identifier"
},
"arg": {
"end": 4086,
"name": "countBinWidth",
"start": 4073,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4103,
"name": "distance",
"start": 4095,
"type": "Identifier"
},
"arg": {
"end": 4128,
"left": {
"end": 4115,
"name": "binLength",
"start": 4106,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 4128,
"left": {
"end": 4124,
"name": "binTol",
"start": 4118,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 4128,
"raw": "2",
"start": 4127,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 4118,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 4106,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 4005,
"name": "patternLinear3d",
"start": 3990,
"type": "Identifier"
},
"end": 4135,
"start": 3990,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 4021,
"name": "corners",
"start": 4014,
"type": "Identifier",
"type": "Identifier"
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4169,
"name": "axis",
"start": 4165,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 4176,
"raw": "0.0",
"start": 4173,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 4181,
"raw": "1.0",
"start": 4178,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 4186,
"raw": "0.0",
"start": 4183,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4187,
"start": 4172,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4205,
"name": "instances",
"start": 4196,
"type": "Identifier"
},
"arg": {
"end": 4222,
"name": "countBinLength",
"start": 4208,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4239,
"name": "distance",
"start": 4231,
"type": "Identifier"
},
"arg": {
"end": 4264,
"left": {
"end": 4251,
"name": "binLength",
"start": 4242,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 4264,
"left": {
"end": 4260,
"name": "binTol",
"start": 4254,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 4264,
"raw": "2",
"start": 4263,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 4254,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 4242,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 4156,
"name": "patternLinear3d",
"start": 4141,
"type": "Identifier"
},
"end": 4271,
"start": 4141,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 4328,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"end": 4328,
"start": 4271,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the fill of the bin by patterning the corners",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 3990,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 3977,
"type": "VariableDeclarator"
},
"end": 4328,
"kind": "const",
"start": 3977,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 4630,
"id": {
"end": 4336,
"name": "binFill",
"start": 4329,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4389,
"name": "axis",
"start": 4385,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 4396,
"raw": "1.0",
"start": 4393,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 4401,
"raw": "0.0",
"start": 4398,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 4406,
"raw": "0.0",
"start": 4403,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4407,
"start": 4392,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4425,
"name": "instances",
"start": 4416,
"type": "Identifier"
},
"arg": {
"end": 4441,
"name": "countBinWidth",
"start": 4428,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4458,
"name": "distance",
"start": 4450,
"type": "Identifier"
},
"arg": {
"end": 4483,
"left": {
"end": 4470,
"name": "binLength",
"start": 4461,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 4483,
"left": {
"end": 4479,
"name": "binTol",
"start": 4473,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 4483,
"raw": "2",
"start": 4482,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 4473,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 4461,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 4354,
"name": "patternLinear3d",
"start": 4339,
"type": "Identifier"
},
"end": 4490,
"start": 4339,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 4376,
"name": "singleBinFill",
"start": 4363,
"type": "Identifier",
"type": "Identifier"
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4524,
"name": "axis",
"start": 4520,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 4531,
"raw": "0.0",
"start": 4528,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 4536,
"raw": "1.0",
"start": 4533,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 4541,
"raw": "0.0",
"start": 4538,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4542,
"start": 4527,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4560,
"name": "instances",
"start": 4551,
"type": "Identifier"
},
"arg": {
"end": 4577,
"name": "countBinLength",
"start": 4563,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4594,
"name": "distance",
"start": 4586,
"type": "Identifier"
},
"arg": {
"end": 4619,
"left": {
"end": 4606,
"name": "binLength",
"start": 4597,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 4619,
"left": {
"end": 4615,
"name": "binTol",
"start": 4609,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 4619,
"raw": "2",
"start": 4618,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 4609,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 4597,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 4511,
"name": "patternLinear3d",
"start": 4496,
"type": "Identifier"
},
"end": 4626,
"start": 4496,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 4630,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"end": 4630,
"start": 4626,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 4339,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 4329,
"type": "VariableDeclarator"
},
"end": 4630,
"kind": "const",
"start": 4329,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 5328,
"id": {
"end": 4637,
"name": "binTop",
"start": 4631,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4678,
"name": "offset",
"start": 4672,
"type": "Identifier"
},
"arg": {
"end": 4687,
"name": "height",
"start": 4681,
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
"end": 4665,
"name": "offsetPlane",
"start": 4654,
"type": "Identifier"
},
"end": 4688,
"start": 4654,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 4670,
"raw": "\"XY\"",
"start": 4666,
"type": "Literal",
"type": "Literal",
"value": "XY"
}
}
],
"callee": {
"end": 4653,
"name": "startSketchOn",
"start": 4640,
"type": "Identifier"
},
"end": 4689,
"start": 4640,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 4712,
"raw": "0",
"start": 4711,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 4715,
"raw": "0",
"start": 4714,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4716,
"start": 4710,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 4719,
"start": 4718,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 4709,
"name": "startProfileAt",
"start": 4695,
"type": "Identifier"
},
"end": 4720,
"start": 4695,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 4772,
"left": {
"end": 4755,
"left": {
"end": 4742,
"name": "binLength",
"start": 4733,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 4755,
"left": {
"end": 4746,
"raw": "2",
"start": 4745,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 4755,
"name": "binTol",
"start": 4749,
"type": "Identifier",
"type": "Identifier"
},
"start": 4745,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 4733,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 4772,
"name": "countBinWidth",
"start": 4759,
"type": "Identifier",
"type": "Identifier"
},
"start": 4733,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 4775,
"start": 4774,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 4785,
"start": 4777,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line010"
}
],
"callee": {
"end": 4731,
"name": "xLine",
"start": 4726,
"type": "Identifier"
},
"end": 4786,
"start": 4726,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 4839,
"left": {
"end": 4821,
"left": {
"end": 4808,
"name": "binLength",
"start": 4799,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 4821,
"left": {
"end": 4812,
"raw": "2",
"start": 4811,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 4821,
"name": "binTol",
"start": 4815,
"type": "Identifier",
"type": "Identifier"
},
"start": 4811,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 4799,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 4839,
"name": "countBinLength",
"start": 4825,
"type": "Identifier",
"type": "Identifier"
},
"start": 4799,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 4842,
"start": 4841,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 4852,
"start": 4844,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line011"
}
],
"callee": {
"end": 4797,
"name": "yLine",
"start": 4792,
"type": "Identifier"
},
"end": 4853,
"start": 4792,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"arguments": [
{
"end": 4882,
"start": 4881,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 4880,
"name": "profileStartX",
"start": 4867,
"type": "Identifier"
},
"end": 4883,
"start": 4867,
"type": "CallExpression",
"type": "CallExpression"
},
{
"end": 4886,
"start": 4885,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 4896,
"start": 4888,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line012"
}
],
"callee": {
"end": 4866,
"name": "xLineTo",
"start": 4859,
"type": "Identifier"
},
"end": 4897,
"start": 4859,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4912,
"name": "tag",
"start": 4909,
"type": "Identifier"
},
"arg": {
"end": 4923,
"start": 4915,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line013"
}
}
],
"callee": {
"end": 4908,
"name": "close",
"start": 4903,
"type": "Identifier"
},
"end": 4924,
"start": 4903,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4944,
"name": "length",
"start": 4938,
"type": "Identifier"
},
"arg": {
"end": 4973,
"left": {
"end": 4956,
"name": "binHeight",
"start": 4947,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 4973,
"name": "countBinHeight",
"start": 4959,
"type": "Identifier",
"type": "Identifier"
},
"start": 4947,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 4937,
"name": "extrude",
"start": 4930,
"type": "Identifier"
},
"end": 4974,
"start": 4930,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5001,
"name": "radius",
"start": 4995,
"type": "Identifier"
},
"arg": {
"end": 5016,
"name": "cornerRadius",
"start": 5004,
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
"end": 5029,
"name": "tags",
"start": 5025,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 5070,
"name": "line010",
"start": 5063,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 5062,
"name": "getNextAdjacentEdge",
"start": 5043,
"type": "Identifier"
},
"end": 5071,
"start": 5043,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 5113,
"name": "line010",
"start": 5106,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 5105,
"name": "getPreviousAdjacentEdge",
"start": 5082,
"type": "Identifier"
},
"end": 5114,
"start": 5082,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 5152,
"name": "line012",
"start": 5145,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 5144,
"name": "getNextAdjacentEdge",
"start": 5125,
"type": "Identifier"
},
"end": 5153,
"start": 5125,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 5195,
"name": "line012",
"start": 5188,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 5187,
"name": "getPreviousAdjacentEdge",
"start": 5164,
"type": "Identifier"
},
"end": 5196,
"start": 5164,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 5205,
"start": 5032,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 4986,
"name": "fillet",
"start": 4980,
"type": "Identifier"
},
"end": 5212,
"start": 4980,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5229,
"name": "faces",
"start": 5224,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 5238,
"raw": "\"end\"",
"start": 5233,
"type": "Literal",
"type": "Literal",
"value": "end"
}
],
"end": 5239,
"start": 5232,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 5250,
"name": "thickness",
"start": 5241,
"type": "Identifier"
},
"arg": {
"end": 5259,
"name": "binThk",
"start": 5253,
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
"end": 5223,
"name": "shell",
"start": 5218,
"type": "Identifier"
},
"end": 5260,
"start": 5218,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 5328,
"nonCodeMeta": {
"nonCodeNodes": {
"8": [
{
"end": 5328,
"start": 5260,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "define a function which builds the profile of the baseplate bin",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 4640,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 4631,
"type": "VariableDeclarator"
},
"end": 5328,
"kind": "const",
"start": 4631,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 5973,
"id": {
"end": 5339,
"name": "lipFace",
"start": 5332,
"type": "Identifier"
},
"init": {
"body": {
"body": [
{
"declaration": {
"end": 5951,
"id": {
"end": 5361,
"name": "faceSketch",
"start": 5351,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 5383,
"name": "plane",
"start": 5378,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 5377,
"name": "startSketchOn",
"start": 5364,
"type": "Identifier"
},
"end": 5384,
"start": 5364,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 5409,
"raw": "0",
"start": 5408,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 5412,
"raw": "0",
"start": 5411,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 5413,
"start": 5407,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 5416,
"start": 5415,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5406,
"name": "startProfileAt",
"start": 5392,
"type": "Identifier"
},
"end": 5417,
"start": 5392,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5473,
"name": "end",
"start": 5470,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 5480,
"raw": "0.0",
"start": 5477,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 5490,
"raw": "5.792893",
"start": 5482,
"type": "Literal",
"type": "Literal",
"value": {
"value": 5.792893,
"suffix": "None"
}
}
],
"end": 5491,
"start": 5476,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 5496,
"name": "tag",
"start": 5493,
"type": "Identifier"
},
"arg": {
"end": 5507,
"start": 5499,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line000"
}
}
],
"callee": {
"end": 5469,
"name": "line",
"start": 5465,
"type": "Identifier"
},
"end": 5508,
"start": 5465,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 5612,
"properties": [
{
"end": 5549,
"key": {
"end": 5541,
"name": "angleStart",
"start": 5531,
"type": "Identifier"
},
"start": 5531,
"type": "ObjectProperty",
"value": {
"end": 5549,
"raw": "180.0",
"start": 5544,
"type": "Literal",
"type": "Literal",
"value": {
"value": 180.0,
"suffix": "None"
}
}
},
{
"end": 5575,
"key": {
"end": 5568,
"name": "angleEnd",
"start": 5560,
"type": "Identifier"
},
"start": 5560,
"type": "ObjectProperty",
"value": {
"end": 5575,
"raw": "45.0",
"start": 5571,
"type": "Literal",
"type": "Literal",
"value": {
"value": 45.0,
"suffix": "None"
}
}
},
{
"end": 5603,
"key": {
"end": 5592,
"name": "radius",
"start": 5586,
"type": "Identifier"
},
"start": 5586,
"type": "ObjectProperty",
"value": {
"end": 5603,
"raw": "0.500000",
"start": 5595,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.5,
"suffix": "None"
}
}
}
],
"start": 5520,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 5615,
"start": 5614,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 5624,
"start": 5617,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "arc000"
}
],
"callee": {
"end": 5519,
"name": "arc",
"start": 5516,
"type": "Identifier"
},
"end": 5625,
"start": 5516,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5708,
"name": "end",
"start": 5705,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 5720,
"raw": "1.046447",
"start": 5712,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.046447,
"suffix": "None"
}
},
{
"argument": {
"end": 5731,
"raw": "1.046447",
"start": 5723,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.046447,
"suffix": "None"
}
},
"end": 5731,
"operator": "-",
"start": 5722,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
],
"end": 5732,
"start": 5711,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 5737,
"name": "tag",
"start": 5734,
"type": "Identifier"
},
"arg": {
"end": 5748,
"start": 5740,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "line001"
}
}
],
"callee": {
"end": 5704,
"name": "line",
"start": 5700,
"type": "Identifier"
},
"end": 5749,
"start": 5700,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"argument": {
"end": 5772,
"name": "lipStep4",
"start": 5764,
"type": "Identifier",
"type": "Identifier"
},
"end": 5772,
"operator": "-",
"start": 5763,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 5775,
"start": 5774,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5762,
"name": "yLine",
"start": 5757,
"type": "Identifier"
},
"end": 5776,
"start": 5757,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 5838,
"properties": [
{
"end": 5817,
"key": {
"end": 5811,
"name": "angle",
"start": 5806,
"type": "Identifier"
},
"start": 5806,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 5817,
"raw": "45",
"start": 5815,
"type": "Literal",
"type": "Literal",
"value": {
"value": 45.0,
"suffix": "None"
}
},
"end": 5817,
"operator": "-",
"start": 5814,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 5836,
"key": {
"end": 5825,
"name": "length",
"start": 5819,
"type": "Identifier"
},
"start": 5819,
"type": "ObjectProperty",
"value": {
"end": 5836,
"name": "lipStep3",
"start": 5828,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 5804,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 5841,
"start": 5840,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5803,
"name": "angledLineOfYLength",
"start": 5784,
"type": "Identifier"
},
"end": 5842,
"start": 5784,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"argument": {
"end": 5865,
"name": "lipStep2",
"start": 5857,
"type": "Identifier",
"type": "Identifier"
},
"end": 5865,
"operator": "-",
"start": 5856,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 5868,
"start": 5867,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5855,
"name": "yLine",
"start": 5850,
"type": "Identifier"
},
"end": 5869,
"start": 5850,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 5932,
"properties": [
{
"end": 5911,
"key": {
"end": 5904,
"name": "angle",
"start": 5899,
"type": "Identifier"
},
"start": 5899,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 5911,
"raw": "135",
"start": 5908,
"type": "Literal",
"type": "Literal",
"value": {
"value": 135.0,
"suffix": "None"
}
},
"end": 5911,
"operator": "-",
"start": 5907,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 5930,
"key": {
"end": 5919,
"name": "length",
"start": 5913,
"type": "Identifier"
},
"start": 5913,
"type": "ObjectProperty",
"value": {
"end": 5930,
"name": "lipStep1",
"start": 5922,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 5897,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 5935,
"start": 5934,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5896,
"name": "angledLineOfYLength",
"start": 5877,
"type": "Identifier"
},
"end": 5936,
"start": 5877,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [],
"callee": {
"end": 5949,
"name": "close",
"start": 5944,
"type": "Identifier"
},
"end": 5951,
"start": 5944,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 5951,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"end": 5457,
"start": 5421,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "|> yLine(lipHeight, %, $line100)",
"style": "line"
}
}
],
"3": [
{
"end": 5692,
"start": 5629,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "|> angledLineOfYLength({ angle: -45, length: lipStep5 }, %)",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 5364,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 5351,
"type": "VariableDeclarator"
},
"end": 5951,
"kind": "const",
"start": 5351,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"argument": {
"end": 5971,
"name": "faceSketch",
"start": 5961,
"type": "Identifier",
"type": "Identifier"
},
"end": 5971,
"start": 5954,
"type": "ReturnStatement",
"type": "ReturnStatement"
}
],
"end": 5973,
"start": 5347
},
"end": 5973,
"params": [
{
"type": "Parameter",
"identifier": {
"end": 5345,
"name": "plane",
"start": 5340,
"type": "Identifier"
}
}
],
"start": 5339,
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"start": 5332,
"type": "VariableDeclarator"
},
"end": 5973,
"kind": "fn",
"start": 5329,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 6186,
"id": {
"end": 5983,
"name": "plane000",
"start": 5975,
"type": "Identifier"
},
"init": {
"end": 6186,
"properties": [
{
"end": 6184,
"key": {
"end": 5995,
"name": "plane",
"start": 5990,
"type": "Identifier"
},
"start": 5990,
"type": "ObjectProperty",
"value": {
"end": 6184,
"properties": [
{
"end": 6093,
"key": {
"end": 6010,
"name": "origin",
"start": 6004,
"type": "Identifier"
},
"start": 6004,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6033,
"name": "cornerRadius",
"start": 6021,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 6044,
"raw": "0.0",
"start": 6041,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6087,
"left": {
"end": 6058,
"name": "height",
"start": 6052,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 6087,
"left": {
"end": 6070,
"name": "binHeight",
"start": 6061,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 6087,
"name": "countBinHeight",
"start": 6073,
"type": "Identifier",
"type": "Identifier"
},
"start": 6061,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 6052,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 6093,
"start": 6013,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 6122,
"key": {
"end": 6104,
"name": "xAxis",
"start": 6099,
"type": "Identifier"
},
"start": 6099,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6111,
"raw": "0.0",
"start": 6108,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6116,
"raw": "1.0",
"start": 6113,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 6121,
"raw": "0.0",
"start": 6118,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 6122,
"start": 6107,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 6151,
"key": {
"end": 6133,
"name": "yAxis",
"start": 6128,
"type": "Identifier"
},
"start": 6128,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6140,
"raw": "0.0",
"start": 6137,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6145,
"raw": "0.0",
"start": 6142,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6150,
"raw": "1.0",
"start": 6147,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 6151,
"start": 6136,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 6180,
"key": {
"end": 6162,
"name": "zAxis",
"start": 6157,
"type": "Identifier"
},
"start": 6157,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6169,
"raw": "1.0",
"start": 6166,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 6174,
"raw": "0.0",
"start": 6171,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6179,
"raw": "0.0",
"start": 6176,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 6180,
"start": 6165,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"start": 5998,
"type": "ObjectExpression",
"type": "ObjectExpression"
}
}
],
"start": 5986,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"start": 5975,
"type": "VariableDeclarator"
},
"end": 6186,
"kind": "const",
"start": 5975,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 6399,
"id": {
"end": 6196,
"name": "plane001",
"start": 6188,
"type": "Identifier"
},
"init": {
"end": 6399,
"properties": [
{
"end": 6397,
"key": {
"end": 6208,
"name": "plane",
"start": 6203,
"type": "Identifier"
},
"start": 6203,
"type": "ObjectProperty",
"value": {
"end": 6397,
"properties": [
{
"end": 6306,
"key": {
"end": 6223,
"name": "origin",
"start": 6217,
"type": "Identifier"
},
"start": 6217,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6237,
"raw": "0.0",
"start": 6234,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6257,
"name": "cornerRadius",
"start": 6245,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 6300,
"left": {
"end": 6271,
"name": "height",
"start": 6265,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 6300,
"left": {
"end": 6283,
"name": "binHeight",
"start": 6274,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 6300,
"name": "countBinHeight",
"start": 6286,
"type": "Identifier",
"type": "Identifier"
},
"start": 6274,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 6265,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 6306,
"start": 6226,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 6335,
"key": {
"end": 6317,
"name": "xAxis",
"start": 6312,
"type": "Identifier"
},
"start": 6312,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6324,
"raw": "1.0",
"start": 6321,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 6329,
"raw": "0.0",
"start": 6326,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6334,
"raw": "0.0",
"start": 6331,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 6335,
"start": 6320,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 6364,
"key": {
"end": 6346,
"name": "yAxis",
"start": 6341,
"type": "Identifier"
},
"start": 6341,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6353,
"raw": "0.0",
"start": 6350,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6358,
"raw": "0.0",
"start": 6355,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6363,
"raw": "1.0",
"start": 6360,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 6364,
"start": 6349,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 6393,
"key": {
"end": 6375,
"name": "zAxis",
"start": 6370,
"type": "Identifier"
},
"start": 6370,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6382,
"raw": "0.0",
"start": 6379,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6387,
"raw": "1.0",
"start": 6384,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 6392,
"raw": "0.0",
"start": 6389,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 6393,
"start": 6378,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"start": 6211,
"type": "ObjectExpression",
"type": "ObjectExpression"
}
}
],
"start": 6199,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"start": 6188,
"type": "VariableDeclarator"
},
"end": 6399,
"kind": "const",
"start": 6188,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 6655,
"id": {
"end": 6409,
"name": "plane002",
"start": 6401,
"type": "Identifier"
},
"init": {
"end": 6655,
"properties": [
{
"end": 6653,
"key": {
"end": 6421,
"name": "plane",
"start": 6416,
"type": "Identifier"
},
"start": 6416,
"type": "ObjectProperty",
"value": {
"end": 6653,
"properties": [
{
"end": 6562,
"key": {
"end": 6436,
"name": "origin",
"start": 6430,
"type": "Identifier"
},
"start": 6430,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6502,
"left": {
"end": 6486,
"left": {
"end": 6460,
"name": "countBinWidth",
"start": 6447,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 6486,
"left": {
"end": 6473,
"name": "binLength",
"start": 6464,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 6486,
"left": {
"end": 6477,
"raw": "2",
"start": 6476,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 6486,
"name": "binTol",
"start": 6480,
"type": "Identifier",
"type": "Identifier"
},
"start": 6476,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 6464,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 6447,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 6502,
"name": "cornerRadius",
"start": 6490,
"type": "Identifier",
"type": "Identifier"
},
"start": 6447,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 6513,
"raw": "0.0",
"start": 6510,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6556,
"left": {
"end": 6527,
"name": "height",
"start": 6521,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 6556,
"left": {
"end": 6539,
"name": "binHeight",
"start": 6530,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 6556,
"name": "countBinHeight",
"start": 6542,
"type": "Identifier",
"type": "Identifier"
},
"start": 6530,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 6521,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 6562,
"start": 6439,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 6591,
"key": {
"end": 6573,
"name": "xAxis",
"start": 6568,
"type": "Identifier"
},
"start": 6568,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6580,
"raw": "0.0",
"start": 6577,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6585,
"raw": "1.0",
"start": 6582,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 6590,
"raw": "0.0",
"start": 6587,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 6591,
"start": 6576,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 6620,
"key": {
"end": 6602,
"name": "yAxis",
"start": 6597,
"type": "Identifier"
},
"start": 6597,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6609,
"raw": "0.0",
"start": 6606,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6614,
"raw": "0.0",
"start": 6611,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6619,
"raw": "1.0",
"start": 6616,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 6620,
"start": 6605,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 6649,
"key": {
"end": 6631,
"name": "zAxis",
"start": 6626,
"type": "Identifier"
},
"start": 6626,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 6638,
"raw": "1.0",
"start": 6635,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 6643,
"raw": "0.0",
"start": 6640,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 6648,
"raw": "0.0",
"start": 6645,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 6649,
"start": 6634,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"start": 6424,
"type": "ObjectExpression",
"type": "ObjectExpression"
}
}
],
"start": 6412,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"start": 6401,
"type": "VariableDeclarator"
},
"end": 6655,
"kind": "const",
"start": 6401,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 6834,
"id": {
"end": 6719,
"name": "lipSingleLength",
"start": 6704,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 6755,
"name": "length",
"start": 6749,
"type": "Identifier"
},
"arg": {
"end": 6833,
"left": {
"end": 6803,
"left": {
"end": 6783,
"left": {
"end": 6767,
"name": "binLength",
"start": 6758,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 6783,
"name": "countBinWidth",
"start": 6770,
"type": "Identifier",
"type": "Identifier"
},
"start": 6758,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 6803,
"left": {
"end": 6788,
"raw": "2",
"start": 6787,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 6803,
"name": "cornerRadius",
"start": 6791,
"type": "Identifier",
"type": "Identifier"
},
"start": 6787,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 6758,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
"end": 6833,
"left": {
"end": 6817,
"left": {
"end": 6808,
"raw": "2",
"start": 6807,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 6817,
"name": "binTol",
"start": 6811,
"type": "Identifier",
"type": "Identifier"
},
"start": 6807,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 6833,
"name": "countBinWidth",
"start": 6820,
"type": "Identifier",
"type": "Identifier"
},
"start": 6807,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 6758,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 6729,
"name": "extrude",
"start": 6722,
"type": "Identifier"
},
"end": 6834,
"start": 6722,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"arguments": [
{
"end": 6746,
"name": "plane000",
"start": 6738,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 6737,
"name": "lipFace",
"start": 6730,
"type": "Identifier"
},
"end": 6747,
"start": 6730,
"type": "CallExpression",
"type": "CallExpression"
}
},
"start": 6704,
"type": "VariableDeclarator"
},
"end": 6834,
"kind": "const",
"start": 6704,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 7014,
"id": {
"end": 6897,
"name": "lipSingleWidth",
"start": 6883,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 6933,
"name": "length",
"start": 6927,
"type": "Identifier"
},
"arg": {
"end": 7013,
"left": {
"end": 6982,
"left": {
"end": 6962,
"left": {
"end": 6945,
"name": "binLength",
"start": 6936,
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
"end": 6962,
"name": "countBinLength",
"start": 6948,
"type": "Identifier",
"type": "Identifier"
},
"start": 6936,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 6982,
"left": {
"end": 6967,
"raw": "2",
"start": 6966,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 6982,
"name": "cornerRadius",
"start": 6970,
"type": "Identifier",
"type": "Identifier"
},
"start": 6966,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 6936,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
"end": 7013,
"left": {
"end": 6996,
"left": {
"end": 6987,
"raw": "2",
"start": 6986,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 6996,
"name": "binTol",
"start": 6990,
"type": "Identifier",
"type": "Identifier"
},
"start": 6986,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 7013,
"name": "countBinLength",
"start": 6999,
"type": "Identifier",
"type": "Identifier"
},
"start": 6986,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 6936,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 6907,
"name": "extrude",
"start": 6900,
"type": "Identifier"
},
"end": 7014,
"start": 6900,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"arguments": [
{
"end": 6924,
"name": "plane001",
"start": 6916,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 6915,
"name": "lipFace",
"start": 6908,
"type": "Identifier"
},
"end": 6925,
"start": 6908,
"type": "CallExpression",
"type": "CallExpression"
}
},
"start": 6883,
"type": "VariableDeclarator"
},
"end": 7014,
"kind": "const",
"start": 6883,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 7342,
"id": {
"end": 7092,
"name": "lipLengths",
"start": 7082,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 7145,
"name": "arcDegrees",
"start": 7135,
"type": "Identifier"
},
"arg": {
"end": 7151,
"raw": "360",
"start": 7148,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 7159,
"name": "axis",
"start": 7155,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 7164,
"raw": "0",
"start": 7163,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 7167,
"raw": "0",
"start": 7166,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 7170,
"raw": "1",
"start": 7169,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 7171,
"start": 7162,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 7181,
"name": "center",
"start": 7175,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 7234,
"left": {
"end": 7218,
"left": {
"end": 7213,
"left": {
"end": 7200,
"name": "binLength",
"start": 7191,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 7213,
"left": {
"end": 7204,
"raw": "2",
"start": 7203,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 7213,
"name": "binTol",
"start": 7207,
"type": "Identifier",
"type": "Identifier"
},
"start": 7203,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 7191,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 7218,
"raw": "2",
"start": 7217,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 7191,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 7234,
"name": "countBinWidth",
"start": 7221,
"type": "Identifier",
"type": "Identifier"
},
"start": 7191,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 7285,
"left": {
"end": 7268,
"left": {
"end": 7263,
"left": {
"end": 7250,
"name": "binLength",
"start": 7241,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 7263,
"left": {
"end": 7254,
"raw": "2",
"start": 7253,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 7263,
"name": "binTol",
"start": 7257,
"type": "Identifier",
"type": "Identifier"
},
"start": 7253,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 7241,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 7268,
"raw": "2",
"start": 7267,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 7241,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 7285,
"name": "countBinLength",
"start": 7271,
"type": "Identifier",
"type": "Identifier"
},
"start": 7241,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 7292,
"raw": "0",
"start": 7291,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 7296,
"start": 7184,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 7309,
"name": "instances",
"start": 7300,
"type": "Identifier"
},
"arg": {
"end": 7313,
"raw": "2",
"start": 7312,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 7333,
"name": "rotateDuplicates",
"start": 7317,
"type": "Identifier"
},
"arg": {
"end": 7340,
"raw": "true",
"start": 7336,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 7112,
"name": "patternCircular3d",
"start": 7095,
"type": "Identifier"
},
"end": 7342,
"start": 7095,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 7131,
"name": "lipSingleLength",
"start": 7116,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 7082,
"type": "VariableDeclarator"
},
"end": 7342,
"kind": "const",
"start": 7082,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 7668,
"id": {
"end": 7419,
"name": "lipWidths",
"start": 7410,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 7471,
"name": "arcDegrees",
"start": 7461,
"type": "Identifier"
},
"arg": {
"end": 7477,
"raw": "360",
"start": 7474,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 7485,
"name": "axis",
"start": 7481,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 7490,
"raw": "0",
"start": 7489,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 7493,
"raw": "0",
"start": 7492,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 7496,
"raw": "1",
"start": 7495,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 7497,
"start": 7488,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 7507,
"name": "center",
"start": 7501,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 7560,
"left": {
"end": 7544,
"left": {
"end": 7539,
"left": {
"end": 7526,
"name": "binLength",
"start": 7517,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 7539,
"left": {
"end": 7530,
"raw": "2",
"start": 7529,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 7539,
"name": "binTol",
"start": 7533,
"type": "Identifier",
"type": "Identifier"
},
"start": 7529,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 7517,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 7544,
"raw": "2",
"start": 7543,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 7517,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 7560,
"name": "countBinWidth",
"start": 7547,
"type": "Identifier",
"type": "Identifier"
},
"start": 7517,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 7611,
"left": {
"end": 7594,
"left": {
"end": 7589,
"left": {
"end": 7576,
"name": "binLength",
"start": 7567,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 7589,
"left": {
"end": 7580,
"raw": "2",
"start": 7579,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 7589,
"name": "binTol",
"start": 7583,
"type": "Identifier",
"type": "Identifier"
},
"start": 7579,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 7567,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 7594,
"raw": "2",
"start": 7593,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 7567,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 7611,
"name": "countBinLength",
"start": 7597,
"type": "Identifier",
"type": "Identifier"
},
"start": 7567,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 7618,
"raw": "0",
"start": 7617,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 7622,
"start": 7510,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 7635,
"name": "instances",
"start": 7626,
"type": "Identifier"
},
"arg": {
"end": 7639,
"raw": "2",
"start": 7638,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 7659,
"name": "rotateDuplicates",
"start": 7643,
"type": "Identifier"
},
"arg": {
"end": 7666,
"raw": "true",
"start": 7662,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 7439,
"name": "patternCircular3d",
"start": 7422,
"type": "Identifier"
},
"end": 7668,
"start": 7422,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 7457,
"name": "lipSingleWidth",
"start": 7443,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 7410,
"type": "VariableDeclarator"
},
"end": 7668,
"kind": "const",
"start": 7410,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 7791,
"id": {
"end": 7703,
"name": "axis001",
"start": 7696,
"type": "Identifier"
},
"init": {
"end": 7791,
"properties": [
{
"end": 7789,
"key": {
"end": 7716,
"name": "custom",
"start": 7710,
"type": "Identifier"
},
"start": 7710,
"type": "ObjectProperty",
"value": {
"end": 7789,
"properties": [
{
"end": 7742,
"key": {
"end": 7729,
"name": "axis",
"start": 7725,
"type": "Identifier"
},
"start": 7725,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 7736,
"raw": "0.0",
"start": 7733,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 7741,
"raw": "1.0",
"start": 7738,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 7742,
"start": 7732,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 7785,
"key": {
"end": 7754,
"name": "origin",
"start": 7748,
"type": "Identifier"
},
"start": 7748,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 7770,
"name": "cornerRadius",
"start": 7758,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 7784,
"name": "cornerRadius",
"start": 7772,
"type": "Identifier",
"type": "Identifier"
}
],
"end": 7785,
"start": 7757,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"start": 7719,
"type": "ObjectExpression",
"type": "ObjectExpression"
}
}
],
"start": 7706,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"start": 7696,
"type": "VariableDeclarator"
},
"end": 7791,
"kind": "const",
"start": 7696,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 7913,
"id": {
"end": 7851,
"name": "lipSingleLengthCorner",
"start": 7830,
"type": "Identifier"
},
"init": {
"arguments": [
{
"end": 7893,
"properties": [
{
"end": 7875,
"key": {
"end": 7869,
"name": "angle",
"start": 7864,
"type": "Identifier"
},
"start": 7864,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 7875,
"raw": "90",
"start": 7873,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
},
"end": 7875,
"operator": "-",
"start": 7872,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 7891,
"key": {
"end": 7881,
"name": "axis",
"start": 7877,
"type": "Identifier"
},
"start": 7877,
"type": "ObjectProperty",
"value": {
"end": 7891,
"name": "axis001",
"start": 7884,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 7862,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"arguments": [
{
"end": 7911,
"name": "plane000",
"start": 7903,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 7902,
"name": "lipFace",
"start": 7895,
"type": "Identifier"
},
"end": 7912,
"start": 7895,
"type": "CallExpression",
"type": "CallExpression"
}
],
"callee": {
"end": 7861,
"name": "revolve",
"start": 7854,
"type": "Identifier"
},
"end": 7913,
"start": 7854,
"type": "CallExpression",
"type": "CallExpression"
},
"start": 7830,
"type": "VariableDeclarator"
},
"end": 7913,
"kind": "const",
"start": 7830,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 8033,
"id": {
"end": 7972,
"name": "lipSingleWidthCorner",
"start": 7952,
"type": "Identifier"
},
"init": {
"arguments": [
{
"end": 8013,
"properties": [
{
"end": 7995,
"key": {
"end": 7990,
"name": "angle",
"start": 7985,
"type": "Identifier"
},
"start": 7985,
"type": "ObjectProperty",
"value": {
"end": 7995,
"raw": "90",
"start": 7993,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
"end": 8011,
"key": {
"end": 8001,
"name": "axis",
"start": 7997,
"type": "Identifier"
},
"start": 7997,
"type": "ObjectProperty",
"value": {
"end": 8011,
"name": "axis001",
"start": 8004,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 7983,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"arguments": [
{
"end": 8031,
"name": "plane002",
"start": 8023,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 8022,
"name": "lipFace",
"start": 8015,
"type": "Identifier"
},
"end": 8032,
"start": 8015,
"type": "CallExpression",
"type": "CallExpression"
}
],
"callee": {
"end": 7982,
"name": "revolve",
"start": 7975,
"type": "Identifier"
},
"end": 8033,
"start": 7975,
"type": "CallExpression",
"type": "CallExpression"
},
"start": 7952,
"type": "VariableDeclarator"
},
"end": 8033,
"kind": "const",
"start": 7952,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 8337,
"id": {
"end": 8081,
"name": "lipCorners000",
"start": 8068,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 8140,
"name": "arcDegrees",
"start": 8130,
"type": "Identifier"
},
"arg": {
"end": 8146,
"raw": "360",
"start": 8143,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 8154,
"name": "axis",
"start": 8150,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 8159,
"raw": "0",
"start": 8158,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 8162,
"raw": "0",
"start": 8161,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 8165,
"raw": "1",
"start": 8164,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 8166,
"start": 8157,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 8176,
"name": "center",
"start": 8170,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 8229,
"left": {
"end": 8213,
"left": {
"end": 8208,
"left": {
"end": 8195,
"name": "binLength",
"start": 8186,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 8208,
"left": {
"end": 8199,
"raw": "2",
"start": 8198,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 8208,
"name": "binTol",
"start": 8202,
"type": "Identifier",
"type": "Identifier"
},
"start": 8198,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 8186,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 8213,
"raw": "2",
"start": 8212,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 8186,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 8229,
"name": "countBinWidth",
"start": 8216,
"type": "Identifier",
"type": "Identifier"
},
"start": 8186,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 8280,
"left": {
"end": 8263,
"left": {
"end": 8258,
"left": {
"end": 8245,
"name": "binLength",
"start": 8236,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 8258,
"left": {
"end": 8249,
"raw": "2",
"start": 8248,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 8258,
"name": "binTol",
"start": 8252,
"type": "Identifier",
"type": "Identifier"
},
"start": 8248,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 8236,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 8263,
"raw": "2",
"start": 8262,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 8236,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 8280,
"name": "countBinLength",
"start": 8266,
"type": "Identifier",
"type": "Identifier"
},
"start": 8236,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 8287,
"raw": "0",
"start": 8286,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 8291,
"start": 8179,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 8304,
"name": "instances",
"start": 8295,
"type": "Identifier"
},
"arg": {
"end": 8308,
"raw": "2",
"start": 8307,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 8328,
"name": "rotateDuplicates",
"start": 8312,
"type": "Identifier"
},
"arg": {
"end": 8335,
"raw": "true",
"start": 8331,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 8101,
"name": "patternCircular3d",
"start": 8084,
"type": "Identifier"
},
"end": 8337,
"start": 8084,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 8126,
"name": "lipSingleLengthCorner",
"start": 8105,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 8068,
"type": "VariableDeclarator"
},
"end": 8337,
"kind": "const",
"start": 8068,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 8640,
"id": {
"end": 8385,
"name": "lipCorners001",
"start": 8372,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 8443,
"name": "arcDegrees",
"start": 8433,
"type": "Identifier"
},
"arg": {
"end": 8449,
"raw": "360",
"start": 8446,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 8457,
"name": "axis",
"start": 8453,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 8462,
"raw": "0",
"start": 8461,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 8465,
"raw": "0",
"start": 8464,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 8468,
"raw": "1",
"start": 8467,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 8469,
"start": 8460,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 8479,
"name": "center",
"start": 8473,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 8532,
"left": {
"end": 8516,
"left": {
"end": 8511,
"left": {
"end": 8498,
"name": "binLength",
"start": 8489,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 8511,
"left": {
"end": 8502,
"raw": "2",
"start": 8501,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 8511,
"name": "binTol",
"start": 8505,
"type": "Identifier",
"type": "Identifier"
},
"start": 8501,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 8489,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 8516,
"raw": "2",
"start": 8515,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 8489,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 8532,
"name": "countBinWidth",
"start": 8519,
"type": "Identifier",
"type": "Identifier"
},
"start": 8489,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 8583,
"left": {
"end": 8566,
"left": {
"end": 8561,
"left": {
"end": 8548,
"name": "binLength",
"start": 8539,
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
"end": 8561,
"left": {
"end": 8552,
"raw": "2",
"start": 8551,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
"end": 8561,
"name": "binTol",
"start": 8555,
"type": "Identifier",
"type": "Identifier"
},
"start": 8551,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"start": 8539,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
"end": 8566,
"raw": "2",
"start": 8565,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 8539,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "*",
"right": {
"end": 8583,
"name": "countBinLength",
"start": 8569,
"type": "Identifier",
"type": "Identifier"
},
"start": 8539,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 8590,
"raw": "0",
"start": 8589,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 8594,
"start": 8482,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 8607,
"name": "instances",
"start": 8598,
"type": "Identifier"
},
"arg": {
"end": 8611,
"raw": "2",
"start": 8610,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 8631,
"name": "rotateDuplicates",
"start": 8615,
"type": "Identifier"
},
"arg": {
"end": 8638,
"raw": "true",
"start": 8634,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 8405,
"name": "patternCircular3d",
"start": 8388,
"type": "Identifier"
},
"end": 8640,
"start": 8388,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 8429,
"name": "lipSingleWidthCorner",
"start": 8409,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 8372,
"type": "VariableDeclarator"
},
"end": 8640,
"kind": "const",
"start": 8372,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
}
],
"end": 8641,
"innerAttrs": [
{
"end": 442,
"name": {
"end": 418,
"name": "settings",
"start": 410,
"type": "Identifier"
},
"properties": [
{
"end": 441,
"key": {
"end": 436,
"name": "defaultLengthUnit",
"start": 419,
"type": "Identifier"
},
"start": 419,
"type": "ObjectProperty",
"value": {
"end": 441,
"name": "mm",
"start": 439,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 409,
"type": "Annotation"
}
],
"nonCodeMeta": {
"nonCodeNodes": {
"17": [
{
"end": 792,
"start": 755,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Number of bins in each direction",
"style": "line"
}
}
],
"20": [
{
"end": 948,
"start": 848,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "The total height of the baseplate is a summation of the vertical heights of the baseplate steps",
"style": "line"
}
}
],
"22": [
{
"end": 1125,
"start": 1057,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "define a function which builds the profile of the baseplate bin",
"style": "line"
}
}
],
"23": [
{
"end": 1525,
"start": 1488,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "extrude a single side of the bin",
"style": "line"
}
}
],
"24": [
{
"end": 1710,
"start": 1644,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the other sides of the bin by using a circular pattern",
"style": "line"
}
}
],
"25": [
{
"end": 1955,
"start": 1928,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "define an axis axis000",
"style": "line"
}
}
],
"26": [
{
"end": 2125,
"start": 2087,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create a single corner of the bin",
"style": "line"
}
}
],
"27": [
{
"end": 2272,
"start": 2238,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the corners of the bin",
"style": "line"
}
}
],
"28": [
{
"end": 2496,
"start": 2494,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"29": [
{
"end": 3103,
"start": 3101,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"35": [
{
"end": 5975,
"start": 5973,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"36": [
{
"end": 6188,
"start": 6186,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"37": [
{
"end": 6401,
"start": 6399,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"38": [
{
"end": 6703,
"start": 6655,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "extrude a single side of the lip of the bin",
"style": "line"
}
}
],
"39": [
{
"end": 6882,
"start": 6834,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "extrude a single side of the lip of the bin",
"style": "line"
}
}
],
"40": [
{
"end": 7081,
"start": 7014,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the other sides of the lips by using a circular pattern",
"style": "line"
}
}
],
"41": [
{
"end": 7409,
"start": 7342,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the other sides of the lips by using a circular pattern",
"style": "line"
}
}
],
"42": [
{
"end": 7695,
"start": 7668,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "define an axis axis000",
"style": "line"
}
}
],
"43": [
{
"end": 7829,
"start": 7791,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create a single corner of the bin",
"style": "line"
}
}
],
"44": [
{
"end": 7951,
"start": 7913,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create a single corner of the bin",
"style": "line"
}
}
],
"45": [
{
"end": 8067,
"start": 8033,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the corners of the bin",
"style": "line"
}
}
],
"46": [
{
"end": 8371,
"start": 8337,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the corners of the bin",
"style": "line"
}
}
]
},
"startNodes": [
{
"end": 38,
"start": 0,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Gridfinity Bins With A Stacking Lip",
"style": "line"
}
},
{
"end": 374,
"start": 39,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "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",
"style": "line"
}
},
{
"end": 376,
"start": 374,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 408,
"start": 376,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Set units in millimeters (mm)",
"style": "line"
}
},
{
"end": 444,
"start": 442,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 463,
"start": 444,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Define constants",
"style": "line"
}
}
]
},
"start": 0
}
}