Previously, `xLine`, `xLineTo`, `yLine` and `yLineTo` used positional arguments. Now: - `xLineTo` and `yLineTo` have been removed - `xLine` and `yLine` both use keyword arguments: - `length`, optional (i.e. a relative distance along the X or Y axis) - `endAbsolute` optional (i.e. an absolute point along the X or Y axis) - `tag` optional - Exactly one of `length` or `endAbsolute` must be given. Not both, not neither. For example: ``` // Old way |> xLine(6.04, %) |> yLineTo(20, %, $base) // New way |> xLine(length = 6.04) |> yLine(endAbsolute = 20, tag = $base) ``` This also improves some of the general-purpose keyword arguments code in modeling app's TS codebase.
8625 lines
292 KiB
Plaintext
8625 lines
292 KiB
Plaintext
---
|
|
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": 1506,
|
|
"id": {
|
|
"end": 1133,
|
|
"name": "face",
|
|
"start": 1129,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": {
|
|
"body": [
|
|
{
|
|
"declaration": {
|
|
"end": 1484,
|
|
"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": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1252,
|
|
"name": "length",
|
|
"start": 1246,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1261,
|
|
"name": "height",
|
|
"start": 1255,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1245,
|
|
"name": "yLine",
|
|
"start": 1240,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1262,
|
|
"start": 1240,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1282,
|
|
"name": "length",
|
|
"start": 1276,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"argument": {
|
|
"end": 1299,
|
|
"name": "binBaseLength",
|
|
"start": 1286,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1299,
|
|
"operator": "-",
|
|
"start": 1285,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1275,
|
|
"name": "xLine",
|
|
"start": 1270,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1300,
|
|
"start": 1270,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1363,
|
|
"properties": [
|
|
{
|
|
"end": 1341,
|
|
"key": {
|
|
"end": 1335,
|
|
"name": "angle",
|
|
"start": 1330,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1330,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 1341,
|
|
"raw": "45",
|
|
"start": 1339,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 1341,
|
|
"operator": "-",
|
|
"start": 1338,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 1361,
|
|
"key": {
|
|
"end": 1349,
|
|
"name": "length",
|
|
"start": 1343,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1343,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1361,
|
|
"name": "thirdStep",
|
|
"start": 1352,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 1328,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1366,
|
|
"start": 1365,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1327,
|
|
"name": "angledLineOfYLength",
|
|
"start": 1308,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1367,
|
|
"start": 1308,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1387,
|
|
"name": "length",
|
|
"start": 1381,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"argument": {
|
|
"end": 1401,
|
|
"name": "secondStep",
|
|
"start": 1391,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1401,
|
|
"operator": "-",
|
|
"start": 1390,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1380,
|
|
"name": "yLine",
|
|
"start": 1375,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1402,
|
|
"start": 1375,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1465,
|
|
"properties": [
|
|
{
|
|
"end": 1443,
|
|
"key": {
|
|
"end": 1437,
|
|
"name": "angle",
|
|
"start": 1432,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1432,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 1443,
|
|
"raw": "45",
|
|
"start": 1441,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 1443,
|
|
"operator": "-",
|
|
"start": 1440,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 1463,
|
|
"key": {
|
|
"end": 1451,
|
|
"name": "length",
|
|
"start": 1445,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1445,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1463,
|
|
"name": "firstStep",
|
|
"start": 1454,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 1430,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1468,
|
|
"start": 1467,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1429,
|
|
"name": "angledLineOfYLength",
|
|
"start": 1410,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1469,
|
|
"start": 1410,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [],
|
|
"callee": {
|
|
"end": 1482,
|
|
"name": "close",
|
|
"start": 1477,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1484,
|
|
"start": 1477,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 1484,
|
|
"start": 1158,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 1145,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 1484,
|
|
"kind": "const",
|
|
"start": 1145,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"argument": {
|
|
"end": 1504,
|
|
"name": "faceSketch",
|
|
"start": 1494,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1504,
|
|
"start": 1487,
|
|
"type": "ReturnStatement",
|
|
"type": "ReturnStatement"
|
|
}
|
|
],
|
|
"end": 1506,
|
|
"start": 1141
|
|
},
|
|
"end": 1506,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"identifier": {
|
|
"end": 1139,
|
|
"name": "plane",
|
|
"start": 1134,
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 1133,
|
|
"type": "FunctionExpression",
|
|
"type": "FunctionExpression"
|
|
},
|
|
"start": 1129,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 1506,
|
|
"kind": "fn",
|
|
"start": 1126,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 1662,
|
|
"id": {
|
|
"end": 1554,
|
|
"name": "singleSide",
|
|
"start": 1544,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1628,
|
|
"name": "length",
|
|
"start": 1622,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1660,
|
|
"left": {
|
|
"end": 1640,
|
|
"name": "binLength",
|
|
"start": 1631,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 1660,
|
|
"left": {
|
|
"end": 1656,
|
|
"name": "cornerRadius",
|
|
"start": 1644,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1660,
|
|
"raw": "2",
|
|
"start": 1659,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1644,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 1631,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1564,
|
|
"name": "extrude",
|
|
"start": 1557,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1662,
|
|
"start": 1557,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1594,
|
|
"name": "offset",
|
|
"start": 1588,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1618,
|
|
"left": {
|
|
"end": 1609,
|
|
"name": "cornerRadius",
|
|
"start": 1597,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 1618,
|
|
"name": "binTol",
|
|
"start": 1612,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1597,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1581,
|
|
"name": "offsetPlane",
|
|
"start": 1570,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1619,
|
|
"start": 1570,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 1586,
|
|
"raw": "\"YZ\"",
|
|
"start": 1582,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "YZ"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1569,
|
|
"name": "face",
|
|
"start": 1565,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1620,
|
|
"start": 1565,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
"start": 1544,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 1662,
|
|
"kind": "const",
|
|
"start": 1544,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 1946,
|
|
"id": {
|
|
"end": 1734,
|
|
"name": "sides",
|
|
"start": 1729,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1782,
|
|
"name": "arcDegrees",
|
|
"start": 1772,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1788,
|
|
"raw": "360",
|
|
"start": 1785,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1796,
|
|
"name": "axis",
|
|
"start": 1792,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 1801,
|
|
"raw": "0",
|
|
"start": 1800,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 1804,
|
|
"raw": "0",
|
|
"start": 1803,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 1807,
|
|
"raw": "1",
|
|
"start": 1806,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 1808,
|
|
"start": 1799,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1818,
|
|
"name": "center",
|
|
"start": 1812,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 1855,
|
|
"left": {
|
|
"end": 1850,
|
|
"left": {
|
|
"end": 1837,
|
|
"name": "binLength",
|
|
"start": 1828,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 1850,
|
|
"left": {
|
|
"end": 1841,
|
|
"raw": "2",
|
|
"start": 1840,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1850,
|
|
"name": "binTol",
|
|
"start": 1844,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1840,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 1828,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 1855,
|
|
"raw": "2",
|
|
"start": 1854,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1828,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 1889,
|
|
"left": {
|
|
"end": 1884,
|
|
"left": {
|
|
"end": 1871,
|
|
"name": "binLength",
|
|
"start": 1862,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 1884,
|
|
"left": {
|
|
"end": 1875,
|
|
"raw": "2",
|
|
"start": 1874,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1884,
|
|
"name": "binTol",
|
|
"start": 1878,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1874,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 1862,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 1889,
|
|
"raw": "2",
|
|
"start": 1888,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1862,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 1896,
|
|
"raw": "0",
|
|
"start": 1895,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 1900,
|
|
"start": 1821,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1913,
|
|
"name": "instances",
|
|
"start": 1904,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1917,
|
|
"raw": "4",
|
|
"start": 1916,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1937,
|
|
"name": "rotateDuplicates",
|
|
"start": 1921,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1944,
|
|
"raw": "true",
|
|
"start": 1940,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1754,
|
|
"name": "patternCircular3d",
|
|
"start": 1737,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1946,
|
|
"start": 1737,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 1768,
|
|
"name": "singleSide",
|
|
"start": 1758,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 1729,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 1946,
|
|
"kind": "const",
|
|
"start": 1729,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 2105,
|
|
"id": {
|
|
"end": 1981,
|
|
"name": "axis000",
|
|
"start": 1974,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"end": 2105,
|
|
"properties": [
|
|
{
|
|
"end": 2103,
|
|
"key": {
|
|
"end": 1994,
|
|
"name": "custom",
|
|
"start": 1988,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1988,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2103,
|
|
"properties": [
|
|
{
|
|
"end": 2020,
|
|
"key": {
|
|
"end": 2007,
|
|
"name": "axis",
|
|
"start": 2003,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2003,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 2014,
|
|
"raw": "0.0",
|
|
"start": 2011,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 2019,
|
|
"raw": "1.0",
|
|
"start": 2016,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 2020,
|
|
"start": 2010,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 2099,
|
|
"key": {
|
|
"end": 2032,
|
|
"name": "origin",
|
|
"start": 2026,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2026,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 2064,
|
|
"left": {
|
|
"end": 2055,
|
|
"name": "cornerRadius",
|
|
"start": 2043,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2064,
|
|
"name": "binTol",
|
|
"start": 2058,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2043,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2093,
|
|
"left": {
|
|
"end": 2084,
|
|
"name": "cornerRadius",
|
|
"start": 2072,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2093,
|
|
"name": "binTol",
|
|
"start": 2087,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2072,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 2099,
|
|
"start": 2035,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1997,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1984,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
"start": 1974,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 2105,
|
|
"kind": "const",
|
|
"start": 1974,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 2256,
|
|
"id": {
|
|
"end": 2156,
|
|
"name": "singleCorner",
|
|
"start": 2144,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"end": 2198,
|
|
"properties": [
|
|
{
|
|
"end": 2180,
|
|
"key": {
|
|
"end": 2174,
|
|
"name": "angle",
|
|
"start": 2169,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2169,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 2180,
|
|
"raw": "90",
|
|
"start": 2178,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 2180,
|
|
"operator": "-",
|
|
"start": 2177,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 2196,
|
|
"key": {
|
|
"end": 2186,
|
|
"name": "axis",
|
|
"start": 2182,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2182,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2196,
|
|
"name": "axis000",
|
|
"start": 2189,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 2167,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2229,
|
|
"name": "offset",
|
|
"start": 2223,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2253,
|
|
"left": {
|
|
"end": 2244,
|
|
"name": "cornerRadius",
|
|
"start": 2232,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2253,
|
|
"name": "binTol",
|
|
"start": 2247,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2232,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2216,
|
|
"name": "offsetPlane",
|
|
"start": 2205,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2254,
|
|
"start": 2205,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 2221,
|
|
"raw": "\"YZ\"",
|
|
"start": 2217,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "YZ"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2204,
|
|
"name": "face",
|
|
"start": 2200,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2255,
|
|
"start": 2200,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2166,
|
|
"name": "revolve",
|
|
"start": 2159,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2256,
|
|
"start": 2159,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
"start": 2144,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 2256,
|
|
"kind": "const",
|
|
"start": 2144,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 2512,
|
|
"id": {
|
|
"end": 2298,
|
|
"name": "corners",
|
|
"start": 2291,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2348,
|
|
"name": "arcDegrees",
|
|
"start": 2338,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2354,
|
|
"raw": "360",
|
|
"start": 2351,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2362,
|
|
"name": "axis",
|
|
"start": 2358,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 2367,
|
|
"raw": "0",
|
|
"start": 2366,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 2370,
|
|
"raw": "0",
|
|
"start": 2369,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 2373,
|
|
"raw": "1",
|
|
"start": 2372,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 2374,
|
|
"start": 2365,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2384,
|
|
"name": "center",
|
|
"start": 2378,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 2421,
|
|
"left": {
|
|
"end": 2416,
|
|
"left": {
|
|
"end": 2403,
|
|
"name": "binLength",
|
|
"start": 2394,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2416,
|
|
"left": {
|
|
"end": 2407,
|
|
"raw": "2",
|
|
"start": 2406,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2416,
|
|
"name": "binTol",
|
|
"start": 2410,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2406,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 2394,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2421,
|
|
"raw": "2",
|
|
"start": 2420,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2394,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2455,
|
|
"left": {
|
|
"end": 2450,
|
|
"left": {
|
|
"end": 2437,
|
|
"name": "binLength",
|
|
"start": 2428,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2450,
|
|
"left": {
|
|
"end": 2441,
|
|
"raw": "2",
|
|
"start": 2440,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2450,
|
|
"name": "binTol",
|
|
"start": 2444,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2440,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 2428,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2455,
|
|
"raw": "2",
|
|
"start": 2454,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2428,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2462,
|
|
"raw": "0",
|
|
"start": 2461,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 2466,
|
|
"start": 2387,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2479,
|
|
"name": "instances",
|
|
"start": 2470,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2483,
|
|
"raw": "4",
|
|
"start": 2482,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2503,
|
|
"name": "rotateDuplicates",
|
|
"start": 2487,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2510,
|
|
"raw": "true",
|
|
"start": 2506,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2318,
|
|
"name": "patternCircular3d",
|
|
"start": 2301,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2512,
|
|
"start": 2301,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 2334,
|
|
"name": "singleCorner",
|
|
"start": 2322,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 2291,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 2512,
|
|
"kind": "const",
|
|
"start": 2291,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 3134,
|
|
"id": {
|
|
"end": 2527,
|
|
"name": "singleBinFill",
|
|
"start": 2514,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2548,
|
|
"raw": "\"XY\"",
|
|
"start": 2544,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "XY"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2543,
|
|
"name": "startSketchOn",
|
|
"start": 2530,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2549,
|
|
"start": 2530,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"end": 2601,
|
|
"left": {
|
|
"end": 2592,
|
|
"name": "binBaseLength",
|
|
"start": 2579,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2601,
|
|
"name": "binTol",
|
|
"start": 2595,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2579,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2632,
|
|
"left": {
|
|
"end": 2623,
|
|
"name": "binBaseLength",
|
|
"start": 2610,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2632,
|
|
"name": "binTol",
|
|
"start": 2626,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2610,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 2639,
|
|
"start": 2570,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
},
|
|
{
|
|
"end": 2642,
|
|
"start": 2641,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2569,
|
|
"name": "startProfileAt",
|
|
"start": 2555,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2643,
|
|
"start": 2555,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2657,
|
|
"name": "end",
|
|
"start": 2654,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 2691,
|
|
"left": {
|
|
"end": 2670,
|
|
"name": "binLength",
|
|
"start": 2661,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 2691,
|
|
"left": {
|
|
"end": 2687,
|
|
"name": "binBaseLength",
|
|
"start": 2674,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2691,
|
|
"raw": "2",
|
|
"start": 2690,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2674,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 2661,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2695,
|
|
"raw": "0",
|
|
"start": 2694,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 2696,
|
|
"start": 2660,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2701,
|
|
"name": "tag",
|
|
"start": 2698,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2712,
|
|
"start": 2704,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line000"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2653,
|
|
"name": "line",
|
|
"start": 2649,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2713,
|
|
"start": 2649,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2727,
|
|
"name": "end",
|
|
"start": 2724,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 2732,
|
|
"raw": "0",
|
|
"start": 2731,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 2764,
|
|
"left": {
|
|
"end": 2743,
|
|
"name": "binLength",
|
|
"start": 2734,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 2764,
|
|
"left": {
|
|
"end": 2760,
|
|
"name": "binBaseLength",
|
|
"start": 2747,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2764,
|
|
"raw": "2",
|
|
"start": 2763,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2747,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 2734,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 2766,
|
|
"start": 2730,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2771,
|
|
"name": "tag",
|
|
"start": 2768,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2782,
|
|
"start": 2774,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line001"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2723,
|
|
"name": "line",
|
|
"start": 2719,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2783,
|
|
"start": 2719,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2806,
|
|
"name": "endAbsolute",
|
|
"start": 2795,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"arguments": [
|
|
{
|
|
"end": 2824,
|
|
"start": 2823,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2822,
|
|
"name": "profileStartX",
|
|
"start": 2809,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2825,
|
|
"start": 2809,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2830,
|
|
"name": "tag",
|
|
"start": 2827,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2841,
|
|
"start": 2833,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line002"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2794,
|
|
"name": "xLine",
|
|
"start": 2789,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2842,
|
|
"start": 2789,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2857,
|
|
"name": "tag",
|
|
"start": 2854,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2868,
|
|
"start": 2860,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line003"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2853,
|
|
"name": "close",
|
|
"start": 2848,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2869,
|
|
"start": 2848,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2889,
|
|
"name": "length",
|
|
"start": 2883,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2898,
|
|
"name": "height",
|
|
"start": 2892,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2882,
|
|
"name": "extrude",
|
|
"start": 2875,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2899,
|
|
"start": 2875,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2926,
|
|
"name": "radius",
|
|
"start": 2920,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2938,
|
|
"name": "firstStep",
|
|
"start": 2929,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2951,
|
|
"name": "tags",
|
|
"start": 2947,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2992,
|
|
"name": "line000",
|
|
"start": 2985,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2984,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 2965,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2993,
|
|
"start": 2965,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3035,
|
|
"name": "line000",
|
|
"start": 3028,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3027,
|
|
"name": "getPreviousAdjacentEdge",
|
|
"start": 3004,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3036,
|
|
"start": 3004,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3074,
|
|
"name": "line002",
|
|
"start": 3067,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3066,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 3047,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3075,
|
|
"start": 3047,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3117,
|
|
"name": "line002",
|
|
"start": 3110,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3109,
|
|
"name": "getPreviousAdjacentEdge",
|
|
"start": 3086,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3118,
|
|
"start": 3086,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 3127,
|
|
"start": 2954,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2911,
|
|
"name": "fillet",
|
|
"start": 2905,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3134,
|
|
"start": 2905,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 3134,
|
|
"start": 2530,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 2514,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 3134,
|
|
"kind": "const",
|
|
"start": 2514,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 3652,
|
|
"id": {
|
|
"end": 3148,
|
|
"name": "magCutout000",
|
|
"start": 3136,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3178,
|
|
"name": "singleBinFill",
|
|
"start": 3165,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
{
|
|
"end": 3187,
|
|
"raw": "\"start\"",
|
|
"start": 3180,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "start"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3164,
|
|
"name": "startSketchOn",
|
|
"start": 3151,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3188,
|
|
"start": 3151,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3215,
|
|
"name": "center",
|
|
"start": 3209,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 3264,
|
|
"left": {
|
|
"end": 3255,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3239,
|
|
"name": "magOffset",
|
|
"start": 3230,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3239,
|
|
"operator": "-",
|
|
"start": 3229,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 3255,
|
|
"name": "binBaseLength",
|
|
"start": 3242,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3229,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 3264,
|
|
"name": "binTol",
|
|
"start": 3258,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3229,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3309,
|
|
"left": {
|
|
"end": 3300,
|
|
"left": {
|
|
"end": 3284,
|
|
"name": "magOffset",
|
|
"start": 3275,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3300,
|
|
"name": "binBaseLength",
|
|
"start": 3287,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3275,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3309,
|
|
"name": "binTol",
|
|
"start": 3303,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3275,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 3318,
|
|
"start": 3218,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3333,
|
|
"name": "radius",
|
|
"start": 3327,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3352,
|
|
"left": {
|
|
"end": 3348,
|
|
"name": "magOuterDiam",
|
|
"start": 3336,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3352,
|
|
"raw": "2",
|
|
"start": 3351,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3336,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3200,
|
|
"name": "circle",
|
|
"start": 3194,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3359,
|
|
"start": 3194,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3401,
|
|
"name": "arcDegrees",
|
|
"start": 3391,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3407,
|
|
"raw": "360",
|
|
"start": 3404,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3422,
|
|
"name": "center",
|
|
"start": 3416,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 3465,
|
|
"left": {
|
|
"end": 3460,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3447,
|
|
"name": "binLength",
|
|
"start": 3438,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3447,
|
|
"operator": "-",
|
|
"start": 3437,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3460,
|
|
"left": {
|
|
"end": 3451,
|
|
"raw": "2",
|
|
"start": 3450,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3460,
|
|
"name": "binTol",
|
|
"start": 3454,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3450,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 3437,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3465,
|
|
"raw": "2",
|
|
"start": 3464,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3437,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3504,
|
|
"left": {
|
|
"end": 3499,
|
|
"left": {
|
|
"end": 3486,
|
|
"name": "binLength",
|
|
"start": 3477,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3499,
|
|
"left": {
|
|
"end": 3490,
|
|
"raw": "2",
|
|
"start": 3489,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3499,
|
|
"name": "binTol",
|
|
"start": 3493,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3489,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 3477,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3504,
|
|
"raw": "2",
|
|
"start": 3503,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3477,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 3513,
|
|
"start": 3425,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3531,
|
|
"name": "instances",
|
|
"start": 3522,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3535,
|
|
"raw": "4",
|
|
"start": 3534,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3560,
|
|
"name": "rotateDuplicates",
|
|
"start": 3544,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3567,
|
|
"raw": "true",
|
|
"start": 3563,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3382,
|
|
"name": "patternCircular2d",
|
|
"start": 3365,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3574,
|
|
"start": 3365,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3594,
|
|
"name": "length",
|
|
"start": 3588,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"argument": {
|
|
"end": 3606,
|
|
"name": "magDepth",
|
|
"start": 3598,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3606,
|
|
"operator": "-",
|
|
"start": 3597,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3587,
|
|
"name": "extrude",
|
|
"start": 3580,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3607,
|
|
"start": 3580,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 3652,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"3": [
|
|
{
|
|
"end": 3652,
|
|
"start": 3607,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the baseplate by patterning sides",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 3151,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 3136,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 3652,
|
|
"kind": "const",
|
|
"start": 3136,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 4009,
|
|
"id": {
|
|
"end": 3661,
|
|
"name": "binSides",
|
|
"start": 3653,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3706,
|
|
"name": "axis",
|
|
"start": 3702,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 3713,
|
|
"raw": "1.0",
|
|
"start": 3710,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 3718,
|
|
"raw": "0.0",
|
|
"start": 3715,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 3723,
|
|
"raw": "0.0",
|
|
"start": 3720,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 3724,
|
|
"start": 3709,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3742,
|
|
"name": "instances",
|
|
"start": 3733,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3758,
|
|
"name": "countBinWidth",
|
|
"start": 3745,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3775,
|
|
"name": "distance",
|
|
"start": 3767,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3800,
|
|
"left": {
|
|
"end": 3787,
|
|
"name": "binLength",
|
|
"start": 3778,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3800,
|
|
"left": {
|
|
"end": 3796,
|
|
"name": "binTol",
|
|
"start": 3790,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3800,
|
|
"raw": "2",
|
|
"start": 3799,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3790,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 3778,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3679,
|
|
"name": "patternLinear3d",
|
|
"start": 3664,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3807,
|
|
"start": 3664,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 3693,
|
|
"name": "sides",
|
|
"start": 3688,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3841,
|
|
"name": "axis",
|
|
"start": 3837,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 3848,
|
|
"raw": "0.0",
|
|
"start": 3845,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 3853,
|
|
"raw": "1.0",
|
|
"start": 3850,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 3858,
|
|
"raw": "0.0",
|
|
"start": 3855,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 3859,
|
|
"start": 3844,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3877,
|
|
"name": "instances",
|
|
"start": 3868,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3894,
|
|
"name": "countBinLength",
|
|
"start": 3880,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3911,
|
|
"name": "distance",
|
|
"start": 3903,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3936,
|
|
"left": {
|
|
"end": 3923,
|
|
"name": "binLength",
|
|
"start": 3914,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3936,
|
|
"left": {
|
|
"end": 3932,
|
|
"name": "binTol",
|
|
"start": 3926,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3936,
|
|
"raw": "2",
|
|
"start": 3935,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3926,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 3914,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3828,
|
|
"name": "patternLinear3d",
|
|
"start": 3813,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3943,
|
|
"start": 3813,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 4009,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"1": [
|
|
{
|
|
"end": 4009,
|
|
"start": 3943,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the corners of the baseplate by patterning the corners",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 3664,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 3653,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 4009,
|
|
"kind": "const",
|
|
"start": 3653,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 4361,
|
|
"id": {
|
|
"end": 4020,
|
|
"name": "binCorners",
|
|
"start": 4010,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4067,
|
|
"name": "axis",
|
|
"start": 4063,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 4074,
|
|
"raw": "1.0",
|
|
"start": 4071,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4079,
|
|
"raw": "0.0",
|
|
"start": 4076,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4084,
|
|
"raw": "0.0",
|
|
"start": 4081,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 4085,
|
|
"start": 4070,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4103,
|
|
"name": "instances",
|
|
"start": 4094,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4119,
|
|
"name": "countBinWidth",
|
|
"start": 4106,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4136,
|
|
"name": "distance",
|
|
"start": 4128,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4161,
|
|
"left": {
|
|
"end": 4148,
|
|
"name": "binLength",
|
|
"start": 4139,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4161,
|
|
"left": {
|
|
"end": 4157,
|
|
"name": "binTol",
|
|
"start": 4151,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4161,
|
|
"raw": "2",
|
|
"start": 4160,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4151,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4139,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4038,
|
|
"name": "patternLinear3d",
|
|
"start": 4023,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4168,
|
|
"start": 4023,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 4054,
|
|
"name": "corners",
|
|
"start": 4047,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4202,
|
|
"name": "axis",
|
|
"start": 4198,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 4209,
|
|
"raw": "0.0",
|
|
"start": 4206,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4214,
|
|
"raw": "1.0",
|
|
"start": 4211,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4219,
|
|
"raw": "0.0",
|
|
"start": 4216,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 4220,
|
|
"start": 4205,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4238,
|
|
"name": "instances",
|
|
"start": 4229,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4255,
|
|
"name": "countBinLength",
|
|
"start": 4241,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4272,
|
|
"name": "distance",
|
|
"start": 4264,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4297,
|
|
"left": {
|
|
"end": 4284,
|
|
"name": "binLength",
|
|
"start": 4275,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4297,
|
|
"left": {
|
|
"end": 4293,
|
|
"name": "binTol",
|
|
"start": 4287,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4297,
|
|
"raw": "2",
|
|
"start": 4296,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4287,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4275,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4189,
|
|
"name": "patternLinear3d",
|
|
"start": 4174,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4304,
|
|
"start": 4174,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 4361,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"1": [
|
|
{
|
|
"end": 4361,
|
|
"start": 4304,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the fill of the bin by patterning the corners",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 4023,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 4010,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 4361,
|
|
"kind": "const",
|
|
"start": 4010,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 4663,
|
|
"id": {
|
|
"end": 4369,
|
|
"name": "binFill",
|
|
"start": 4362,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4422,
|
|
"name": "axis",
|
|
"start": 4418,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 4429,
|
|
"raw": "1.0",
|
|
"start": 4426,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4434,
|
|
"raw": "0.0",
|
|
"start": 4431,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4439,
|
|
"raw": "0.0",
|
|
"start": 4436,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 4440,
|
|
"start": 4425,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4458,
|
|
"name": "instances",
|
|
"start": 4449,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4474,
|
|
"name": "countBinWidth",
|
|
"start": 4461,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4491,
|
|
"name": "distance",
|
|
"start": 4483,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4516,
|
|
"left": {
|
|
"end": 4503,
|
|
"name": "binLength",
|
|
"start": 4494,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4516,
|
|
"left": {
|
|
"end": 4512,
|
|
"name": "binTol",
|
|
"start": 4506,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4516,
|
|
"raw": "2",
|
|
"start": 4515,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4506,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4494,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4387,
|
|
"name": "patternLinear3d",
|
|
"start": 4372,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4523,
|
|
"start": 4372,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 4409,
|
|
"name": "singleBinFill",
|
|
"start": 4396,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4557,
|
|
"name": "axis",
|
|
"start": 4553,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 4564,
|
|
"raw": "0.0",
|
|
"start": 4561,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4569,
|
|
"raw": "1.0",
|
|
"start": 4566,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4574,
|
|
"raw": "0.0",
|
|
"start": 4571,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 4575,
|
|
"start": 4560,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4593,
|
|
"name": "instances",
|
|
"start": 4584,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4610,
|
|
"name": "countBinLength",
|
|
"start": 4596,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4627,
|
|
"name": "distance",
|
|
"start": 4619,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4652,
|
|
"left": {
|
|
"end": 4639,
|
|
"name": "binLength",
|
|
"start": 4630,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4652,
|
|
"left": {
|
|
"end": 4648,
|
|
"name": "binTol",
|
|
"start": 4642,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4652,
|
|
"raw": "2",
|
|
"start": 4651,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4642,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4630,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4544,
|
|
"name": "patternLinear3d",
|
|
"start": 4529,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4659,
|
|
"start": 4529,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 4663,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"1": [
|
|
{
|
|
"end": 4663,
|
|
"start": 4659,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 4372,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 4362,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 4663,
|
|
"kind": "const",
|
|
"start": 4362,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 5400,
|
|
"id": {
|
|
"end": 4670,
|
|
"name": "binTop",
|
|
"start": 4664,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4711,
|
|
"name": "offset",
|
|
"start": 4705,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4720,
|
|
"name": "height",
|
|
"start": 4714,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4698,
|
|
"name": "offsetPlane",
|
|
"start": 4687,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4721,
|
|
"start": 4687,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 4703,
|
|
"raw": "\"XY\"",
|
|
"start": 4699,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "XY"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4686,
|
|
"name": "startSketchOn",
|
|
"start": 4673,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4722,
|
|
"start": 4673,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"end": 4745,
|
|
"raw": "0",
|
|
"start": 4744,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4748,
|
|
"raw": "0",
|
|
"start": 4747,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 4749,
|
|
"start": 4743,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
},
|
|
{
|
|
"end": 4752,
|
|
"start": 4751,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4742,
|
|
"name": "startProfileAt",
|
|
"start": 4728,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4753,
|
|
"start": 4728,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4771,
|
|
"name": "length",
|
|
"start": 4765,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4814,
|
|
"left": {
|
|
"end": 4797,
|
|
"left": {
|
|
"end": 4784,
|
|
"name": "binLength",
|
|
"start": 4775,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4797,
|
|
"left": {
|
|
"end": 4788,
|
|
"raw": "2",
|
|
"start": 4787,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4797,
|
|
"name": "binTol",
|
|
"start": 4791,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4787,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4775,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4814,
|
|
"name": "countBinWidth",
|
|
"start": 4801,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4775,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4819,
|
|
"name": "tag",
|
|
"start": 4816,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4830,
|
|
"start": 4822,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line010"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4764,
|
|
"name": "xLine",
|
|
"start": 4759,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4831,
|
|
"start": 4759,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4849,
|
|
"name": "length",
|
|
"start": 4843,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4893,
|
|
"left": {
|
|
"end": 4875,
|
|
"left": {
|
|
"end": 4862,
|
|
"name": "binLength",
|
|
"start": 4853,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4875,
|
|
"left": {
|
|
"end": 4866,
|
|
"raw": "2",
|
|
"start": 4865,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4875,
|
|
"name": "binTol",
|
|
"start": 4869,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4865,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4853,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4893,
|
|
"name": "countBinLength",
|
|
"start": 4879,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4853,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4898,
|
|
"name": "tag",
|
|
"start": 4895,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4909,
|
|
"start": 4901,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line011"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4842,
|
|
"name": "yLine",
|
|
"start": 4837,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4910,
|
|
"start": 4837,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4933,
|
|
"name": "endAbsolute",
|
|
"start": 4922,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"arguments": [
|
|
{
|
|
"end": 4951,
|
|
"start": 4950,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4949,
|
|
"name": "profileStartX",
|
|
"start": 4936,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4952,
|
|
"start": 4936,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4957,
|
|
"name": "tag",
|
|
"start": 4954,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4968,
|
|
"start": 4960,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line012"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4921,
|
|
"name": "xLine",
|
|
"start": 4916,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4969,
|
|
"start": 4916,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4984,
|
|
"name": "tag",
|
|
"start": 4981,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4995,
|
|
"start": 4987,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line013"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4980,
|
|
"name": "close",
|
|
"start": 4975,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4996,
|
|
"start": 4975,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5016,
|
|
"name": "length",
|
|
"start": 5010,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5045,
|
|
"left": {
|
|
"end": 5028,
|
|
"name": "binHeight",
|
|
"start": 5019,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5045,
|
|
"name": "countBinHeight",
|
|
"start": 5031,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5019,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5009,
|
|
"name": "extrude",
|
|
"start": 5002,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5046,
|
|
"start": 5002,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5073,
|
|
"name": "radius",
|
|
"start": 5067,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5088,
|
|
"name": "cornerRadius",
|
|
"start": 5076,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5101,
|
|
"name": "tags",
|
|
"start": 5097,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5142,
|
|
"name": "line010",
|
|
"start": 5135,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5134,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5115,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5143,
|
|
"start": 5115,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5185,
|
|
"name": "line010",
|
|
"start": 5178,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5177,
|
|
"name": "getPreviousAdjacentEdge",
|
|
"start": 5154,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5186,
|
|
"start": 5154,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5224,
|
|
"name": "line012",
|
|
"start": 5217,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5216,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5197,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5225,
|
|
"start": 5197,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5267,
|
|
"name": "line012",
|
|
"start": 5260,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5259,
|
|
"name": "getPreviousAdjacentEdge",
|
|
"start": 5236,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5268,
|
|
"start": 5236,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 5277,
|
|
"start": 5104,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5058,
|
|
"name": "fillet",
|
|
"start": 5052,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5284,
|
|
"start": 5052,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5301,
|
|
"name": "faces",
|
|
"start": 5296,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 5310,
|
|
"raw": "\"end\"",
|
|
"start": 5305,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "end"
|
|
}
|
|
],
|
|
"end": 5311,
|
|
"start": 5304,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5322,
|
|
"name": "thickness",
|
|
"start": 5313,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5331,
|
|
"name": "binThk",
|
|
"start": 5325,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5295,
|
|
"name": "shell",
|
|
"start": 5290,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5332,
|
|
"start": 5290,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 5400,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"8": [
|
|
{
|
|
"end": 5400,
|
|
"start": 5332,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "define a function which builds the profile of the baseplate bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 4673,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 4664,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 5400,
|
|
"kind": "const",
|
|
"start": 4664,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 6069,
|
|
"id": {
|
|
"end": 5411,
|
|
"name": "lipFace",
|
|
"start": 5404,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": {
|
|
"body": [
|
|
{
|
|
"declaration": {
|
|
"end": 6047,
|
|
"id": {
|
|
"end": 5433,
|
|
"name": "faceSketch",
|
|
"start": 5423,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5455,
|
|
"name": "plane",
|
|
"start": 5450,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5449,
|
|
"name": "startSketchOn",
|
|
"start": 5436,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5456,
|
|
"start": 5436,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"end": 5481,
|
|
"raw": "0",
|
|
"start": 5480,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 5484,
|
|
"raw": "0",
|
|
"start": 5483,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 5485,
|
|
"start": 5479,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
},
|
|
{
|
|
"end": 5488,
|
|
"start": 5487,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5478,
|
|
"name": "startProfileAt",
|
|
"start": 5464,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5489,
|
|
"start": 5464,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5557,
|
|
"name": "end",
|
|
"start": 5554,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 5564,
|
|
"raw": "0.0",
|
|
"start": 5561,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 5574,
|
|
"raw": "5.792893",
|
|
"start": 5566,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 5.792893,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 5575,
|
|
"start": 5560,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5580,
|
|
"name": "tag",
|
|
"start": 5577,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5591,
|
|
"start": 5583,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line000"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5553,
|
|
"name": "line",
|
|
"start": 5549,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5592,
|
|
"start": 5549,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5696,
|
|
"properties": [
|
|
{
|
|
"end": 5633,
|
|
"key": {
|
|
"end": 5625,
|
|
"name": "angleStart",
|
|
"start": 5615,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5615,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5633,
|
|
"raw": "180.0",
|
|
"start": 5628,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 5659,
|
|
"key": {
|
|
"end": 5652,
|
|
"name": "angleEnd",
|
|
"start": 5644,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5644,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5659,
|
|
"raw": "45.0",
|
|
"start": 5655,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 5687,
|
|
"key": {
|
|
"end": 5676,
|
|
"name": "radius",
|
|
"start": 5670,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5670,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5687,
|
|
"raw": "0.500000",
|
|
"start": 5679,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.5,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"start": 5604,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 5699,
|
|
"start": 5698,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 5708,
|
|
"start": 5701,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "arc000"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5603,
|
|
"name": "arc",
|
|
"start": 5600,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5709,
|
|
"start": 5600,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5792,
|
|
"name": "end",
|
|
"start": 5789,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 5804,
|
|
"raw": "1.046447",
|
|
"start": 5796,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.046447,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"argument": {
|
|
"end": 5815,
|
|
"raw": "1.046447",
|
|
"start": 5807,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.046447,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5815,
|
|
"operator": "-",
|
|
"start": 5806,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
],
|
|
"end": 5816,
|
|
"start": 5795,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5821,
|
|
"name": "tag",
|
|
"start": 5818,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5832,
|
|
"start": 5824,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line001"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5788,
|
|
"name": "line",
|
|
"start": 5784,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5833,
|
|
"start": 5784,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5853,
|
|
"name": "length",
|
|
"start": 5847,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"argument": {
|
|
"end": 5865,
|
|
"name": "lipStep4",
|
|
"start": 5857,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5865,
|
|
"operator": "-",
|
|
"start": 5856,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5846,
|
|
"name": "yLine",
|
|
"start": 5841,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5866,
|
|
"start": 5841,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5928,
|
|
"properties": [
|
|
{
|
|
"end": 5907,
|
|
"key": {
|
|
"end": 5901,
|
|
"name": "angle",
|
|
"start": 5896,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5896,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 5907,
|
|
"raw": "45",
|
|
"start": 5905,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5907,
|
|
"operator": "-",
|
|
"start": 5904,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 5926,
|
|
"key": {
|
|
"end": 5915,
|
|
"name": "length",
|
|
"start": 5909,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5909,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5926,
|
|
"name": "lipStep3",
|
|
"start": 5918,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 5894,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 5931,
|
|
"start": 5930,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5893,
|
|
"name": "angledLineOfYLength",
|
|
"start": 5874,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5932,
|
|
"start": 5874,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5952,
|
|
"name": "length",
|
|
"start": 5946,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"argument": {
|
|
"end": 5964,
|
|
"name": "lipStep2",
|
|
"start": 5956,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5964,
|
|
"operator": "-",
|
|
"start": 5955,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5945,
|
|
"name": "yLine",
|
|
"start": 5940,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5965,
|
|
"start": 5940,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6028,
|
|
"properties": [
|
|
{
|
|
"end": 6007,
|
|
"key": {
|
|
"end": 6000,
|
|
"name": "angle",
|
|
"start": 5995,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5995,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 6007,
|
|
"raw": "135",
|
|
"start": 6004,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 135.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 6007,
|
|
"operator": "-",
|
|
"start": 6003,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6026,
|
|
"key": {
|
|
"end": 6015,
|
|
"name": "length",
|
|
"start": 6009,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6009,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 6026,
|
|
"name": "lipStep1",
|
|
"start": 6018,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 5993,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 6031,
|
|
"start": 6030,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5992,
|
|
"name": "angledLineOfYLength",
|
|
"start": 5973,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6032,
|
|
"start": 5973,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [],
|
|
"callee": {
|
|
"end": 6045,
|
|
"name": "close",
|
|
"start": 6040,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6047,
|
|
"start": 6040,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 6047,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"1": [
|
|
{
|
|
"end": 5541,
|
|
"start": 5493,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "blockComment",
|
|
"value": "|> yLine(length = lipHeight, tag = $line100)",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"3": [
|
|
{
|
|
"end": 5776,
|
|
"start": 5713,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "blockComment",
|
|
"value": "|> angledLineOfYLength({ angle: -45, length: lipStep5 }, %)",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 5436,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 5423,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6047,
|
|
"kind": "const",
|
|
"start": 5423,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"argument": {
|
|
"end": 6067,
|
|
"name": "faceSketch",
|
|
"start": 6057,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6067,
|
|
"start": 6050,
|
|
"type": "ReturnStatement",
|
|
"type": "ReturnStatement"
|
|
}
|
|
],
|
|
"end": 6069,
|
|
"start": 5419
|
|
},
|
|
"end": 6069,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"identifier": {
|
|
"end": 5417,
|
|
"name": "plane",
|
|
"start": 5412,
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 5411,
|
|
"type": "FunctionExpression",
|
|
"type": "FunctionExpression"
|
|
},
|
|
"start": 5404,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6069,
|
|
"kind": "fn",
|
|
"start": 5401,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 6282,
|
|
"id": {
|
|
"end": 6079,
|
|
"name": "plane000",
|
|
"start": 6071,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"end": 6282,
|
|
"properties": [
|
|
{
|
|
"end": 6280,
|
|
"key": {
|
|
"end": 6091,
|
|
"name": "plane",
|
|
"start": 6086,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6086,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 6280,
|
|
"properties": [
|
|
{
|
|
"end": 6189,
|
|
"key": {
|
|
"end": 6106,
|
|
"name": "origin",
|
|
"start": 6100,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6100,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6129,
|
|
"name": "cornerRadius",
|
|
"start": 6117,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
{
|
|
"end": 6140,
|
|
"raw": "0.0",
|
|
"start": 6137,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6183,
|
|
"left": {
|
|
"end": 6154,
|
|
"name": "height",
|
|
"start": 6148,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 6183,
|
|
"left": {
|
|
"end": 6166,
|
|
"name": "binHeight",
|
|
"start": 6157,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6183,
|
|
"name": "countBinHeight",
|
|
"start": 6169,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6157,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6148,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 6189,
|
|
"start": 6109,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6218,
|
|
"key": {
|
|
"end": 6200,
|
|
"name": "xAxis",
|
|
"start": 6195,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6195,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6207,
|
|
"raw": "0.0",
|
|
"start": 6204,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6212,
|
|
"raw": "1.0",
|
|
"start": 6209,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6217,
|
|
"raw": "0.0",
|
|
"start": 6214,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6218,
|
|
"start": 6203,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6247,
|
|
"key": {
|
|
"end": 6229,
|
|
"name": "yAxis",
|
|
"start": 6224,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6224,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6236,
|
|
"raw": "0.0",
|
|
"start": 6233,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6241,
|
|
"raw": "0.0",
|
|
"start": 6238,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6246,
|
|
"raw": "1.0",
|
|
"start": 6243,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6247,
|
|
"start": 6232,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6276,
|
|
"key": {
|
|
"end": 6258,
|
|
"name": "zAxis",
|
|
"start": 6253,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6253,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6265,
|
|
"raw": "1.0",
|
|
"start": 6262,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6270,
|
|
"raw": "0.0",
|
|
"start": 6267,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6275,
|
|
"raw": "0.0",
|
|
"start": 6272,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6276,
|
|
"start": 6261,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6094,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6082,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
"start": 6071,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6282,
|
|
"kind": "const",
|
|
"start": 6071,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 6495,
|
|
"id": {
|
|
"end": 6292,
|
|
"name": "plane001",
|
|
"start": 6284,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"end": 6495,
|
|
"properties": [
|
|
{
|
|
"end": 6493,
|
|
"key": {
|
|
"end": 6304,
|
|
"name": "plane",
|
|
"start": 6299,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6299,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 6493,
|
|
"properties": [
|
|
{
|
|
"end": 6402,
|
|
"key": {
|
|
"end": 6319,
|
|
"name": "origin",
|
|
"start": 6313,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6313,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6333,
|
|
"raw": "0.0",
|
|
"start": 6330,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6353,
|
|
"name": "cornerRadius",
|
|
"start": 6341,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
{
|
|
"end": 6396,
|
|
"left": {
|
|
"end": 6367,
|
|
"name": "height",
|
|
"start": 6361,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 6396,
|
|
"left": {
|
|
"end": 6379,
|
|
"name": "binHeight",
|
|
"start": 6370,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6396,
|
|
"name": "countBinHeight",
|
|
"start": 6382,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6370,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6361,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 6402,
|
|
"start": 6322,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6431,
|
|
"key": {
|
|
"end": 6413,
|
|
"name": "xAxis",
|
|
"start": 6408,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6408,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6420,
|
|
"raw": "1.0",
|
|
"start": 6417,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6425,
|
|
"raw": "0.0",
|
|
"start": 6422,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6430,
|
|
"raw": "0.0",
|
|
"start": 6427,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6431,
|
|
"start": 6416,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6460,
|
|
"key": {
|
|
"end": 6442,
|
|
"name": "yAxis",
|
|
"start": 6437,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6437,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6449,
|
|
"raw": "0.0",
|
|
"start": 6446,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6454,
|
|
"raw": "0.0",
|
|
"start": 6451,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6459,
|
|
"raw": "1.0",
|
|
"start": 6456,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6460,
|
|
"start": 6445,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6489,
|
|
"key": {
|
|
"end": 6471,
|
|
"name": "zAxis",
|
|
"start": 6466,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6466,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6478,
|
|
"raw": "0.0",
|
|
"start": 6475,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6483,
|
|
"raw": "1.0",
|
|
"start": 6480,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6488,
|
|
"raw": "0.0",
|
|
"start": 6485,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6489,
|
|
"start": 6474,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6307,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6295,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
"start": 6284,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6495,
|
|
"kind": "const",
|
|
"start": 6284,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 6751,
|
|
"id": {
|
|
"end": 6505,
|
|
"name": "plane002",
|
|
"start": 6497,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"end": 6751,
|
|
"properties": [
|
|
{
|
|
"end": 6749,
|
|
"key": {
|
|
"end": 6517,
|
|
"name": "plane",
|
|
"start": 6512,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6512,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 6749,
|
|
"properties": [
|
|
{
|
|
"end": 6658,
|
|
"key": {
|
|
"end": 6532,
|
|
"name": "origin",
|
|
"start": 6526,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6526,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6598,
|
|
"left": {
|
|
"end": 6582,
|
|
"left": {
|
|
"end": 6556,
|
|
"name": "countBinWidth",
|
|
"start": 6543,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6582,
|
|
"left": {
|
|
"end": 6569,
|
|
"name": "binLength",
|
|
"start": 6560,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 6582,
|
|
"left": {
|
|
"end": 6573,
|
|
"raw": "2",
|
|
"start": 6572,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6582,
|
|
"name": "binTol",
|
|
"start": 6576,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6572,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6560,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6543,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 6598,
|
|
"name": "cornerRadius",
|
|
"start": 6586,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6543,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 6609,
|
|
"raw": "0.0",
|
|
"start": 6606,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6652,
|
|
"left": {
|
|
"end": 6623,
|
|
"name": "height",
|
|
"start": 6617,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 6652,
|
|
"left": {
|
|
"end": 6635,
|
|
"name": "binHeight",
|
|
"start": 6626,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6652,
|
|
"name": "countBinHeight",
|
|
"start": 6638,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6626,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6617,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 6658,
|
|
"start": 6535,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6687,
|
|
"key": {
|
|
"end": 6669,
|
|
"name": "xAxis",
|
|
"start": 6664,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6664,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6676,
|
|
"raw": "0.0",
|
|
"start": 6673,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6681,
|
|
"raw": "1.0",
|
|
"start": 6678,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6686,
|
|
"raw": "0.0",
|
|
"start": 6683,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6687,
|
|
"start": 6672,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6716,
|
|
"key": {
|
|
"end": 6698,
|
|
"name": "yAxis",
|
|
"start": 6693,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6693,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6705,
|
|
"raw": "0.0",
|
|
"start": 6702,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6710,
|
|
"raw": "0.0",
|
|
"start": 6707,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6715,
|
|
"raw": "1.0",
|
|
"start": 6712,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6716,
|
|
"start": 6701,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6745,
|
|
"key": {
|
|
"end": 6727,
|
|
"name": "zAxis",
|
|
"start": 6722,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6722,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6734,
|
|
"raw": "1.0",
|
|
"start": 6731,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6739,
|
|
"raw": "0.0",
|
|
"start": 6736,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6744,
|
|
"raw": "0.0",
|
|
"start": 6741,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6745,
|
|
"start": 6730,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6520,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6508,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
"start": 6497,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6751,
|
|
"kind": "const",
|
|
"start": 6497,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 6930,
|
|
"id": {
|
|
"end": 6815,
|
|
"name": "lipSingleLength",
|
|
"start": 6800,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 6851,
|
|
"name": "length",
|
|
"start": 6845,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 6929,
|
|
"left": {
|
|
"end": 6899,
|
|
"left": {
|
|
"end": 6879,
|
|
"left": {
|
|
"end": 6863,
|
|
"name": "binLength",
|
|
"start": 6854,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6879,
|
|
"name": "countBinWidth",
|
|
"start": 6866,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6854,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 6899,
|
|
"left": {
|
|
"end": 6884,
|
|
"raw": "2",
|
|
"start": 6883,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6899,
|
|
"name": "cornerRadius",
|
|
"start": 6887,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6883,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6854,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 6929,
|
|
"left": {
|
|
"end": 6913,
|
|
"left": {
|
|
"end": 6904,
|
|
"raw": "2",
|
|
"start": 6903,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6913,
|
|
"name": "binTol",
|
|
"start": 6907,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6903,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6929,
|
|
"name": "countBinWidth",
|
|
"start": 6916,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6903,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6854,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6825,
|
|
"name": "extrude",
|
|
"start": 6818,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6930,
|
|
"start": 6818,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"arguments": [
|
|
{
|
|
"end": 6842,
|
|
"name": "plane000",
|
|
"start": 6834,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6833,
|
|
"name": "lipFace",
|
|
"start": 6826,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6843,
|
|
"start": 6826,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
"start": 6800,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6930,
|
|
"kind": "const",
|
|
"start": 6800,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 7110,
|
|
"id": {
|
|
"end": 6993,
|
|
"name": "lipSingleWidth",
|
|
"start": 6979,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7029,
|
|
"name": "length",
|
|
"start": 7023,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7109,
|
|
"left": {
|
|
"end": 7078,
|
|
"left": {
|
|
"end": 7058,
|
|
"left": {
|
|
"end": 7041,
|
|
"name": "binLength",
|
|
"start": 7032,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7058,
|
|
"name": "countBinLength",
|
|
"start": 7044,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7032,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 7078,
|
|
"left": {
|
|
"end": 7063,
|
|
"raw": "2",
|
|
"start": 7062,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7078,
|
|
"name": "cornerRadius",
|
|
"start": 7066,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7062,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7032,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 7109,
|
|
"left": {
|
|
"end": 7092,
|
|
"left": {
|
|
"end": 7083,
|
|
"raw": "2",
|
|
"start": 7082,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7092,
|
|
"name": "binTol",
|
|
"start": 7086,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7082,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7109,
|
|
"name": "countBinLength",
|
|
"start": 7095,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7082,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7032,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7003,
|
|
"name": "extrude",
|
|
"start": 6996,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7110,
|
|
"start": 6996,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"arguments": [
|
|
{
|
|
"end": 7020,
|
|
"name": "plane001",
|
|
"start": 7012,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7011,
|
|
"name": "lipFace",
|
|
"start": 7004,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7021,
|
|
"start": 7004,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
"start": 6979,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 7110,
|
|
"kind": "const",
|
|
"start": 6979,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 7438,
|
|
"id": {
|
|
"end": 7188,
|
|
"name": "lipLengths",
|
|
"start": 7178,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7241,
|
|
"name": "arcDegrees",
|
|
"start": 7231,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7247,
|
|
"raw": "360",
|
|
"start": 7244,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7255,
|
|
"name": "axis",
|
|
"start": 7251,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 7260,
|
|
"raw": "0",
|
|
"start": 7259,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7263,
|
|
"raw": "0",
|
|
"start": 7262,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7266,
|
|
"raw": "1",
|
|
"start": 7265,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7267,
|
|
"start": 7258,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7277,
|
|
"name": "center",
|
|
"start": 7271,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 7330,
|
|
"left": {
|
|
"end": 7314,
|
|
"left": {
|
|
"end": 7309,
|
|
"left": {
|
|
"end": 7296,
|
|
"name": "binLength",
|
|
"start": 7287,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 7309,
|
|
"left": {
|
|
"end": 7300,
|
|
"raw": "2",
|
|
"start": 7299,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7309,
|
|
"name": "binTol",
|
|
"start": 7303,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7299,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7287,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 7314,
|
|
"raw": "2",
|
|
"start": 7313,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 7287,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7330,
|
|
"name": "countBinWidth",
|
|
"start": 7317,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7287,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 7381,
|
|
"left": {
|
|
"end": 7364,
|
|
"left": {
|
|
"end": 7359,
|
|
"left": {
|
|
"end": 7346,
|
|
"name": "binLength",
|
|
"start": 7337,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 7359,
|
|
"left": {
|
|
"end": 7350,
|
|
"raw": "2",
|
|
"start": 7349,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7359,
|
|
"name": "binTol",
|
|
"start": 7353,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7349,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7337,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 7364,
|
|
"raw": "2",
|
|
"start": 7363,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 7337,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7381,
|
|
"name": "countBinLength",
|
|
"start": 7367,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7337,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 7388,
|
|
"raw": "0",
|
|
"start": 7387,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7392,
|
|
"start": 7280,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7405,
|
|
"name": "instances",
|
|
"start": 7396,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7409,
|
|
"raw": "2",
|
|
"start": 7408,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7429,
|
|
"name": "rotateDuplicates",
|
|
"start": 7413,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7436,
|
|
"raw": "true",
|
|
"start": 7432,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7208,
|
|
"name": "patternCircular3d",
|
|
"start": 7191,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7438,
|
|
"start": 7191,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 7227,
|
|
"name": "lipSingleLength",
|
|
"start": 7212,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 7178,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 7438,
|
|
"kind": "const",
|
|
"start": 7178,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 7764,
|
|
"id": {
|
|
"end": 7515,
|
|
"name": "lipWidths",
|
|
"start": 7506,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7567,
|
|
"name": "arcDegrees",
|
|
"start": 7557,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7573,
|
|
"raw": "360",
|
|
"start": 7570,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7581,
|
|
"name": "axis",
|
|
"start": 7577,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 7586,
|
|
"raw": "0",
|
|
"start": 7585,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7589,
|
|
"raw": "0",
|
|
"start": 7588,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7592,
|
|
"raw": "1",
|
|
"start": 7591,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7593,
|
|
"start": 7584,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7603,
|
|
"name": "center",
|
|
"start": 7597,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 7656,
|
|
"left": {
|
|
"end": 7640,
|
|
"left": {
|
|
"end": 7635,
|
|
"left": {
|
|
"end": 7622,
|
|
"name": "binLength",
|
|
"start": 7613,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 7635,
|
|
"left": {
|
|
"end": 7626,
|
|
"raw": "2",
|
|
"start": 7625,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7635,
|
|
"name": "binTol",
|
|
"start": 7629,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7625,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7613,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 7640,
|
|
"raw": "2",
|
|
"start": 7639,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 7613,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7656,
|
|
"name": "countBinWidth",
|
|
"start": 7643,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7613,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 7707,
|
|
"left": {
|
|
"end": 7690,
|
|
"left": {
|
|
"end": 7685,
|
|
"left": {
|
|
"end": 7672,
|
|
"name": "binLength",
|
|
"start": 7663,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 7685,
|
|
"left": {
|
|
"end": 7676,
|
|
"raw": "2",
|
|
"start": 7675,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7685,
|
|
"name": "binTol",
|
|
"start": 7679,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7675,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7663,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 7690,
|
|
"raw": "2",
|
|
"start": 7689,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 7663,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7707,
|
|
"name": "countBinLength",
|
|
"start": 7693,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7663,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 7714,
|
|
"raw": "0",
|
|
"start": 7713,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7718,
|
|
"start": 7606,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7731,
|
|
"name": "instances",
|
|
"start": 7722,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7735,
|
|
"raw": "2",
|
|
"start": 7734,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7755,
|
|
"name": "rotateDuplicates",
|
|
"start": 7739,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7762,
|
|
"raw": "true",
|
|
"start": 7758,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7535,
|
|
"name": "patternCircular3d",
|
|
"start": 7518,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7764,
|
|
"start": 7518,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 7553,
|
|
"name": "lipSingleWidth",
|
|
"start": 7539,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 7506,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 7764,
|
|
"kind": "const",
|
|
"start": 7506,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 7887,
|
|
"id": {
|
|
"end": 7799,
|
|
"name": "axis001",
|
|
"start": 7792,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"end": 7887,
|
|
"properties": [
|
|
{
|
|
"end": 7885,
|
|
"key": {
|
|
"end": 7812,
|
|
"name": "custom",
|
|
"start": 7806,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7806,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 7885,
|
|
"properties": [
|
|
{
|
|
"end": 7838,
|
|
"key": {
|
|
"end": 7825,
|
|
"name": "axis",
|
|
"start": 7821,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7821,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 7832,
|
|
"raw": "0.0",
|
|
"start": 7829,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7837,
|
|
"raw": "1.0",
|
|
"start": 7834,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7838,
|
|
"start": 7828,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 7881,
|
|
"key": {
|
|
"end": 7850,
|
|
"name": "origin",
|
|
"start": 7844,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7844,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 7866,
|
|
"name": "cornerRadius",
|
|
"start": 7854,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
{
|
|
"end": 7880,
|
|
"name": "cornerRadius",
|
|
"start": 7868,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"end": 7881,
|
|
"start": 7853,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 7815,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 7802,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
"start": 7792,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 7887,
|
|
"kind": "const",
|
|
"start": 7792,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 8009,
|
|
"id": {
|
|
"end": 7947,
|
|
"name": "lipSingleLengthCorner",
|
|
"start": 7926,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"end": 7989,
|
|
"properties": [
|
|
{
|
|
"end": 7971,
|
|
"key": {
|
|
"end": 7965,
|
|
"name": "angle",
|
|
"start": 7960,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7960,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 7971,
|
|
"raw": "90",
|
|
"start": 7969,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 7971,
|
|
"operator": "-",
|
|
"start": 7968,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 7987,
|
|
"key": {
|
|
"end": 7977,
|
|
"name": "axis",
|
|
"start": 7973,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7973,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 7987,
|
|
"name": "axis001",
|
|
"start": 7980,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 7958,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 8007,
|
|
"name": "plane000",
|
|
"start": 7999,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7998,
|
|
"name": "lipFace",
|
|
"start": 7991,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8008,
|
|
"start": 7991,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7957,
|
|
"name": "revolve",
|
|
"start": 7950,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8009,
|
|
"start": 7950,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
"start": 7926,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 8009,
|
|
"kind": "const",
|
|
"start": 7926,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 8129,
|
|
"id": {
|
|
"end": 8068,
|
|
"name": "lipSingleWidthCorner",
|
|
"start": 8048,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"end": 8109,
|
|
"properties": [
|
|
{
|
|
"end": 8091,
|
|
"key": {
|
|
"end": 8086,
|
|
"name": "angle",
|
|
"start": 8081,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8081,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 8091,
|
|
"raw": "90",
|
|
"start": 8089,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 8107,
|
|
"key": {
|
|
"end": 8097,
|
|
"name": "axis",
|
|
"start": 8093,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8093,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 8107,
|
|
"name": "axis001",
|
|
"start": 8100,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 8079,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 8127,
|
|
"name": "plane002",
|
|
"start": 8119,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 8118,
|
|
"name": "lipFace",
|
|
"start": 8111,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8128,
|
|
"start": 8111,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 8078,
|
|
"name": "revolve",
|
|
"start": 8071,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8129,
|
|
"start": 8071,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
"start": 8048,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 8129,
|
|
"kind": "const",
|
|
"start": 8048,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 8433,
|
|
"id": {
|
|
"end": 8177,
|
|
"name": "lipCorners000",
|
|
"start": 8164,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8236,
|
|
"name": "arcDegrees",
|
|
"start": 8226,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8242,
|
|
"raw": "360",
|
|
"start": 8239,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8250,
|
|
"name": "axis",
|
|
"start": 8246,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 8255,
|
|
"raw": "0",
|
|
"start": 8254,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 8258,
|
|
"raw": "0",
|
|
"start": 8257,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 8261,
|
|
"raw": "1",
|
|
"start": 8260,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 8262,
|
|
"start": 8253,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8272,
|
|
"name": "center",
|
|
"start": 8266,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 8325,
|
|
"left": {
|
|
"end": 8309,
|
|
"left": {
|
|
"end": 8304,
|
|
"left": {
|
|
"end": 8291,
|
|
"name": "binLength",
|
|
"start": 8282,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 8304,
|
|
"left": {
|
|
"end": 8295,
|
|
"raw": "2",
|
|
"start": 8294,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8304,
|
|
"name": "binTol",
|
|
"start": 8298,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8294,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 8282,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 8309,
|
|
"raw": "2",
|
|
"start": 8308,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 8282,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8325,
|
|
"name": "countBinWidth",
|
|
"start": 8312,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8282,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 8376,
|
|
"left": {
|
|
"end": 8359,
|
|
"left": {
|
|
"end": 8354,
|
|
"left": {
|
|
"end": 8341,
|
|
"name": "binLength",
|
|
"start": 8332,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 8354,
|
|
"left": {
|
|
"end": 8345,
|
|
"raw": "2",
|
|
"start": 8344,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8354,
|
|
"name": "binTol",
|
|
"start": 8348,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8344,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 8332,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 8359,
|
|
"raw": "2",
|
|
"start": 8358,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 8332,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8376,
|
|
"name": "countBinLength",
|
|
"start": 8362,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8332,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 8383,
|
|
"raw": "0",
|
|
"start": 8382,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 8387,
|
|
"start": 8275,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8400,
|
|
"name": "instances",
|
|
"start": 8391,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8404,
|
|
"raw": "2",
|
|
"start": 8403,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8424,
|
|
"name": "rotateDuplicates",
|
|
"start": 8408,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8431,
|
|
"raw": "true",
|
|
"start": 8427,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 8197,
|
|
"name": "patternCircular3d",
|
|
"start": 8180,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8433,
|
|
"start": 8180,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 8222,
|
|
"name": "lipSingleLengthCorner",
|
|
"start": 8201,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 8164,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 8433,
|
|
"kind": "const",
|
|
"start": 8164,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 8736,
|
|
"id": {
|
|
"end": 8481,
|
|
"name": "lipCorners001",
|
|
"start": 8468,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8539,
|
|
"name": "arcDegrees",
|
|
"start": 8529,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8545,
|
|
"raw": "360",
|
|
"start": 8542,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8553,
|
|
"name": "axis",
|
|
"start": 8549,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 8558,
|
|
"raw": "0",
|
|
"start": 8557,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 8561,
|
|
"raw": "0",
|
|
"start": 8560,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 8564,
|
|
"raw": "1",
|
|
"start": 8563,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 8565,
|
|
"start": 8556,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8575,
|
|
"name": "center",
|
|
"start": 8569,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 8628,
|
|
"left": {
|
|
"end": 8612,
|
|
"left": {
|
|
"end": 8607,
|
|
"left": {
|
|
"end": 8594,
|
|
"name": "binLength",
|
|
"start": 8585,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 8607,
|
|
"left": {
|
|
"end": 8598,
|
|
"raw": "2",
|
|
"start": 8597,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8607,
|
|
"name": "binTol",
|
|
"start": 8601,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8597,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 8585,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 8612,
|
|
"raw": "2",
|
|
"start": 8611,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 8585,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8628,
|
|
"name": "countBinWidth",
|
|
"start": 8615,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8585,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 8679,
|
|
"left": {
|
|
"end": 8662,
|
|
"left": {
|
|
"end": 8657,
|
|
"left": {
|
|
"end": 8644,
|
|
"name": "binLength",
|
|
"start": 8635,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 8657,
|
|
"left": {
|
|
"end": 8648,
|
|
"raw": "2",
|
|
"start": 8647,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8657,
|
|
"name": "binTol",
|
|
"start": 8651,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8647,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 8635,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 8662,
|
|
"raw": "2",
|
|
"start": 8661,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 8635,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8679,
|
|
"name": "countBinLength",
|
|
"start": 8665,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8635,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 8686,
|
|
"raw": "0",
|
|
"start": 8685,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 8690,
|
|
"start": 8578,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8703,
|
|
"name": "instances",
|
|
"start": 8694,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8707,
|
|
"raw": "2",
|
|
"start": 8706,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8727,
|
|
"name": "rotateDuplicates",
|
|
"start": 8711,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8734,
|
|
"raw": "true",
|
|
"start": 8730,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 8501,
|
|
"name": "patternCircular3d",
|
|
"start": 8484,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8736,
|
|
"start": 8484,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 8525,
|
|
"name": "lipSingleWidthCorner",
|
|
"start": 8505,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 8468,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 8736,
|
|
"kind": "const",
|
|
"start": 8468,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
}
|
|
],
|
|
"end": 8737,
|
|
"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": 1543,
|
|
"start": 1506,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "extrude a single side of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"24": [
|
|
{
|
|
"end": 1728,
|
|
"start": 1662,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the other sides of the bin by using a circular pattern",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"25": [
|
|
{
|
|
"end": 1973,
|
|
"start": 1946,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "define an axis axis000",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"26": [
|
|
{
|
|
"end": 2143,
|
|
"start": 2105,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create a single corner of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"27": [
|
|
{
|
|
"end": 2290,
|
|
"start": 2256,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the corners of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"28": [
|
|
{
|
|
"end": 2514,
|
|
"start": 2512,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
}
|
|
],
|
|
"29": [
|
|
{
|
|
"end": 3136,
|
|
"start": 3134,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
}
|
|
],
|
|
"35": [
|
|
{
|
|
"end": 6071,
|
|
"start": 6069,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
}
|
|
],
|
|
"36": [
|
|
{
|
|
"end": 6284,
|
|
"start": 6282,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
}
|
|
],
|
|
"37": [
|
|
{
|
|
"end": 6497,
|
|
"start": 6495,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
}
|
|
],
|
|
"38": [
|
|
{
|
|
"end": 6799,
|
|
"start": 6751,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "extrude a single side of the lip of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"39": [
|
|
{
|
|
"end": 6978,
|
|
"start": 6930,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "extrude a single side of the lip of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"40": [
|
|
{
|
|
"end": 7177,
|
|
"start": 7110,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the other sides of the lips by using a circular pattern",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"41": [
|
|
{
|
|
"end": 7505,
|
|
"start": 7438,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the other sides of the lips by using a circular pattern",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"42": [
|
|
{
|
|
"end": 7791,
|
|
"start": 7764,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "define an axis axis000",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"43": [
|
|
{
|
|
"end": 7925,
|
|
"start": 7887,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create a single corner of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"44": [
|
|
{
|
|
"end": 8047,
|
|
"start": 8009,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create a single corner of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"45": [
|
|
{
|
|
"end": 8163,
|
|
"start": 8129,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the corners of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"46": [
|
|
{
|
|
"end": 8467,
|
|
"start": 8433,
|
|
"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
|
|
}
|
|
}
|