* initial port Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * more fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix e2e Signed-off-by: Jess Frazelle <github@jessfraz.com> * more fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * update js side Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix; Signed-off-by: Jess Frazelle <github@jessfraz.com> * cleanup Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
8589 lines
291 KiB
Plaintext
8589 lines
291 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": 2252,
|
|
"id": {
|
|
"end": 2156,
|
|
"name": "singleCorner",
|
|
"start": 2144,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2229,
|
|
"name": "angle",
|
|
"start": 2224,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"argument": {
|
|
"end": 2235,
|
|
"raw": "90",
|
|
"start": 2233,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 2235,
|
|
"operator": "-",
|
|
"start": 2232,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2241,
|
|
"name": "axis",
|
|
"start": 2237,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2251,
|
|
"name": "axis000",
|
|
"start": 2244,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2166,
|
|
"name": "revolve",
|
|
"start": 2159,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2252,
|
|
"start": 2159,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2196,
|
|
"name": "offset",
|
|
"start": 2190,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2220,
|
|
"left": {
|
|
"end": 2211,
|
|
"name": "cornerRadius",
|
|
"start": 2199,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2220,
|
|
"name": "binTol",
|
|
"start": 2214,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2199,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2183,
|
|
"name": "offsetPlane",
|
|
"start": 2172,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2221,
|
|
"start": 2172,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 2188,
|
|
"raw": "\"YZ\"",
|
|
"start": 2184,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "YZ"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2171,
|
|
"name": "face",
|
|
"start": 2167,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2222,
|
|
"start": 2167,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
"start": 2144,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 2252,
|
|
"kind": "const",
|
|
"start": 2144,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 2508,
|
|
"id": {
|
|
"end": 2294,
|
|
"name": "corners",
|
|
"start": 2287,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2344,
|
|
"name": "arcDegrees",
|
|
"start": 2334,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2350,
|
|
"raw": "360",
|
|
"start": 2347,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2358,
|
|
"name": "axis",
|
|
"start": 2354,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 2363,
|
|
"raw": "0",
|
|
"start": 2362,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 2366,
|
|
"raw": "0",
|
|
"start": 2365,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 2369,
|
|
"raw": "1",
|
|
"start": 2368,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 2370,
|
|
"start": 2361,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2380,
|
|
"name": "center",
|
|
"start": 2374,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 2417,
|
|
"left": {
|
|
"end": 2412,
|
|
"left": {
|
|
"end": 2399,
|
|
"name": "binLength",
|
|
"start": 2390,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2412,
|
|
"left": {
|
|
"end": 2403,
|
|
"raw": "2",
|
|
"start": 2402,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2412,
|
|
"name": "binTol",
|
|
"start": 2406,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2402,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 2390,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2417,
|
|
"raw": "2",
|
|
"start": 2416,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2390,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2451,
|
|
"left": {
|
|
"end": 2446,
|
|
"left": {
|
|
"end": 2433,
|
|
"name": "binLength",
|
|
"start": 2424,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2446,
|
|
"left": {
|
|
"end": 2437,
|
|
"raw": "2",
|
|
"start": 2436,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2446,
|
|
"name": "binTol",
|
|
"start": 2440,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2436,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 2424,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2451,
|
|
"raw": "2",
|
|
"start": 2450,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2424,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2458,
|
|
"raw": "0",
|
|
"start": 2457,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 2462,
|
|
"start": 2383,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2475,
|
|
"name": "instances",
|
|
"start": 2466,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2479,
|
|
"raw": "4",
|
|
"start": 2478,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2499,
|
|
"name": "rotateDuplicates",
|
|
"start": 2483,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2506,
|
|
"raw": "true",
|
|
"start": 2502,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2314,
|
|
"name": "patternCircular3d",
|
|
"start": 2297,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2508,
|
|
"start": 2297,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 2330,
|
|
"name": "singleCorner",
|
|
"start": 2318,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 2287,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 2508,
|
|
"kind": "const",
|
|
"start": 2287,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 3130,
|
|
"id": {
|
|
"end": 2523,
|
|
"name": "singleBinFill",
|
|
"start": 2510,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2544,
|
|
"raw": "\"XY\"",
|
|
"start": 2540,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "XY"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2539,
|
|
"name": "startSketchOn",
|
|
"start": 2526,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2545,
|
|
"start": 2526,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"end": 2597,
|
|
"left": {
|
|
"end": 2588,
|
|
"name": "binBaseLength",
|
|
"start": 2575,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2597,
|
|
"name": "binTol",
|
|
"start": 2591,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2575,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2628,
|
|
"left": {
|
|
"end": 2619,
|
|
"name": "binBaseLength",
|
|
"start": 2606,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2628,
|
|
"name": "binTol",
|
|
"start": 2622,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2606,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 2635,
|
|
"start": 2566,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
},
|
|
{
|
|
"end": 2638,
|
|
"start": 2637,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2565,
|
|
"name": "startProfileAt",
|
|
"start": 2551,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2639,
|
|
"start": 2551,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2653,
|
|
"name": "end",
|
|
"start": 2650,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 2687,
|
|
"left": {
|
|
"end": 2666,
|
|
"name": "binLength",
|
|
"start": 2657,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 2687,
|
|
"left": {
|
|
"end": 2683,
|
|
"name": "binBaseLength",
|
|
"start": 2670,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2687,
|
|
"raw": "2",
|
|
"start": 2686,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2670,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 2657,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2691,
|
|
"raw": "0",
|
|
"start": 2690,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 2692,
|
|
"start": 2656,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2697,
|
|
"name": "tag",
|
|
"start": 2694,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2708,
|
|
"start": 2700,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line000"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2649,
|
|
"name": "line",
|
|
"start": 2645,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2709,
|
|
"start": 2645,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2723,
|
|
"name": "end",
|
|
"start": 2720,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 2728,
|
|
"raw": "0",
|
|
"start": 2727,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 2760,
|
|
"left": {
|
|
"end": 2739,
|
|
"name": "binLength",
|
|
"start": 2730,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 2760,
|
|
"left": {
|
|
"end": 2756,
|
|
"name": "binBaseLength",
|
|
"start": 2743,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2760,
|
|
"raw": "2",
|
|
"start": 2759,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2743,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 2730,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 2762,
|
|
"start": 2726,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2767,
|
|
"name": "tag",
|
|
"start": 2764,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2778,
|
|
"start": 2770,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line001"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2719,
|
|
"name": "line",
|
|
"start": 2715,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2779,
|
|
"start": 2715,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2802,
|
|
"name": "endAbsolute",
|
|
"start": 2791,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"arguments": [
|
|
{
|
|
"end": 2820,
|
|
"start": 2819,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2818,
|
|
"name": "profileStartX",
|
|
"start": 2805,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2821,
|
|
"start": 2805,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2826,
|
|
"name": "tag",
|
|
"start": 2823,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2837,
|
|
"start": 2829,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line002"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2790,
|
|
"name": "xLine",
|
|
"start": 2785,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2838,
|
|
"start": 2785,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2853,
|
|
"name": "tag",
|
|
"start": 2850,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2864,
|
|
"start": 2856,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line003"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2849,
|
|
"name": "close",
|
|
"start": 2844,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2865,
|
|
"start": 2844,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2885,
|
|
"name": "length",
|
|
"start": 2879,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2894,
|
|
"name": "height",
|
|
"start": 2888,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2878,
|
|
"name": "extrude",
|
|
"start": 2871,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2895,
|
|
"start": 2871,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2922,
|
|
"name": "radius",
|
|
"start": 2916,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2934,
|
|
"name": "firstStep",
|
|
"start": 2925,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2947,
|
|
"name": "tags",
|
|
"start": 2943,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2988,
|
|
"name": "line000",
|
|
"start": 2981,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2980,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 2961,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2989,
|
|
"start": 2961,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3031,
|
|
"name": "line000",
|
|
"start": 3024,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3023,
|
|
"name": "getPreviousAdjacentEdge",
|
|
"start": 3000,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3032,
|
|
"start": 3000,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3070,
|
|
"name": "line002",
|
|
"start": 3063,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3062,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 3043,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3071,
|
|
"start": 3043,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3113,
|
|
"name": "line002",
|
|
"start": 3106,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3105,
|
|
"name": "getPreviousAdjacentEdge",
|
|
"start": 3082,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3114,
|
|
"start": 3082,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 3123,
|
|
"start": 2950,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2907,
|
|
"name": "fillet",
|
|
"start": 2901,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3130,
|
|
"start": 2901,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 3130,
|
|
"start": 2526,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 2510,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 3130,
|
|
"kind": "const",
|
|
"start": 2510,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 3648,
|
|
"id": {
|
|
"end": 3144,
|
|
"name": "magCutout000",
|
|
"start": 3132,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3174,
|
|
"name": "singleBinFill",
|
|
"start": 3161,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
{
|
|
"end": 3183,
|
|
"raw": "\"start\"",
|
|
"start": 3176,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "start"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3160,
|
|
"name": "startSketchOn",
|
|
"start": 3147,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3184,
|
|
"start": 3147,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3211,
|
|
"name": "center",
|
|
"start": 3205,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 3260,
|
|
"left": {
|
|
"end": 3251,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3235,
|
|
"name": "magOffset",
|
|
"start": 3226,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3235,
|
|
"operator": "-",
|
|
"start": 3225,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 3251,
|
|
"name": "binBaseLength",
|
|
"start": 3238,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3225,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 3260,
|
|
"name": "binTol",
|
|
"start": 3254,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3225,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3305,
|
|
"left": {
|
|
"end": 3296,
|
|
"left": {
|
|
"end": 3280,
|
|
"name": "magOffset",
|
|
"start": 3271,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3296,
|
|
"name": "binBaseLength",
|
|
"start": 3283,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3271,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3305,
|
|
"name": "binTol",
|
|
"start": 3299,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3271,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 3314,
|
|
"start": 3214,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3329,
|
|
"name": "radius",
|
|
"start": 3323,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3348,
|
|
"left": {
|
|
"end": 3344,
|
|
"name": "magOuterDiam",
|
|
"start": 3332,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3348,
|
|
"raw": "2",
|
|
"start": 3347,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3332,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3196,
|
|
"name": "circle",
|
|
"start": 3190,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3355,
|
|
"start": 3190,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3397,
|
|
"name": "arcDegrees",
|
|
"start": 3387,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3403,
|
|
"raw": "360",
|
|
"start": 3400,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3418,
|
|
"name": "center",
|
|
"start": 3412,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 3461,
|
|
"left": {
|
|
"end": 3456,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3443,
|
|
"name": "binLength",
|
|
"start": 3434,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3443,
|
|
"operator": "-",
|
|
"start": 3433,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3456,
|
|
"left": {
|
|
"end": 3447,
|
|
"raw": "2",
|
|
"start": 3446,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3456,
|
|
"name": "binTol",
|
|
"start": 3450,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3446,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 3433,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3461,
|
|
"raw": "2",
|
|
"start": 3460,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3433,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3500,
|
|
"left": {
|
|
"end": 3495,
|
|
"left": {
|
|
"end": 3482,
|
|
"name": "binLength",
|
|
"start": 3473,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3495,
|
|
"left": {
|
|
"end": 3486,
|
|
"raw": "2",
|
|
"start": 3485,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3495,
|
|
"name": "binTol",
|
|
"start": 3489,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3485,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 3473,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3500,
|
|
"raw": "2",
|
|
"start": 3499,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3473,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 3509,
|
|
"start": 3421,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3527,
|
|
"name": "instances",
|
|
"start": 3518,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3531,
|
|
"raw": "4",
|
|
"start": 3530,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3556,
|
|
"name": "rotateDuplicates",
|
|
"start": 3540,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3563,
|
|
"raw": "true",
|
|
"start": 3559,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3378,
|
|
"name": "patternCircular2d",
|
|
"start": 3361,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3570,
|
|
"start": 3361,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3590,
|
|
"name": "length",
|
|
"start": 3584,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"argument": {
|
|
"end": 3602,
|
|
"name": "magDepth",
|
|
"start": 3594,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3602,
|
|
"operator": "-",
|
|
"start": 3593,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3583,
|
|
"name": "extrude",
|
|
"start": 3576,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3603,
|
|
"start": 3576,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 3648,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"3": [
|
|
{
|
|
"end": 3648,
|
|
"start": 3603,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the baseplate by patterning sides",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 3147,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 3132,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 3648,
|
|
"kind": "const",
|
|
"start": 3132,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 4005,
|
|
"id": {
|
|
"end": 3657,
|
|
"name": "binSides",
|
|
"start": 3649,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3702,
|
|
"name": "axis",
|
|
"start": 3698,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 3709,
|
|
"raw": "1.0",
|
|
"start": 3706,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 3714,
|
|
"raw": "0.0",
|
|
"start": 3711,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 3719,
|
|
"raw": "0.0",
|
|
"start": 3716,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 3720,
|
|
"start": 3705,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3738,
|
|
"name": "instances",
|
|
"start": 3729,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3754,
|
|
"name": "countBinWidth",
|
|
"start": 3741,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3771,
|
|
"name": "distance",
|
|
"start": 3763,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3796,
|
|
"left": {
|
|
"end": 3783,
|
|
"name": "binLength",
|
|
"start": 3774,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3796,
|
|
"left": {
|
|
"end": 3792,
|
|
"name": "binTol",
|
|
"start": 3786,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3796,
|
|
"raw": "2",
|
|
"start": 3795,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3786,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 3774,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3675,
|
|
"name": "patternLinear3d",
|
|
"start": 3660,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3803,
|
|
"start": 3660,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 3689,
|
|
"name": "sides",
|
|
"start": 3684,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3837,
|
|
"name": "axis",
|
|
"start": 3833,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 3844,
|
|
"raw": "0.0",
|
|
"start": 3841,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 3849,
|
|
"raw": "1.0",
|
|
"start": 3846,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 3854,
|
|
"raw": "0.0",
|
|
"start": 3851,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 3855,
|
|
"start": 3840,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3873,
|
|
"name": "instances",
|
|
"start": 3864,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3890,
|
|
"name": "countBinLength",
|
|
"start": 3876,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3907,
|
|
"name": "distance",
|
|
"start": 3899,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3932,
|
|
"left": {
|
|
"end": 3919,
|
|
"name": "binLength",
|
|
"start": 3910,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3932,
|
|
"left": {
|
|
"end": 3928,
|
|
"name": "binTol",
|
|
"start": 3922,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3932,
|
|
"raw": "2",
|
|
"start": 3931,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3922,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 3910,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3824,
|
|
"name": "patternLinear3d",
|
|
"start": 3809,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3939,
|
|
"start": 3809,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 4005,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"1": [
|
|
{
|
|
"end": 4005,
|
|
"start": 3939,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the corners of the baseplate by patterning the corners",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 3660,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 3649,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 4005,
|
|
"kind": "const",
|
|
"start": 3649,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 4357,
|
|
"id": {
|
|
"end": 4016,
|
|
"name": "binCorners",
|
|
"start": 4006,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4063,
|
|
"name": "axis",
|
|
"start": 4059,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 4070,
|
|
"raw": "1.0",
|
|
"start": 4067,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4075,
|
|
"raw": "0.0",
|
|
"start": 4072,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4080,
|
|
"raw": "0.0",
|
|
"start": 4077,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 4081,
|
|
"start": 4066,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4099,
|
|
"name": "instances",
|
|
"start": 4090,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4115,
|
|
"name": "countBinWidth",
|
|
"start": 4102,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4132,
|
|
"name": "distance",
|
|
"start": 4124,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4157,
|
|
"left": {
|
|
"end": 4144,
|
|
"name": "binLength",
|
|
"start": 4135,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4157,
|
|
"left": {
|
|
"end": 4153,
|
|
"name": "binTol",
|
|
"start": 4147,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4157,
|
|
"raw": "2",
|
|
"start": 4156,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4147,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4135,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4034,
|
|
"name": "patternLinear3d",
|
|
"start": 4019,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4164,
|
|
"start": 4019,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 4050,
|
|
"name": "corners",
|
|
"start": 4043,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4198,
|
|
"name": "axis",
|
|
"start": 4194,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 4205,
|
|
"raw": "0.0",
|
|
"start": 4202,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4210,
|
|
"raw": "1.0",
|
|
"start": 4207,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4215,
|
|
"raw": "0.0",
|
|
"start": 4212,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 4216,
|
|
"start": 4201,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4234,
|
|
"name": "instances",
|
|
"start": 4225,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4251,
|
|
"name": "countBinLength",
|
|
"start": 4237,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4268,
|
|
"name": "distance",
|
|
"start": 4260,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4293,
|
|
"left": {
|
|
"end": 4280,
|
|
"name": "binLength",
|
|
"start": 4271,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4293,
|
|
"left": {
|
|
"end": 4289,
|
|
"name": "binTol",
|
|
"start": 4283,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4293,
|
|
"raw": "2",
|
|
"start": 4292,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4283,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4271,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4185,
|
|
"name": "patternLinear3d",
|
|
"start": 4170,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4300,
|
|
"start": 4170,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 4357,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"1": [
|
|
{
|
|
"end": 4357,
|
|
"start": 4300,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the fill of the bin by patterning the corners",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 4019,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 4006,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 4357,
|
|
"kind": "const",
|
|
"start": 4006,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 4659,
|
|
"id": {
|
|
"end": 4365,
|
|
"name": "binFill",
|
|
"start": 4358,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4418,
|
|
"name": "axis",
|
|
"start": 4414,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 4425,
|
|
"raw": "1.0",
|
|
"start": 4422,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4430,
|
|
"raw": "0.0",
|
|
"start": 4427,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4435,
|
|
"raw": "0.0",
|
|
"start": 4432,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 4436,
|
|
"start": 4421,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4454,
|
|
"name": "instances",
|
|
"start": 4445,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4470,
|
|
"name": "countBinWidth",
|
|
"start": 4457,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4487,
|
|
"name": "distance",
|
|
"start": 4479,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4512,
|
|
"left": {
|
|
"end": 4499,
|
|
"name": "binLength",
|
|
"start": 4490,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4512,
|
|
"left": {
|
|
"end": 4508,
|
|
"name": "binTol",
|
|
"start": 4502,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4512,
|
|
"raw": "2",
|
|
"start": 4511,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4502,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4490,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4383,
|
|
"name": "patternLinear3d",
|
|
"start": 4368,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4519,
|
|
"start": 4368,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 4405,
|
|
"name": "singleBinFill",
|
|
"start": 4392,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4553,
|
|
"name": "axis",
|
|
"start": 4549,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 4560,
|
|
"raw": "0.0",
|
|
"start": 4557,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4565,
|
|
"raw": "1.0",
|
|
"start": 4562,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4570,
|
|
"raw": "0.0",
|
|
"start": 4567,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 4571,
|
|
"start": 4556,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4589,
|
|
"name": "instances",
|
|
"start": 4580,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4606,
|
|
"name": "countBinLength",
|
|
"start": 4592,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4623,
|
|
"name": "distance",
|
|
"start": 4615,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4648,
|
|
"left": {
|
|
"end": 4635,
|
|
"name": "binLength",
|
|
"start": 4626,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4648,
|
|
"left": {
|
|
"end": 4644,
|
|
"name": "binTol",
|
|
"start": 4638,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4648,
|
|
"raw": "2",
|
|
"start": 4647,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4638,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4626,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4540,
|
|
"name": "patternLinear3d",
|
|
"start": 4525,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4655,
|
|
"start": 4525,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 4659,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"1": [
|
|
{
|
|
"end": 4659,
|
|
"start": 4655,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 4368,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 4358,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 4659,
|
|
"kind": "const",
|
|
"start": 4358,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 5396,
|
|
"id": {
|
|
"end": 4666,
|
|
"name": "binTop",
|
|
"start": 4660,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4707,
|
|
"name": "offset",
|
|
"start": 4701,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4716,
|
|
"name": "height",
|
|
"start": 4710,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4694,
|
|
"name": "offsetPlane",
|
|
"start": 4683,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4717,
|
|
"start": 4683,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 4699,
|
|
"raw": "\"XY\"",
|
|
"start": 4695,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "XY"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4682,
|
|
"name": "startSketchOn",
|
|
"start": 4669,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4718,
|
|
"start": 4669,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"end": 4741,
|
|
"raw": "0",
|
|
"start": 4740,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 4744,
|
|
"raw": "0",
|
|
"start": 4743,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 4745,
|
|
"start": 4739,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
},
|
|
{
|
|
"end": 4748,
|
|
"start": 4747,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4738,
|
|
"name": "startProfileAt",
|
|
"start": 4724,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4749,
|
|
"start": 4724,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4767,
|
|
"name": "length",
|
|
"start": 4761,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4810,
|
|
"left": {
|
|
"end": 4793,
|
|
"left": {
|
|
"end": 4780,
|
|
"name": "binLength",
|
|
"start": 4771,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4793,
|
|
"left": {
|
|
"end": 4784,
|
|
"raw": "2",
|
|
"start": 4783,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4793,
|
|
"name": "binTol",
|
|
"start": 4787,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4783,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4771,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4810,
|
|
"name": "countBinWidth",
|
|
"start": 4797,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4771,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4815,
|
|
"name": "tag",
|
|
"start": 4812,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4826,
|
|
"start": 4818,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line010"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4760,
|
|
"name": "xLine",
|
|
"start": 4755,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4827,
|
|
"start": 4755,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4845,
|
|
"name": "length",
|
|
"start": 4839,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4889,
|
|
"left": {
|
|
"end": 4871,
|
|
"left": {
|
|
"end": 4858,
|
|
"name": "binLength",
|
|
"start": 4849,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 4871,
|
|
"left": {
|
|
"end": 4862,
|
|
"raw": "2",
|
|
"start": 4861,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4871,
|
|
"name": "binTol",
|
|
"start": 4865,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4861,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 4849,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4889,
|
|
"name": "countBinLength",
|
|
"start": 4875,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4849,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4894,
|
|
"name": "tag",
|
|
"start": 4891,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4905,
|
|
"start": 4897,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line011"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4838,
|
|
"name": "yLine",
|
|
"start": 4833,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4906,
|
|
"start": 4833,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4929,
|
|
"name": "endAbsolute",
|
|
"start": 4918,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"arguments": [
|
|
{
|
|
"end": 4947,
|
|
"start": 4946,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4945,
|
|
"name": "profileStartX",
|
|
"start": 4932,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4948,
|
|
"start": 4932,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4953,
|
|
"name": "tag",
|
|
"start": 4950,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4964,
|
|
"start": 4956,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line012"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4917,
|
|
"name": "xLine",
|
|
"start": 4912,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4965,
|
|
"start": 4912,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4980,
|
|
"name": "tag",
|
|
"start": 4977,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4991,
|
|
"start": 4983,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line013"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4976,
|
|
"name": "close",
|
|
"start": 4971,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4992,
|
|
"start": 4971,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5012,
|
|
"name": "length",
|
|
"start": 5006,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5041,
|
|
"left": {
|
|
"end": 5024,
|
|
"name": "binHeight",
|
|
"start": 5015,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5041,
|
|
"name": "countBinHeight",
|
|
"start": 5027,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5015,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5005,
|
|
"name": "extrude",
|
|
"start": 4998,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5042,
|
|
"start": 4998,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5069,
|
|
"name": "radius",
|
|
"start": 5063,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5084,
|
|
"name": "cornerRadius",
|
|
"start": 5072,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5097,
|
|
"name": "tags",
|
|
"start": 5093,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5138,
|
|
"name": "line010",
|
|
"start": 5131,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5130,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5111,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5139,
|
|
"start": 5111,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5181,
|
|
"name": "line010",
|
|
"start": 5174,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5173,
|
|
"name": "getPreviousAdjacentEdge",
|
|
"start": 5150,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5182,
|
|
"start": 5150,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5220,
|
|
"name": "line012",
|
|
"start": 5213,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5212,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5193,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5221,
|
|
"start": 5193,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5263,
|
|
"name": "line012",
|
|
"start": 5256,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5255,
|
|
"name": "getPreviousAdjacentEdge",
|
|
"start": 5232,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5264,
|
|
"start": 5232,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 5273,
|
|
"start": 5100,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5054,
|
|
"name": "fillet",
|
|
"start": 5048,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5280,
|
|
"start": 5048,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5297,
|
|
"name": "faces",
|
|
"start": 5292,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 5306,
|
|
"raw": "\"end\"",
|
|
"start": 5301,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "end"
|
|
}
|
|
],
|
|
"end": 5307,
|
|
"start": 5300,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5318,
|
|
"name": "thickness",
|
|
"start": 5309,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5327,
|
|
"name": "binThk",
|
|
"start": 5321,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5291,
|
|
"name": "shell",
|
|
"start": 5286,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5328,
|
|
"start": 5286,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 5396,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"8": [
|
|
{
|
|
"end": 5396,
|
|
"start": 5328,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "define a function which builds the profile of the baseplate bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 4669,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 4660,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 5396,
|
|
"kind": "const",
|
|
"start": 4660,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 6065,
|
|
"id": {
|
|
"end": 5407,
|
|
"name": "lipFace",
|
|
"start": 5400,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": {
|
|
"body": [
|
|
{
|
|
"declaration": {
|
|
"end": 6043,
|
|
"id": {
|
|
"end": 5429,
|
|
"name": "faceSketch",
|
|
"start": 5419,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5451,
|
|
"name": "plane",
|
|
"start": 5446,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5445,
|
|
"name": "startSketchOn",
|
|
"start": 5432,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5452,
|
|
"start": 5432,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"end": 5477,
|
|
"raw": "0",
|
|
"start": 5476,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 5480,
|
|
"raw": "0",
|
|
"start": 5479,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 5481,
|
|
"start": 5475,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
},
|
|
{
|
|
"end": 5484,
|
|
"start": 5483,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5474,
|
|
"name": "startProfileAt",
|
|
"start": 5460,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5485,
|
|
"start": 5460,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5553,
|
|
"name": "end",
|
|
"start": 5550,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 5560,
|
|
"raw": "0.0",
|
|
"start": 5557,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 5570,
|
|
"raw": "5.792893",
|
|
"start": 5562,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 5.792893,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 5571,
|
|
"start": 5556,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5576,
|
|
"name": "tag",
|
|
"start": 5573,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5587,
|
|
"start": 5579,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line000"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5549,
|
|
"name": "line",
|
|
"start": 5545,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5588,
|
|
"start": 5545,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5692,
|
|
"properties": [
|
|
{
|
|
"end": 5629,
|
|
"key": {
|
|
"end": 5621,
|
|
"name": "angleStart",
|
|
"start": 5611,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5611,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5629,
|
|
"raw": "180.0",
|
|
"start": 5624,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 5655,
|
|
"key": {
|
|
"end": 5648,
|
|
"name": "angleEnd",
|
|
"start": 5640,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5640,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5655,
|
|
"raw": "45.0",
|
|
"start": 5651,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 5683,
|
|
"key": {
|
|
"end": 5672,
|
|
"name": "radius",
|
|
"start": 5666,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5666,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5683,
|
|
"raw": "0.500000",
|
|
"start": 5675,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.5,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"start": 5600,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 5695,
|
|
"start": 5694,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 5704,
|
|
"start": 5697,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "arc000"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5599,
|
|
"name": "arc",
|
|
"start": 5596,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5705,
|
|
"start": 5596,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5788,
|
|
"name": "end",
|
|
"start": 5785,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 5800,
|
|
"raw": "1.046447",
|
|
"start": 5792,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.046447,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"argument": {
|
|
"end": 5811,
|
|
"raw": "1.046447",
|
|
"start": 5803,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.046447,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5811,
|
|
"operator": "-",
|
|
"start": 5802,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
],
|
|
"end": 5812,
|
|
"start": 5791,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5817,
|
|
"name": "tag",
|
|
"start": 5814,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5828,
|
|
"start": 5820,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "line001"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5784,
|
|
"name": "line",
|
|
"start": 5780,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5829,
|
|
"start": 5780,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5849,
|
|
"name": "length",
|
|
"start": 5843,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"argument": {
|
|
"end": 5861,
|
|
"name": "lipStep4",
|
|
"start": 5853,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5861,
|
|
"operator": "-",
|
|
"start": 5852,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5842,
|
|
"name": "yLine",
|
|
"start": 5837,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5862,
|
|
"start": 5837,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5924,
|
|
"properties": [
|
|
{
|
|
"end": 5903,
|
|
"key": {
|
|
"end": 5897,
|
|
"name": "angle",
|
|
"start": 5892,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5892,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 5903,
|
|
"raw": "45",
|
|
"start": 5901,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5903,
|
|
"operator": "-",
|
|
"start": 5900,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 5922,
|
|
"key": {
|
|
"end": 5911,
|
|
"name": "length",
|
|
"start": 5905,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5905,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5922,
|
|
"name": "lipStep3",
|
|
"start": 5914,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 5890,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 5927,
|
|
"start": 5926,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5889,
|
|
"name": "angledLineOfYLength",
|
|
"start": 5870,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5928,
|
|
"start": 5870,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5948,
|
|
"name": "length",
|
|
"start": 5942,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"argument": {
|
|
"end": 5960,
|
|
"name": "lipStep2",
|
|
"start": 5952,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5960,
|
|
"operator": "-",
|
|
"start": 5951,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5941,
|
|
"name": "yLine",
|
|
"start": 5936,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5961,
|
|
"start": 5936,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6024,
|
|
"properties": [
|
|
{
|
|
"end": 6003,
|
|
"key": {
|
|
"end": 5996,
|
|
"name": "angle",
|
|
"start": 5991,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5991,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 6003,
|
|
"raw": "135",
|
|
"start": 6000,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 135.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 6003,
|
|
"operator": "-",
|
|
"start": 5999,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6022,
|
|
"key": {
|
|
"end": 6011,
|
|
"name": "length",
|
|
"start": 6005,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6005,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 6022,
|
|
"name": "lipStep1",
|
|
"start": 6014,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 5989,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 6027,
|
|
"start": 6026,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5988,
|
|
"name": "angledLineOfYLength",
|
|
"start": 5969,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6028,
|
|
"start": 5969,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [],
|
|
"callee": {
|
|
"end": 6041,
|
|
"name": "close",
|
|
"start": 6036,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6043,
|
|
"start": 6036,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 6043,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"1": [
|
|
{
|
|
"end": 5537,
|
|
"start": 5489,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "blockComment",
|
|
"value": "|> yLine(length = lipHeight, tag = $line100)",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"3": [
|
|
{
|
|
"end": 5772,
|
|
"start": 5709,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "blockComment",
|
|
"value": "|> angledLineOfYLength({ angle: -45, length: lipStep5 }, %)",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 5432,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 5419,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6043,
|
|
"kind": "const",
|
|
"start": 5419,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"argument": {
|
|
"end": 6063,
|
|
"name": "faceSketch",
|
|
"start": 6053,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6063,
|
|
"start": 6046,
|
|
"type": "ReturnStatement",
|
|
"type": "ReturnStatement"
|
|
}
|
|
],
|
|
"end": 6065,
|
|
"start": 5415
|
|
},
|
|
"end": 6065,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"identifier": {
|
|
"end": 5413,
|
|
"name": "plane",
|
|
"start": 5408,
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 5407,
|
|
"type": "FunctionExpression",
|
|
"type": "FunctionExpression"
|
|
},
|
|
"start": 5400,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6065,
|
|
"kind": "fn",
|
|
"start": 5397,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 6278,
|
|
"id": {
|
|
"end": 6075,
|
|
"name": "plane000",
|
|
"start": 6067,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"end": 6278,
|
|
"properties": [
|
|
{
|
|
"end": 6276,
|
|
"key": {
|
|
"end": 6087,
|
|
"name": "plane",
|
|
"start": 6082,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6082,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 6276,
|
|
"properties": [
|
|
{
|
|
"end": 6185,
|
|
"key": {
|
|
"end": 6102,
|
|
"name": "origin",
|
|
"start": 6096,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6096,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6125,
|
|
"name": "cornerRadius",
|
|
"start": 6113,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
{
|
|
"end": 6136,
|
|
"raw": "0.0",
|
|
"start": 6133,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6179,
|
|
"left": {
|
|
"end": 6150,
|
|
"name": "height",
|
|
"start": 6144,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 6179,
|
|
"left": {
|
|
"end": 6162,
|
|
"name": "binHeight",
|
|
"start": 6153,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6179,
|
|
"name": "countBinHeight",
|
|
"start": 6165,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6153,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6144,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 6185,
|
|
"start": 6105,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6214,
|
|
"key": {
|
|
"end": 6196,
|
|
"name": "xAxis",
|
|
"start": 6191,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6191,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6203,
|
|
"raw": "0.0",
|
|
"start": 6200,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6208,
|
|
"raw": "1.0",
|
|
"start": 6205,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6213,
|
|
"raw": "0.0",
|
|
"start": 6210,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6214,
|
|
"start": 6199,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6243,
|
|
"key": {
|
|
"end": 6225,
|
|
"name": "yAxis",
|
|
"start": 6220,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6220,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6232,
|
|
"raw": "0.0",
|
|
"start": 6229,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6237,
|
|
"raw": "0.0",
|
|
"start": 6234,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6242,
|
|
"raw": "1.0",
|
|
"start": 6239,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6243,
|
|
"start": 6228,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6272,
|
|
"key": {
|
|
"end": 6254,
|
|
"name": "zAxis",
|
|
"start": 6249,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6249,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6261,
|
|
"raw": "1.0",
|
|
"start": 6258,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6266,
|
|
"raw": "0.0",
|
|
"start": 6263,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6271,
|
|
"raw": "0.0",
|
|
"start": 6268,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6272,
|
|
"start": 6257,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6090,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6078,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
"start": 6067,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6278,
|
|
"kind": "const",
|
|
"start": 6067,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 6491,
|
|
"id": {
|
|
"end": 6288,
|
|
"name": "plane001",
|
|
"start": 6280,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"end": 6491,
|
|
"properties": [
|
|
{
|
|
"end": 6489,
|
|
"key": {
|
|
"end": 6300,
|
|
"name": "plane",
|
|
"start": 6295,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6295,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 6489,
|
|
"properties": [
|
|
{
|
|
"end": 6398,
|
|
"key": {
|
|
"end": 6315,
|
|
"name": "origin",
|
|
"start": 6309,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6309,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6329,
|
|
"raw": "0.0",
|
|
"start": 6326,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6349,
|
|
"name": "cornerRadius",
|
|
"start": 6337,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
{
|
|
"end": 6392,
|
|
"left": {
|
|
"end": 6363,
|
|
"name": "height",
|
|
"start": 6357,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 6392,
|
|
"left": {
|
|
"end": 6375,
|
|
"name": "binHeight",
|
|
"start": 6366,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6392,
|
|
"name": "countBinHeight",
|
|
"start": 6378,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6366,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6357,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 6398,
|
|
"start": 6318,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6427,
|
|
"key": {
|
|
"end": 6409,
|
|
"name": "xAxis",
|
|
"start": 6404,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6404,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6416,
|
|
"raw": "1.0",
|
|
"start": 6413,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6421,
|
|
"raw": "0.0",
|
|
"start": 6418,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6426,
|
|
"raw": "0.0",
|
|
"start": 6423,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6427,
|
|
"start": 6412,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6456,
|
|
"key": {
|
|
"end": 6438,
|
|
"name": "yAxis",
|
|
"start": 6433,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6433,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6445,
|
|
"raw": "0.0",
|
|
"start": 6442,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6450,
|
|
"raw": "0.0",
|
|
"start": 6447,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6455,
|
|
"raw": "1.0",
|
|
"start": 6452,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6456,
|
|
"start": 6441,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6485,
|
|
"key": {
|
|
"end": 6467,
|
|
"name": "zAxis",
|
|
"start": 6462,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6462,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6474,
|
|
"raw": "0.0",
|
|
"start": 6471,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6479,
|
|
"raw": "1.0",
|
|
"start": 6476,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6484,
|
|
"raw": "0.0",
|
|
"start": 6481,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6485,
|
|
"start": 6470,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6303,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6291,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
"start": 6280,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6491,
|
|
"kind": "const",
|
|
"start": 6280,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 6747,
|
|
"id": {
|
|
"end": 6501,
|
|
"name": "plane002",
|
|
"start": 6493,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"end": 6747,
|
|
"properties": [
|
|
{
|
|
"end": 6745,
|
|
"key": {
|
|
"end": 6513,
|
|
"name": "plane",
|
|
"start": 6508,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6508,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 6745,
|
|
"properties": [
|
|
{
|
|
"end": 6654,
|
|
"key": {
|
|
"end": 6528,
|
|
"name": "origin",
|
|
"start": 6522,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6522,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6594,
|
|
"left": {
|
|
"end": 6578,
|
|
"left": {
|
|
"end": 6552,
|
|
"name": "countBinWidth",
|
|
"start": 6539,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6578,
|
|
"left": {
|
|
"end": 6565,
|
|
"name": "binLength",
|
|
"start": 6556,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 6578,
|
|
"left": {
|
|
"end": 6569,
|
|
"raw": "2",
|
|
"start": 6568,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6578,
|
|
"name": "binTol",
|
|
"start": 6572,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6568,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6556,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6539,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 6594,
|
|
"name": "cornerRadius",
|
|
"start": 6582,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6539,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 6605,
|
|
"raw": "0.0",
|
|
"start": 6602,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6648,
|
|
"left": {
|
|
"end": 6619,
|
|
"name": "height",
|
|
"start": 6613,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 6648,
|
|
"left": {
|
|
"end": 6631,
|
|
"name": "binHeight",
|
|
"start": 6622,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6648,
|
|
"name": "countBinHeight",
|
|
"start": 6634,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6622,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6613,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 6654,
|
|
"start": 6531,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6683,
|
|
"key": {
|
|
"end": 6665,
|
|
"name": "xAxis",
|
|
"start": 6660,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6660,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6672,
|
|
"raw": "0.0",
|
|
"start": 6669,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6677,
|
|
"raw": "1.0",
|
|
"start": 6674,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6682,
|
|
"raw": "0.0",
|
|
"start": 6679,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6683,
|
|
"start": 6668,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6712,
|
|
"key": {
|
|
"end": 6694,
|
|
"name": "yAxis",
|
|
"start": 6689,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6689,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6701,
|
|
"raw": "0.0",
|
|
"start": 6698,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6706,
|
|
"raw": "0.0",
|
|
"start": 6703,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6711,
|
|
"raw": "1.0",
|
|
"start": 6708,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6712,
|
|
"start": 6697,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 6741,
|
|
"key": {
|
|
"end": 6723,
|
|
"name": "zAxis",
|
|
"start": 6718,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6718,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 6730,
|
|
"raw": "1.0",
|
|
"start": 6727,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6735,
|
|
"raw": "0.0",
|
|
"start": 6732,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 6740,
|
|
"raw": "0.0",
|
|
"start": 6737,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 6741,
|
|
"start": 6726,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6516,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 6504,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
"start": 6493,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6747,
|
|
"kind": "const",
|
|
"start": 6493,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 6926,
|
|
"id": {
|
|
"end": 6811,
|
|
"name": "lipSingleLength",
|
|
"start": 6796,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 6847,
|
|
"name": "length",
|
|
"start": 6841,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 6925,
|
|
"left": {
|
|
"end": 6895,
|
|
"left": {
|
|
"end": 6875,
|
|
"left": {
|
|
"end": 6859,
|
|
"name": "binLength",
|
|
"start": 6850,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6875,
|
|
"name": "countBinWidth",
|
|
"start": 6862,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6850,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 6895,
|
|
"left": {
|
|
"end": 6880,
|
|
"raw": "2",
|
|
"start": 6879,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6895,
|
|
"name": "cornerRadius",
|
|
"start": 6883,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6879,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6850,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 6925,
|
|
"left": {
|
|
"end": 6909,
|
|
"left": {
|
|
"end": 6900,
|
|
"raw": "2",
|
|
"start": 6899,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6909,
|
|
"name": "binTol",
|
|
"start": 6903,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6899,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 6925,
|
|
"name": "countBinWidth",
|
|
"start": 6912,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 6899,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 6850,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6821,
|
|
"name": "extrude",
|
|
"start": 6814,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6926,
|
|
"start": 6814,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"arguments": [
|
|
{
|
|
"end": 6838,
|
|
"name": "plane000",
|
|
"start": 6830,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6829,
|
|
"name": "lipFace",
|
|
"start": 6822,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6839,
|
|
"start": 6822,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
"start": 6796,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 6926,
|
|
"kind": "const",
|
|
"start": 6796,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 7106,
|
|
"id": {
|
|
"end": 6989,
|
|
"name": "lipSingleWidth",
|
|
"start": 6975,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7025,
|
|
"name": "length",
|
|
"start": 7019,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7105,
|
|
"left": {
|
|
"end": 7074,
|
|
"left": {
|
|
"end": 7054,
|
|
"left": {
|
|
"end": 7037,
|
|
"name": "binLength",
|
|
"start": 7028,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7054,
|
|
"name": "countBinLength",
|
|
"start": 7040,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7028,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 7074,
|
|
"left": {
|
|
"end": 7059,
|
|
"raw": "2",
|
|
"start": 7058,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7074,
|
|
"name": "cornerRadius",
|
|
"start": 7062,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7058,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7028,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 7105,
|
|
"left": {
|
|
"end": 7088,
|
|
"left": {
|
|
"end": 7079,
|
|
"raw": "2",
|
|
"start": 7078,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7088,
|
|
"name": "binTol",
|
|
"start": 7082,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7078,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7105,
|
|
"name": "countBinLength",
|
|
"start": 7091,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7078,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7028,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6999,
|
|
"name": "extrude",
|
|
"start": 6992,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7106,
|
|
"start": 6992,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"arguments": [
|
|
{
|
|
"end": 7016,
|
|
"name": "plane001",
|
|
"start": 7008,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7007,
|
|
"name": "lipFace",
|
|
"start": 7000,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7017,
|
|
"start": 7000,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
"start": 6975,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 7106,
|
|
"kind": "const",
|
|
"start": 6975,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 7434,
|
|
"id": {
|
|
"end": 7184,
|
|
"name": "lipLengths",
|
|
"start": 7174,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7237,
|
|
"name": "arcDegrees",
|
|
"start": 7227,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7243,
|
|
"raw": "360",
|
|
"start": 7240,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7251,
|
|
"name": "axis",
|
|
"start": 7247,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 7256,
|
|
"raw": "0",
|
|
"start": 7255,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7259,
|
|
"raw": "0",
|
|
"start": 7258,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7262,
|
|
"raw": "1",
|
|
"start": 7261,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7263,
|
|
"start": 7254,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7273,
|
|
"name": "center",
|
|
"start": 7267,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 7326,
|
|
"left": {
|
|
"end": 7310,
|
|
"left": {
|
|
"end": 7305,
|
|
"left": {
|
|
"end": 7292,
|
|
"name": "binLength",
|
|
"start": 7283,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 7305,
|
|
"left": {
|
|
"end": 7296,
|
|
"raw": "2",
|
|
"start": 7295,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7305,
|
|
"name": "binTol",
|
|
"start": 7299,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7295,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7283,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 7310,
|
|
"raw": "2",
|
|
"start": 7309,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 7283,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7326,
|
|
"name": "countBinWidth",
|
|
"start": 7313,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7283,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 7377,
|
|
"left": {
|
|
"end": 7360,
|
|
"left": {
|
|
"end": 7355,
|
|
"left": {
|
|
"end": 7342,
|
|
"name": "binLength",
|
|
"start": 7333,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 7355,
|
|
"left": {
|
|
"end": 7346,
|
|
"raw": "2",
|
|
"start": 7345,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7355,
|
|
"name": "binTol",
|
|
"start": 7349,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7345,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7333,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 7360,
|
|
"raw": "2",
|
|
"start": 7359,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 7333,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7377,
|
|
"name": "countBinLength",
|
|
"start": 7363,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7333,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 7384,
|
|
"raw": "0",
|
|
"start": 7383,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7388,
|
|
"start": 7276,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7401,
|
|
"name": "instances",
|
|
"start": 7392,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7405,
|
|
"raw": "2",
|
|
"start": 7404,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7425,
|
|
"name": "rotateDuplicates",
|
|
"start": 7409,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7432,
|
|
"raw": "true",
|
|
"start": 7428,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7204,
|
|
"name": "patternCircular3d",
|
|
"start": 7187,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7434,
|
|
"start": 7187,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 7223,
|
|
"name": "lipSingleLength",
|
|
"start": 7208,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 7174,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 7434,
|
|
"kind": "const",
|
|
"start": 7174,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 7760,
|
|
"id": {
|
|
"end": 7511,
|
|
"name": "lipWidths",
|
|
"start": 7502,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7563,
|
|
"name": "arcDegrees",
|
|
"start": 7553,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7569,
|
|
"raw": "360",
|
|
"start": 7566,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7577,
|
|
"name": "axis",
|
|
"start": 7573,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 7582,
|
|
"raw": "0",
|
|
"start": 7581,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7585,
|
|
"raw": "0",
|
|
"start": 7584,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7588,
|
|
"raw": "1",
|
|
"start": 7587,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7589,
|
|
"start": 7580,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7599,
|
|
"name": "center",
|
|
"start": 7593,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 7652,
|
|
"left": {
|
|
"end": 7636,
|
|
"left": {
|
|
"end": 7631,
|
|
"left": {
|
|
"end": 7618,
|
|
"name": "binLength",
|
|
"start": 7609,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 7631,
|
|
"left": {
|
|
"end": 7622,
|
|
"raw": "2",
|
|
"start": 7621,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7631,
|
|
"name": "binTol",
|
|
"start": 7625,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7621,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7609,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 7636,
|
|
"raw": "2",
|
|
"start": 7635,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 7609,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7652,
|
|
"name": "countBinWidth",
|
|
"start": 7639,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7609,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 7703,
|
|
"left": {
|
|
"end": 7686,
|
|
"left": {
|
|
"end": 7681,
|
|
"left": {
|
|
"end": 7668,
|
|
"name": "binLength",
|
|
"start": 7659,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 7681,
|
|
"left": {
|
|
"end": 7672,
|
|
"raw": "2",
|
|
"start": 7671,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7681,
|
|
"name": "binTol",
|
|
"start": 7675,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7671,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 7659,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 7686,
|
|
"raw": "2",
|
|
"start": 7685,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 7659,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 7703,
|
|
"name": "countBinLength",
|
|
"start": 7689,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7659,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 7710,
|
|
"raw": "0",
|
|
"start": 7709,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7714,
|
|
"start": 7602,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7727,
|
|
"name": "instances",
|
|
"start": 7718,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7731,
|
|
"raw": "2",
|
|
"start": 7730,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7751,
|
|
"name": "rotateDuplicates",
|
|
"start": 7735,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 7758,
|
|
"raw": "true",
|
|
"start": 7754,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7531,
|
|
"name": "patternCircular3d",
|
|
"start": 7514,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7760,
|
|
"start": 7514,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 7549,
|
|
"name": "lipSingleWidth",
|
|
"start": 7535,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 7502,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 7760,
|
|
"kind": "const",
|
|
"start": 7502,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 7883,
|
|
"id": {
|
|
"end": 7795,
|
|
"name": "axis001",
|
|
"start": 7788,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"end": 7883,
|
|
"properties": [
|
|
{
|
|
"end": 7881,
|
|
"key": {
|
|
"end": 7808,
|
|
"name": "custom",
|
|
"start": 7802,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7802,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 7881,
|
|
"properties": [
|
|
{
|
|
"end": 7834,
|
|
"key": {
|
|
"end": 7821,
|
|
"name": "axis",
|
|
"start": 7817,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7817,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 7828,
|
|
"raw": "0.0",
|
|
"start": 7825,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7833,
|
|
"raw": "1.0",
|
|
"start": 7830,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7834,
|
|
"start": 7824,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 7877,
|
|
"key": {
|
|
"end": 7846,
|
|
"name": "origin",
|
|
"start": 7840,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 7840,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"elements": [
|
|
{
|
|
"end": 7862,
|
|
"name": "cornerRadius",
|
|
"start": 7850,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
{
|
|
"end": 7876,
|
|
"name": "cornerRadius",
|
|
"start": 7864,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"end": 7877,
|
|
"start": 7849,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 7811,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 7798,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
"start": 7788,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 7883,
|
|
"kind": "const",
|
|
"start": 7788,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 8001,
|
|
"id": {
|
|
"end": 7943,
|
|
"name": "lipSingleLengthCorner",
|
|
"start": 7922,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7978,
|
|
"name": "angle",
|
|
"start": 7973,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"argument": {
|
|
"end": 7984,
|
|
"raw": "90",
|
|
"start": 7982,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 7984,
|
|
"operator": "-",
|
|
"start": 7981,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 7990,
|
|
"name": "axis",
|
|
"start": 7986,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8000,
|
|
"name": "axis001",
|
|
"start": 7993,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7953,
|
|
"name": "revolve",
|
|
"start": 7946,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8001,
|
|
"start": 7946,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"arguments": [
|
|
{
|
|
"end": 7970,
|
|
"name": "plane000",
|
|
"start": 7962,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7961,
|
|
"name": "lipFace",
|
|
"start": 7954,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7971,
|
|
"start": 7954,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
"start": 7922,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 8001,
|
|
"kind": "const",
|
|
"start": 7922,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 8117,
|
|
"id": {
|
|
"end": 8060,
|
|
"name": "lipSingleWidthCorner",
|
|
"start": 8040,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8095,
|
|
"name": "angle",
|
|
"start": 8090,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8100,
|
|
"raw": "90",
|
|
"start": 8098,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8106,
|
|
"name": "axis",
|
|
"start": 8102,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8116,
|
|
"name": "axis001",
|
|
"start": 8109,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 8070,
|
|
"name": "revolve",
|
|
"start": 8063,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8117,
|
|
"start": 8063,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"arguments": [
|
|
{
|
|
"end": 8087,
|
|
"name": "plane002",
|
|
"start": 8079,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 8078,
|
|
"name": "lipFace",
|
|
"start": 8071,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8088,
|
|
"start": 8071,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
},
|
|
"start": 8040,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 8117,
|
|
"kind": "const",
|
|
"start": 8040,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 8421,
|
|
"id": {
|
|
"end": 8165,
|
|
"name": "lipCorners000",
|
|
"start": 8152,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8224,
|
|
"name": "arcDegrees",
|
|
"start": 8214,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8230,
|
|
"raw": "360",
|
|
"start": 8227,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8238,
|
|
"name": "axis",
|
|
"start": 8234,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 8243,
|
|
"raw": "0",
|
|
"start": 8242,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 8246,
|
|
"raw": "0",
|
|
"start": 8245,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 8249,
|
|
"raw": "1",
|
|
"start": 8248,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 8250,
|
|
"start": 8241,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8260,
|
|
"name": "center",
|
|
"start": 8254,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 8313,
|
|
"left": {
|
|
"end": 8297,
|
|
"left": {
|
|
"end": 8292,
|
|
"left": {
|
|
"end": 8279,
|
|
"name": "binLength",
|
|
"start": 8270,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 8292,
|
|
"left": {
|
|
"end": 8283,
|
|
"raw": "2",
|
|
"start": 8282,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8292,
|
|
"name": "binTol",
|
|
"start": 8286,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8282,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 8270,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 8297,
|
|
"raw": "2",
|
|
"start": 8296,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 8270,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8313,
|
|
"name": "countBinWidth",
|
|
"start": 8300,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8270,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 8364,
|
|
"left": {
|
|
"end": 8347,
|
|
"left": {
|
|
"end": 8342,
|
|
"left": {
|
|
"end": 8329,
|
|
"name": "binLength",
|
|
"start": 8320,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 8342,
|
|
"left": {
|
|
"end": 8333,
|
|
"raw": "2",
|
|
"start": 8332,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8342,
|
|
"name": "binTol",
|
|
"start": 8336,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8332,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 8320,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 8347,
|
|
"raw": "2",
|
|
"start": 8346,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 8320,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8364,
|
|
"name": "countBinLength",
|
|
"start": 8350,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8320,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 8371,
|
|
"raw": "0",
|
|
"start": 8370,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 8375,
|
|
"start": 8263,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8388,
|
|
"name": "instances",
|
|
"start": 8379,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8392,
|
|
"raw": "2",
|
|
"start": 8391,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8412,
|
|
"name": "rotateDuplicates",
|
|
"start": 8396,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8419,
|
|
"raw": "true",
|
|
"start": 8415,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 8185,
|
|
"name": "patternCircular3d",
|
|
"start": 8168,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8421,
|
|
"start": 8168,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 8210,
|
|
"name": "lipSingleLengthCorner",
|
|
"start": 8189,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 8152,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 8421,
|
|
"kind": "const",
|
|
"start": 8152,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"declaration": {
|
|
"end": 8724,
|
|
"id": {
|
|
"end": 8469,
|
|
"name": "lipCorners001",
|
|
"start": 8456,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8527,
|
|
"name": "arcDegrees",
|
|
"start": 8517,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8533,
|
|
"raw": "360",
|
|
"start": 8530,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 360.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8541,
|
|
"name": "axis",
|
|
"start": 8537,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 8546,
|
|
"raw": "0",
|
|
"start": 8545,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 8549,
|
|
"raw": "0",
|
|
"start": 8548,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 8552,
|
|
"raw": "1",
|
|
"start": 8551,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 8553,
|
|
"start": 8544,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8563,
|
|
"name": "center",
|
|
"start": 8557,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 8616,
|
|
"left": {
|
|
"end": 8600,
|
|
"left": {
|
|
"end": 8595,
|
|
"left": {
|
|
"end": 8582,
|
|
"name": "binLength",
|
|
"start": 8573,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 8595,
|
|
"left": {
|
|
"end": 8586,
|
|
"raw": "2",
|
|
"start": 8585,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8595,
|
|
"name": "binTol",
|
|
"start": 8589,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8585,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 8573,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 8600,
|
|
"raw": "2",
|
|
"start": 8599,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 8573,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8616,
|
|
"name": "countBinWidth",
|
|
"start": 8603,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8573,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 8667,
|
|
"left": {
|
|
"end": 8650,
|
|
"left": {
|
|
"end": 8645,
|
|
"left": {
|
|
"end": 8632,
|
|
"name": "binLength",
|
|
"start": 8623,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 8645,
|
|
"left": {
|
|
"end": 8636,
|
|
"raw": "2",
|
|
"start": 8635,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8645,
|
|
"name": "binTol",
|
|
"start": 8639,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8635,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"start": 8623,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 8650,
|
|
"raw": "2",
|
|
"start": 8649,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 8623,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 8667,
|
|
"name": "countBinLength",
|
|
"start": 8653,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 8623,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 8674,
|
|
"raw": "0",
|
|
"start": 8673,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 8678,
|
|
"start": 8566,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8691,
|
|
"name": "instances",
|
|
"start": 8682,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8695,
|
|
"raw": "2",
|
|
"start": 8694,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 8715,
|
|
"name": "rotateDuplicates",
|
|
"start": 8699,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 8722,
|
|
"raw": "true",
|
|
"start": 8718,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": true
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 8489,
|
|
"name": "patternCircular3d",
|
|
"start": 8472,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 8724,
|
|
"start": 8472,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": {
|
|
"end": 8513,
|
|
"name": "lipSingleWidthCorner",
|
|
"start": 8493,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
"start": 8456,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 8724,
|
|
"kind": "const",
|
|
"start": 8456,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
}
|
|
],
|
|
"end": 8725,
|
|
"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": 2286,
|
|
"start": 2252,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the corners of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"28": [
|
|
{
|
|
"end": 2510,
|
|
"start": 2508,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
}
|
|
],
|
|
"29": [
|
|
{
|
|
"end": 3132,
|
|
"start": 3130,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
}
|
|
],
|
|
"35": [
|
|
{
|
|
"end": 6067,
|
|
"start": 6065,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
}
|
|
],
|
|
"36": [
|
|
{
|
|
"end": 6280,
|
|
"start": 6278,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
}
|
|
],
|
|
"37": [
|
|
{
|
|
"end": 6493,
|
|
"start": 6491,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
}
|
|
],
|
|
"38": [
|
|
{
|
|
"end": 6795,
|
|
"start": 6747,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "extrude a single side of the lip of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"39": [
|
|
{
|
|
"end": 6974,
|
|
"start": 6926,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "extrude a single side of the lip of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"40": [
|
|
{
|
|
"end": 7173,
|
|
"start": 7106,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the other sides of the lips by using a circular pattern",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"41": [
|
|
{
|
|
"end": 7501,
|
|
"start": 7434,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the other sides of the lips by using a circular pattern",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"42": [
|
|
{
|
|
"end": 7787,
|
|
"start": 7760,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "define an axis axis000",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"43": [
|
|
{
|
|
"end": 7921,
|
|
"start": 7883,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create a single corner of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"44": [
|
|
{
|
|
"end": 8039,
|
|
"start": 8001,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create a single corner of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"45": [
|
|
{
|
|
"end": 8151,
|
|
"start": 8117,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "create the corners of the bin",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"46": [
|
|
{
|
|
"end": 8455,
|
|
"start": 8421,
|
|
"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
|
|
}
|
|
}
|