2025-03-06 18:01:24 -05:00
---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing gridfinity-baseplate.kcl
---
{
"Ok": {
"body": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 344,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 366,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 366,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "binLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 16:23:20 +13:00
"commentStart": 378,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "42.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 42.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 16:23:20 +13:00
"preComments": [
"// Define constants"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 383,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 383,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 383,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "cornerRadius",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 16:23:20 +13:00
"commentStart": 398,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "4.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 402,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 402,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 402,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "firstStep",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 16:23:20 +13:00
"commentStart": 414,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0.7",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.7,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 418,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 418,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 418,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "secondStep",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 16:23:20 +13:00
"commentStart": 431,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "1.8",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.8,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 435,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 435,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 435,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "thirdStep",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 16:23:20 +13:00
"commentStart": 447,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "2.15",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.15,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 451,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 489,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 489,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "countBinWidth",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 16:23:20 +13:00
"commentStart": 505,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 16:23:20 +13:00
"preComments": [
"",
"",
"// Number of bins in each direction"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 507,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 507,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 507,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "countBinLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 16:23:20 +13:00
"commentStart": 524,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "3",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 525,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 626,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 626,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "height",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 16:23:20 +13:00
"commentStart": 635,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-20 16:23:20 +13:00
"commentStart": 635,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 635,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 635,
"end": 0,
"name": "firstStep",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
"operator": "+",
"right": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 647,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 647,
"end": 0,
"name": "secondStep",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "+",
"right": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 660,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 660,
"end": 0,
"name": "thirdStep",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 16:23:20 +13:00
"preComments": [
"",
"",
"// The total height of the baseplate is a summation of the vertical heights of the baseplate steps"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 669,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 741,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 741,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "face",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": {
"body": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 757,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 757,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 757,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "faceSketch",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 784,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 784,
"end": 0,
"name": "plane",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 770,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 770,
"end": 0,
"name": "startSketchOn",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 770,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 813,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 814,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 817,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 821,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 798,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 798,
"end": 0,
"name": "startProfileAt",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 798,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
2025-03-20 16:23:20 +13:00
"commentStart": 837,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-07 22:07:16 -06:00
"name": "length",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-07 22:07:16 -06:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 846,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 846,
"end": 0,
"name": "height",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-07 22:07:16 -06:00
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 831,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 831,
"end": 0,
"name": "yLine",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 831,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-07 22:07:16 -06:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 881,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 883,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 16:23:20 +13:00
"commentStart": 883,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angle",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"argument": {
2025-03-20 16:23:20 +13:00
"commentStart": 892,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "45",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 45.0,
"suffix": "None"
}
},
2025-03-20 16:23:20 +13:00
"commentStart": 891,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 896,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 16:23:20 +13:00
"commentStart": 896,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 905,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 905,
"end": 0,
"name": "thirdStep",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
}
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 918,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 861,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 861,
"end": 0,
"name": "angledLineOfYLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 861,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-07 22:07:16 -06:00
"type": "LabeledArg",
"label": {
2025-03-20 16:23:20 +13:00
"commentStart": 934,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-07 22:07:16 -06:00
"name": "length",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-07 22:07:16 -06:00
"arg": {
"argument": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 944,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 944,
"end": 0,
"name": "secondStep",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-07 22:07:16 -06:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 943,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-07 22:07:16 -06:00
"operator": "-",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-07 22:07:16 -06:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 928,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 928,
"end": 0,
"name": "yLine",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 928,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-07 22:07:16 -06:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
},
{
"arguments": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 983,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 985,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 16:23:20 +13:00
"commentStart": 985,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angle",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
"argument": {
2025-03-20 16:23:20 +13:00
"commentStart": 994,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "45",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 45.0,
"suffix": "None"
}
},
2025-03-20 16:23:20 +13:00
"commentStart": 993,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 998,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 16:23:20 +13:00
"commentStart": 998,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 1007,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 1007,
"end": 0,
"name": "firstStep",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
}
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 1020,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 963,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 963,
"end": 0,
"name": "angledLineOfYLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 963,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 1030,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 1030,
"end": 0,
"name": "close",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 1030,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
],
2025-03-20 16:23:20 +13:00
"commentStart": 770,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"argument": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 1047,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 1047,
"end": 0,
"name": "faceSketch",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 1040,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ReturnStatement",
"type": "ReturnStatement"
}
],
2025-03-20 16:23:20 +13:00
"commentStart": 753,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 745,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"params": [
{
"type": "Parameter",
"identifier": {
2025-03-20 16:23:20 +13:00
"commentStart": 746,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "plane",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
}
}
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "FunctionExpression",
"type": "FunctionExpression"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "fn",
2025-03-20 16:23:20 +13:00
"preComments": [
"",
"",
"// define a function which builds the profile of the baseplate bin"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 16:23:20 +13:00
"commentStart": 1059,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 16:23:20 +13:00
"commentStart": 1097,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 16:23:20 +13:00
"commentStart": 1097,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "singleSide",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1164,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1173,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1173,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1173,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "binLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
"operator": "-",
"right": {
2025-03-26 08:53:34 -07:00
"commentStart": 1186,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1186,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1186,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "cornerRadius",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
"operator": "*",
"right": {
2025-03-26 08:53:34 -07:00
"commentStart": 1201,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 1110,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 1110,
"end": 0,
"name": "extrude",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 1110,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1139,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "offset",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1148,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1148,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "cornerRadius",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 1123,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 1123,
"end": 0,
"name": "offsetPlane",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 1123,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-26 08:53:34 -07:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 1135,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-26 08:53:34 -07:00
"name": {
"commentStart": 1135,
"end": 0,
"name": "YZ",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-26 08:53:34 -07:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 1118,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 1118,
"end": 0,
"name": "face",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-20 16:23:20 +13:00
"commentStart": 1118,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 16:23:20 +13:00
"preComments": [
"",
"",
"// extrude a single side of the bin"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1204,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-26 08:53:34 -07:00
"commentStart": 1271,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-26 08:53:34 -07:00
"commentStart": 1271,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "sides",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1314,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "arcDegrees",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1327,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "360",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1334,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1341,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 1342,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1345,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1348,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1354,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "center",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1363,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 1364,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1364,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1364,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "binLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
"operator": "/",
"right": {
2025-03-26 08:53:34 -07:00
"commentStart": 1376,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1379,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1379,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1379,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "binLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
"operator": "/",
"right": {
2025-03-26 08:53:34 -07:00
"commentStart": 1391,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1394,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1400,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1412,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "4",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1417,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "rotateDuplicates",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1436,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "true",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1279,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1279,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "patternCircular3d",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-26 08:53:34 -07:00
"commentStart": 1279,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1300,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1300,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "singleSide",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 16:23:20 +13:00
"preComments": [
"",
"",
"// create the other sides of the bin by using a circular pattern"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1443,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-26 08:53:34 -07:00
"commentStart": 1471,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-26 08:53:34 -07:00
"commentStart": 1471,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "axis000",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-26 08:53:34 -07:00
"commentStart": 1481,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 1485,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-26 08:53:34 -07:00
"commentStart": 1485,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "custom",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-26 08:53:34 -07:00
"commentStart": 1494,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 1500,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-26 08:53:34 -07:00
"commentStart": 1500,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-26 08:53:34 -07:00
"commentStart": 1507,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 1508,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1513,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1523,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-26 08:53:34 -07:00
"commentStart": 1523,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "origin",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-26 08:53:34 -07:00
"commentStart": 1532,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1533,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1533,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "cornerRadius",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
{
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1547,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1547,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "cornerRadius",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
}
}
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectExpression",
"type": "ObjectExpression"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 16:23:20 +13:00
"preComments": [
"",
"",
"// define an axis axis000"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1566,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-26 08:53:34 -07:00
"commentStart": 1605,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-26 08:53:34 -07:00
"commentStart": 1605,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "singleCorner",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
2025-03-18 20:34:44 -07:00
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1674,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-18 20:34:44 -07:00
"name": "angle",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-18 20:34:44 -07:00
"type": "Identifier"
},
"arg": {
"argument": {
2025-03-26 08:53:34 -07:00
"commentStart": 1683,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-18 20:34:44 -07:00
"raw": "90",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-18 20:34:44 -07:00
"type": "Literal",
"type": "Literal",
2025-03-06 18:01:24 -05:00
"value": {
2025-03-18 20:34:44 -07:00
"value": 90.0,
"suffix": "None"
2025-03-06 18:01:24 -05:00
}
},
2025-03-26 08:53:34 -07:00
"commentStart": 1682,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-18 20:34:44 -07:00
"operator": "-",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-18 20:34:44 -07:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
2025-03-06 18:01:24 -05:00
},
{
2025-03-18 20:34:44 -07:00
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1687,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-18 20:34:44 -07:00
"name": "axis",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-18 20:34:44 -07:00
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1694,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1694,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "axis000",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-18 20:34:44 -07:00
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1620,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1620,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "revolve",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-26 08:53:34 -07:00
"commentStart": 1620,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-18 20:34:44 -07:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1649,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-18 20:34:44 -07:00
"name": "offset",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-18 20:34:44 -07:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1658,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1658,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "cornerRadius",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-18 20:34:44 -07:00
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1633,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1633,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "offsetPlane",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-18 20:34:44 -07:00
},
2025-03-26 08:53:34 -07:00
"commentStart": 1633,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-18 20:34:44 -07:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-26 08:53:34 -07:00
"abs_path": false,
"commentStart": 1645,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-26 08:53:34 -07:00
"name": {
"commentStart": 1645,
"end": 0,
"name": "YZ",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-26 08:53:34 -07:00
"type": "Name",
"type": "Name"
2025-03-18 20:34:44 -07:00
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1628,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1628,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "face",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-18 20:34:44 -07:00
},
2025-03-26 08:53:34 -07:00
"commentStart": 1628,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-18 20:34:44 -07:00
"type": "CallExpression",
"type": "CallExpression"
}
2025-03-06 18:01:24 -05:00
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 16:23:20 +13:00
"preComments": [
"",
"",
"// create a single corner of the bin"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1702,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-26 08:53:34 -07:00
"commentStart": 1737,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-26 08:53:34 -07:00
"commentStart": 1737,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "corners",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1784,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "arcDegrees",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1797,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "360",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1804,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1811,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 1812,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1815,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1818,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1824,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "center",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1833,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 1834,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1834,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1834,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "binLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
"operator": "/",
"right": {
2025-03-26 08:53:34 -07:00
"commentStart": 1846,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1849,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1849,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1849,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "binLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
"operator": "/",
"right": {
2025-03-26 08:53:34 -07:00
"commentStart": 1861,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1864,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1870,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1882,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "4",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 1887,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "rotateDuplicates",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 1906,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "true",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1747,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1747,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "patternCircular3d",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-26 08:53:34 -07:00
"commentStart": 1747,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1768,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1768,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "singleCorner",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 16:23:20 +13:00
"preComments": [
"",
"",
"// create the corners of the bin"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 1913,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-26 08:53:34 -07:00
"commentStart": 1959,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-26 08:53:34 -07:00
"commentStart": 1959,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "basePlateSides",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2014,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 2021,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 2022,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 2027,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 2032,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2045,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2057,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2057,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "countBinWidth",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2079,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2090,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2090,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "binLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 1976,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 1976,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "patternLinear3d",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-26 08:53:34 -07:00
"commentStart": 1976,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2000,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2000,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "sides",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2129,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 2136,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 2137,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 2142,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 2147,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2153,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2165,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2165,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "countBinLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2181,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2192,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2192,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "binLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2113,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2113,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "patternLinear3d",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-26 08:53:34 -07:00
"commentStart": 2113,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-26 08:53:34 -07:00
"commentStart": 1976,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 2202,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "create the corners of the baseplate by patterning the corners",
"style": "line"
}
}
]
},
"startNodes": []
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 16:23:20 +13:00
"preComments": [
"",
"",
"// create the baseplate by patterning sides"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 2269,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-26 08:53:34 -07:00
"commentStart": 2269,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-26 08:53:34 -07:00
"commentStart": 2269,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "basePlateCorners",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2328,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 2335,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 2336,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 2341,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 2346,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2359,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2371,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2371,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "countBinWidth",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2393,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2404,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2404,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "binLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2288,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2288,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "patternLinear3d",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-26 08:53:34 -07:00
"commentStart": 2288,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2312,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2312,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "corners",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2443,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-26 08:53:34 -07:00
"commentStart": 2450,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-26 08:53:34 -07:00
"commentStart": 2451,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 2456,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "1.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-26 08:53:34 -07:00
"commentStart": 2461,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "0.0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2467,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2479,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2479,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "countBinLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
},
{
"type": "LabeledArg",
"label": {
2025-03-26 08:53:34 -07:00
"commentStart": 2495,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2506,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2506,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "binLength",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-26 08:53:34 -07:00
"commentStart": 2427,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-03-26 08:53:34 -07:00
"commentStart": 2427,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "patternLinear3d",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-03-26 08:53:34 -07:00
"commentStart": 2427,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-26 08:53:34 -07:00
"commentStart": 2288,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
}
],
2025-03-20 16:23:20 +13:00
"commentStart": 0,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"innerAttrs": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 0,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": {
2025-03-20 16:23:20 +13:00
"commentStart": 312,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "settings",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 16:23:20 +13:00
"preComments": [
"// Gridfinity Baseplate",
"// 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",
"",
"",
"// Set units in millimeters (mm)"
],
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 321,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 16:23:20 +13:00
"commentStart": 321,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "defaultLengthUnit",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 341,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 341,
"end": 0,
"name": "mm",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
}
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Annotation"
}
],
"nonCodeMeta": {
2025-03-20 16:23:20 +13:00
"nonCodeNodes": {},
2025-03-06 18:01:24 -05:00
"startNodes": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 344,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
]
},
"start": 0
}
}