Previously, `xLine`, `xLineTo`, `yLine` and `yLineTo` used positional arguments. Now: - `xLineTo` and `yLineTo` have been removed - `xLine` and `yLine` both use keyword arguments: - `length`, optional (i.e. a relative distance along the X or Y axis) - `endAbsolute` optional (i.e. an absolute point along the X or Y axis) - `tag` optional - Exactly one of `length` or `endAbsolute` must be given. Not both, not neither. For example: ``` // Old way |> xLine(6.04, %) |> yLineTo(20, %, $base) // New way |> xLine(length = 6.04) |> yLine(endAbsolute = 20, tag = $base) ``` This also improves some of the general-purpose keyword arguments code in modeling app's TS codebase.
7596 lines
346 KiB
Plaintext
7596 lines
346 KiB
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Result of parsing 80-20-rail.kcl
|
|
---
|
|
{
|
|
"Ok": {
|
|
"body": [
|
|
{
|
|
"declaration": {
|
|
"end": 7478,
|
|
"id": {
|
|
"end": 214,
|
|
"name": "rail8020",
|
|
"start": 206,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": {
|
|
"body": [
|
|
{
|
|
"declaration": {
|
|
"end": 7457,
|
|
"id": {
|
|
"end": 295,
|
|
"name": "sketch001",
|
|
"start": 286,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 317,
|
|
"raw": "'-XZ'",
|
|
"start": 312,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": "-XZ"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 311,
|
|
"name": "startSketchOn",
|
|
"start": 298,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 318,
|
|
"start": 298,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"computed": false,
|
|
"end": 366,
|
|
"object": {
|
|
"end": 363,
|
|
"name": "originStart",
|
|
"start": 352,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 365,
|
|
"raw": "0",
|
|
"start": 364,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 352,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
{
|
|
"end": 410,
|
|
"left": {
|
|
"end": 393,
|
|
"left": {
|
|
"end": 380,
|
|
"raw": "0.1",
|
|
"start": 377,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 393,
|
|
"name": "railHeight",
|
|
"start": 383,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 377,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 410,
|
|
"object": {
|
|
"end": 407,
|
|
"name": "originStart",
|
|
"start": 396,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 409,
|
|
"raw": "1",
|
|
"start": 408,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 396,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 377,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 419,
|
|
"start": 341,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
},
|
|
{
|
|
"end": 422,
|
|
"start": 421,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 340,
|
|
"name": "startProfileAt",
|
|
"start": 326,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 423,
|
|
"start": 326,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 532,
|
|
"properties": [
|
|
{
|
|
"end": 462,
|
|
"key": {
|
|
"end": 456,
|
|
"name": "angleStart",
|
|
"start": 446,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 446,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 462,
|
|
"raw": "180",
|
|
"start": 459,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 487,
|
|
"key": {
|
|
"end": 481,
|
|
"name": "angleEnd",
|
|
"start": 473,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 473,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 487,
|
|
"raw": "270",
|
|
"start": 484,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 270.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 523,
|
|
"key": {
|
|
"end": 504,
|
|
"name": "radius",
|
|
"start": 498,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 498,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 523,
|
|
"left": {
|
|
"end": 510,
|
|
"raw": "0.1",
|
|
"start": 507,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 523,
|
|
"name": "railHeight",
|
|
"start": 513,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 507,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 435,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 535,
|
|
"start": 534,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 434,
|
|
"name": "arc",
|
|
"start": 431,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 536,
|
|
"start": 431,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 649,
|
|
"properties": [
|
|
{
|
|
"end": 575,
|
|
"key": {
|
|
"end": 569,
|
|
"name": "angleStart",
|
|
"start": 559,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 559,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 575,
|
|
"raw": "180",
|
|
"start": 572,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 598,
|
|
"key": {
|
|
"end": 594,
|
|
"name": "angleEnd",
|
|
"start": 586,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 586,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 598,
|
|
"raw": "0",
|
|
"start": 597,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 640,
|
|
"key": {
|
|
"end": 615,
|
|
"name": "radius",
|
|
"start": 609,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 609,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 640,
|
|
"left": {
|
|
"end": 627,
|
|
"left": {
|
|
"end": 623,
|
|
"raw": "0.072",
|
|
"start": 618,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 627,
|
|
"raw": "4",
|
|
"start": 626,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 618,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 640,
|
|
"name": "railHeight",
|
|
"start": 630,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 618,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 548,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 652,
|
|
"start": 651,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 547,
|
|
"name": "arc",
|
|
"start": 544,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 653,
|
|
"start": 544,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 673,
|
|
"name": "length",
|
|
"start": 667,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 692,
|
|
"left": {
|
|
"end": 679,
|
|
"raw": "0.1",
|
|
"start": 676,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 692,
|
|
"name": "railHeight",
|
|
"start": 682,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 676,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 666,
|
|
"name": "xLine",
|
|
"start": 661,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 693,
|
|
"start": 661,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 806,
|
|
"properties": [
|
|
{
|
|
"end": 732,
|
|
"key": {
|
|
"end": 726,
|
|
"name": "angleStart",
|
|
"start": 716,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 716,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 732,
|
|
"raw": "180",
|
|
"start": 729,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 755,
|
|
"key": {
|
|
"end": 751,
|
|
"name": "angleEnd",
|
|
"start": 743,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 743,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 755,
|
|
"raw": "0",
|
|
"start": 754,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 797,
|
|
"key": {
|
|
"end": 772,
|
|
"name": "radius",
|
|
"start": 766,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 766,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 797,
|
|
"left": {
|
|
"end": 784,
|
|
"left": {
|
|
"end": 780,
|
|
"raw": "0.072",
|
|
"start": 775,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 784,
|
|
"raw": "4",
|
|
"start": 783,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 775,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 797,
|
|
"name": "railHeight",
|
|
"start": 787,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 775,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 705,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 809,
|
|
"start": 808,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 704,
|
|
"name": "arc",
|
|
"start": 701,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 810,
|
|
"start": 701,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 830,
|
|
"name": "length",
|
|
"start": 824,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 850,
|
|
"left": {
|
|
"end": 837,
|
|
"raw": "0.06",
|
|
"start": 833,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 850,
|
|
"name": "railHeight",
|
|
"start": 840,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 833,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 855,
|
|
"name": "tag",
|
|
"start": 852,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 864,
|
|
"start": 858,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge1"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 823,
|
|
"name": "xLine",
|
|
"start": 818,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 865,
|
|
"start": 818,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 885,
|
|
"name": "length",
|
|
"start": 879,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 906,
|
|
"left": {
|
|
"end": 893,
|
|
"raw": "0.087",
|
|
"start": 888,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 906,
|
|
"name": "railHeight",
|
|
"start": 896,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 888,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 911,
|
|
"name": "tag",
|
|
"start": 908,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 920,
|
|
"start": 914,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge2"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 878,
|
|
"name": "yLine",
|
|
"start": 873,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 921,
|
|
"start": 873,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 941,
|
|
"name": "length",
|
|
"start": 935,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 963,
|
|
"left": {
|
|
"argument": {
|
|
"end": 950,
|
|
"raw": "0.183",
|
|
"start": 945,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 950,
|
|
"operator": "-",
|
|
"start": 944,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 963,
|
|
"name": "railHeight",
|
|
"start": 953,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 944,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 968,
|
|
"name": "tag",
|
|
"start": 965,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 977,
|
|
"start": 971,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge3"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 934,
|
|
"name": "xLine",
|
|
"start": 929,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 978,
|
|
"start": 929,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1091,
|
|
"properties": [
|
|
{
|
|
"end": 1021,
|
|
"key": {
|
|
"end": 1016,
|
|
"name": "angle",
|
|
"start": 1011,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1011,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1021,
|
|
"raw": "45",
|
|
"start": 1019,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1082,
|
|
"key": {
|
|
"end": 1034,
|
|
"name": "to",
|
|
"start": 1032,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1032,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1082,
|
|
"left": {
|
|
"end": 1065,
|
|
"left": {
|
|
"end": 1052,
|
|
"left": {
|
|
"end": 1047,
|
|
"left": {
|
|
"end": 1039,
|
|
"raw": "1",
|
|
"start": 1038,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 1047,
|
|
"raw": "0.356",
|
|
"start": 1042,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1038,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 1052,
|
|
"raw": "2",
|
|
"start": 1051,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1038,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1065,
|
|
"name": "railHeight",
|
|
"start": 1055,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1038,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 1082,
|
|
"object": {
|
|
"end": 1079,
|
|
"name": "originStart",
|
|
"start": 1068,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 1081,
|
|
"raw": "1",
|
|
"start": 1080,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1068,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 1038,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1000,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1094,
|
|
"start": 1093,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 1102,
|
|
"start": 1096,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge4"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 999,
|
|
"name": "angledLineToY",
|
|
"start": 986,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1103,
|
|
"start": 986,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1123,
|
|
"name": "length",
|
|
"start": 1117,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1144,
|
|
"left": {
|
|
"end": 1131,
|
|
"raw": "0.232",
|
|
"start": 1126,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.232,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1144,
|
|
"name": "railHeight",
|
|
"start": 1134,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1126,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1149,
|
|
"name": "tag",
|
|
"start": 1146,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1158,
|
|
"start": 1152,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge5"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1116,
|
|
"name": "xLine",
|
|
"start": 1111,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1159,
|
|
"start": 1111,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1263,
|
|
"properties": [
|
|
{
|
|
"end": 1203,
|
|
"key": {
|
|
"end": 1197,
|
|
"name": "angle",
|
|
"start": 1192,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1192,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 1203,
|
|
"raw": "45",
|
|
"start": 1201,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 1203,
|
|
"operator": "-",
|
|
"start": 1200,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 1254,
|
|
"key": {
|
|
"end": 1216,
|
|
"name": "to",
|
|
"start": 1214,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1214,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1254,
|
|
"left": {
|
|
"end": 1237,
|
|
"left": {
|
|
"end": 1224,
|
|
"raw": "0.087",
|
|
"start": 1219,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1237,
|
|
"name": "railHeight",
|
|
"start": 1227,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1219,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 1254,
|
|
"object": {
|
|
"end": 1251,
|
|
"name": "originStart",
|
|
"start": 1240,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 1253,
|
|
"raw": "1",
|
|
"start": 1252,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1240,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 1219,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1181,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1266,
|
|
"start": 1265,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 1274,
|
|
"start": 1268,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge6"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1180,
|
|
"name": "angledLineToY",
|
|
"start": 1167,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1275,
|
|
"start": 1167,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1295,
|
|
"name": "length",
|
|
"start": 1289,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1317,
|
|
"left": {
|
|
"argument": {
|
|
"end": 1304,
|
|
"raw": "0.183",
|
|
"start": 1299,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 1304,
|
|
"operator": "-",
|
|
"start": 1298,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1317,
|
|
"name": "railHeight",
|
|
"start": 1307,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1298,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1322,
|
|
"name": "tag",
|
|
"start": 1319,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1331,
|
|
"start": 1325,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge7"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1288,
|
|
"name": "xLine",
|
|
"start": 1283,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1332,
|
|
"start": 1283,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1352,
|
|
"name": "length",
|
|
"start": 1346,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1374,
|
|
"left": {
|
|
"argument": {
|
|
"end": 1361,
|
|
"raw": "0.087",
|
|
"start": 1356,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 1361,
|
|
"operator": "-",
|
|
"start": 1355,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1374,
|
|
"name": "railHeight",
|
|
"start": 1364,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1355,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1379,
|
|
"name": "tag",
|
|
"start": 1376,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1388,
|
|
"start": 1382,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge8"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1345,
|
|
"name": "yLine",
|
|
"start": 1340,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1389,
|
|
"start": 1340,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1409,
|
|
"name": "length",
|
|
"start": 1403,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1429,
|
|
"left": {
|
|
"end": 1416,
|
|
"raw": "0.06",
|
|
"start": 1412,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1429,
|
|
"name": "railHeight",
|
|
"start": 1419,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1412,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1402,
|
|
"name": "xLine",
|
|
"start": 1397,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1430,
|
|
"start": 1397,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1543,
|
|
"properties": [
|
|
{
|
|
"end": 1469,
|
|
"key": {
|
|
"end": 1463,
|
|
"name": "angleStart",
|
|
"start": 1453,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1453,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1469,
|
|
"raw": "180",
|
|
"start": 1466,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1492,
|
|
"key": {
|
|
"end": 1488,
|
|
"name": "angleEnd",
|
|
"start": 1480,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1480,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1492,
|
|
"raw": "0",
|
|
"start": 1491,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1534,
|
|
"key": {
|
|
"end": 1509,
|
|
"name": "radius",
|
|
"start": 1503,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1503,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1534,
|
|
"left": {
|
|
"end": 1521,
|
|
"left": {
|
|
"end": 1517,
|
|
"raw": "0.072",
|
|
"start": 1512,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 1521,
|
|
"raw": "4",
|
|
"start": 1520,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1512,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1534,
|
|
"name": "railHeight",
|
|
"start": 1524,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1512,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1442,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1546,
|
|
"start": 1545,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1441,
|
|
"name": "arc",
|
|
"start": 1438,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1547,
|
|
"start": 1438,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1567,
|
|
"name": "length",
|
|
"start": 1561,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 1586,
|
|
"left": {
|
|
"end": 1573,
|
|
"raw": "0.1",
|
|
"start": 1570,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1586,
|
|
"name": "railHeight",
|
|
"start": 1576,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1570,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1560,
|
|
"name": "xLine",
|
|
"start": 1555,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1587,
|
|
"start": 1555,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1700,
|
|
"properties": [
|
|
{
|
|
"end": 1626,
|
|
"key": {
|
|
"end": 1620,
|
|
"name": "angleStart",
|
|
"start": 1610,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1610,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1626,
|
|
"raw": "180",
|
|
"start": 1623,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1649,
|
|
"key": {
|
|
"end": 1645,
|
|
"name": "angleEnd",
|
|
"start": 1637,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1637,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1649,
|
|
"raw": "0",
|
|
"start": 1648,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1691,
|
|
"key": {
|
|
"end": 1666,
|
|
"name": "radius",
|
|
"start": 1660,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1660,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1691,
|
|
"left": {
|
|
"end": 1678,
|
|
"left": {
|
|
"end": 1674,
|
|
"raw": "0.072",
|
|
"start": 1669,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 1678,
|
|
"raw": "4",
|
|
"start": 1677,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1669,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1691,
|
|
"name": "railHeight",
|
|
"start": 1681,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1669,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1599,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1703,
|
|
"start": 1702,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1598,
|
|
"name": "arc",
|
|
"start": 1595,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1704,
|
|
"start": 1595,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1811,
|
|
"properties": [
|
|
{
|
|
"end": 1743,
|
|
"key": {
|
|
"end": 1737,
|
|
"name": "angleStart",
|
|
"start": 1727,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1727,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 1743,
|
|
"raw": "90",
|
|
"start": 1741,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 1743,
|
|
"operator": "-",
|
|
"start": 1740,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 1766,
|
|
"key": {
|
|
"end": 1762,
|
|
"name": "angleEnd",
|
|
"start": 1754,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1754,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1766,
|
|
"raw": "0",
|
|
"start": 1765,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1802,
|
|
"key": {
|
|
"end": 1783,
|
|
"name": "radius",
|
|
"start": 1777,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1777,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1802,
|
|
"left": {
|
|
"end": 1789,
|
|
"raw": "0.1",
|
|
"start": 1786,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1802,
|
|
"name": "railHeight",
|
|
"start": 1792,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1786,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1716,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1814,
|
|
"start": 1813,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1715,
|
|
"name": "arc",
|
|
"start": 1712,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1815,
|
|
"start": 1712,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1962,
|
|
"properties": [
|
|
{
|
|
"end": 1887,
|
|
"key": {
|
|
"end": 1881,
|
|
"name": "angleStart",
|
|
"start": 1871,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1871,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1887,
|
|
"raw": "270",
|
|
"start": 1884,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 270.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1911,
|
|
"key": {
|
|
"end": 1906,
|
|
"name": "angleEnd",
|
|
"start": 1898,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1898,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1911,
|
|
"raw": "90",
|
|
"start": 1909,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1953,
|
|
"key": {
|
|
"end": 1928,
|
|
"name": "radius",
|
|
"start": 1922,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1922,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1953,
|
|
"left": {
|
|
"end": 1940,
|
|
"left": {
|
|
"end": 1936,
|
|
"raw": "0.072",
|
|
"start": 1931,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 1940,
|
|
"raw": "4",
|
|
"start": 1939,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1931,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1953,
|
|
"name": "railHeight",
|
|
"start": 1943,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1931,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1860,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1965,
|
|
"start": 1964,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1859,
|
|
"name": "arc",
|
|
"start": 1856,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1966,
|
|
"start": 1856,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 1986,
|
|
"name": "length",
|
|
"start": 1980,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2005,
|
|
"left": {
|
|
"end": 1992,
|
|
"raw": "0.1",
|
|
"start": 1989,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2005,
|
|
"name": "railHeight",
|
|
"start": 1995,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1989,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1979,
|
|
"name": "yLine",
|
|
"start": 1974,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2006,
|
|
"start": 1974,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2120,
|
|
"properties": [
|
|
{
|
|
"end": 2045,
|
|
"key": {
|
|
"end": 2039,
|
|
"name": "angleStart",
|
|
"start": 2029,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2029,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2045,
|
|
"raw": "270",
|
|
"start": 2042,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 270.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2069,
|
|
"key": {
|
|
"end": 2064,
|
|
"name": "angleEnd",
|
|
"start": 2056,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2056,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2069,
|
|
"raw": "90",
|
|
"start": 2067,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2111,
|
|
"key": {
|
|
"end": 2086,
|
|
"name": "radius",
|
|
"start": 2080,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2080,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2111,
|
|
"left": {
|
|
"end": 2098,
|
|
"left": {
|
|
"end": 2094,
|
|
"raw": "0.072",
|
|
"start": 2089,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2098,
|
|
"raw": "4",
|
|
"start": 2097,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2089,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2111,
|
|
"name": "railHeight",
|
|
"start": 2101,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2089,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 2018,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 2123,
|
|
"start": 2122,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2017,
|
|
"name": "arc",
|
|
"start": 2014,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2124,
|
|
"start": 2014,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2144,
|
|
"name": "length",
|
|
"start": 2138,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2164,
|
|
"left": {
|
|
"end": 2151,
|
|
"raw": "0.06",
|
|
"start": 2147,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2164,
|
|
"name": "railHeight",
|
|
"start": 2154,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2147,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2169,
|
|
"name": "tag",
|
|
"start": 2166,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2178,
|
|
"start": 2172,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge9"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2137,
|
|
"name": "yLine",
|
|
"start": 2132,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2179,
|
|
"start": 2132,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2199,
|
|
"name": "length",
|
|
"start": 2193,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2221,
|
|
"left": {
|
|
"argument": {
|
|
"end": 2208,
|
|
"raw": "0.087",
|
|
"start": 2203,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 2208,
|
|
"operator": "-",
|
|
"start": 2202,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2221,
|
|
"name": "railHeight",
|
|
"start": 2211,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2202,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2226,
|
|
"name": "tag",
|
|
"start": 2223,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2236,
|
|
"start": 2229,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge10"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2192,
|
|
"name": "xLine",
|
|
"start": 2187,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2237,
|
|
"start": 2187,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2257,
|
|
"name": "length",
|
|
"start": 2251,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2279,
|
|
"left": {
|
|
"argument": {
|
|
"end": 2266,
|
|
"raw": "0.183",
|
|
"start": 2261,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 2266,
|
|
"operator": "-",
|
|
"start": 2260,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2279,
|
|
"name": "railHeight",
|
|
"start": 2269,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2260,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2284,
|
|
"name": "tag",
|
|
"start": 2281,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2294,
|
|
"start": 2287,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge11"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2250,
|
|
"name": "yLine",
|
|
"start": 2245,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2295,
|
|
"start": 2245,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2429,
|
|
"properties": [
|
|
{
|
|
"end": 2349,
|
|
"key": {
|
|
"end": 2343,
|
|
"name": "angle",
|
|
"start": 2338,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2338,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2349,
|
|
"raw": "135",
|
|
"start": 2346,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 135.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2420,
|
|
"key": {
|
|
"end": 2362,
|
|
"name": "to",
|
|
"start": 2360,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2360,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2420,
|
|
"left": {
|
|
"end": 2403,
|
|
"left": {
|
|
"end": 2389,
|
|
"left": {
|
|
"end": 2381,
|
|
"left": {
|
|
"end": 2376,
|
|
"left": {
|
|
"end": 2368,
|
|
"raw": "1",
|
|
"start": 2367,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 2376,
|
|
"raw": "0.356",
|
|
"start": 2371,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2367,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2381,
|
|
"raw": "2",
|
|
"start": 2380,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2367,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2389,
|
|
"raw": "0.356",
|
|
"start": 2384,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2367,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2403,
|
|
"name": "railHeight",
|
|
"start": 2393,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2367,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 2420,
|
|
"object": {
|
|
"end": 2417,
|
|
"name": "originStart",
|
|
"start": 2406,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 2419,
|
|
"raw": "0",
|
|
"start": 2418,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2406,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 2367,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 2327,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 2432,
|
|
"start": 2431,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 2441,
|
|
"start": 2434,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge12"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2326,
|
|
"name": "angledLineToX",
|
|
"start": 2313,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2442,
|
|
"start": 2313,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2472,
|
|
"name": "length",
|
|
"start": 2466,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2493,
|
|
"left": {
|
|
"end": 2480,
|
|
"raw": "0.232",
|
|
"start": 2475,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.232,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2493,
|
|
"name": "railHeight",
|
|
"start": 2483,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2475,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2498,
|
|
"name": "tag",
|
|
"start": 2495,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2508,
|
|
"start": 2501,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge13"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2465,
|
|
"name": "yLine",
|
|
"start": 2460,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2509,
|
|
"start": 2460,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2624,
|
|
"properties": [
|
|
{
|
|
"end": 2558,
|
|
"key": {
|
|
"end": 2553,
|
|
"name": "angle",
|
|
"start": 2548,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2548,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2558,
|
|
"raw": "45",
|
|
"start": 2556,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2615,
|
|
"key": {
|
|
"end": 2571,
|
|
"name": "to",
|
|
"start": 2569,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2569,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2615,
|
|
"left": {
|
|
"end": 2598,
|
|
"left": {
|
|
"end": 2584,
|
|
"left": {
|
|
"end": 2576,
|
|
"raw": "1",
|
|
"start": 2575,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 2584,
|
|
"raw": "0.087",
|
|
"start": 2579,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2575,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2598,
|
|
"name": "railHeight",
|
|
"start": 2588,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2575,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 2615,
|
|
"object": {
|
|
"end": 2612,
|
|
"name": "originStart",
|
|
"start": 2601,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 2614,
|
|
"raw": "0",
|
|
"start": 2613,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2601,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 2575,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 2537,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 2627,
|
|
"start": 2626,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 2636,
|
|
"start": 2629,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge14"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2536,
|
|
"name": "angledLineToX",
|
|
"start": 2523,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2637,
|
|
"start": 2523,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2663,
|
|
"name": "length",
|
|
"start": 2657,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2685,
|
|
"left": {
|
|
"argument": {
|
|
"end": 2672,
|
|
"raw": "0.183",
|
|
"start": 2667,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 2672,
|
|
"operator": "-",
|
|
"start": 2666,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2685,
|
|
"name": "railHeight",
|
|
"start": 2675,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2666,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2690,
|
|
"name": "tag",
|
|
"start": 2687,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2700,
|
|
"start": 2693,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge15"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2656,
|
|
"name": "yLine",
|
|
"start": 2651,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2701,
|
|
"start": 2651,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2727,
|
|
"name": "length",
|
|
"start": 2721,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2748,
|
|
"left": {
|
|
"end": 2735,
|
|
"raw": "0.087",
|
|
"start": 2730,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2748,
|
|
"name": "railHeight",
|
|
"start": 2738,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2730,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2753,
|
|
"name": "tag",
|
|
"start": 2750,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2763,
|
|
"start": 2756,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge16"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2720,
|
|
"name": "xLine",
|
|
"start": 2715,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2764,
|
|
"start": 2715,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2784,
|
|
"name": "length",
|
|
"start": 2778,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2804,
|
|
"left": {
|
|
"end": 2791,
|
|
"raw": "0.06",
|
|
"start": 2787,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2804,
|
|
"name": "railHeight",
|
|
"start": 2794,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2787,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2777,
|
|
"name": "yLine",
|
|
"start": 2772,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2805,
|
|
"start": 2772,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2919,
|
|
"properties": [
|
|
{
|
|
"end": 2844,
|
|
"key": {
|
|
"end": 2838,
|
|
"name": "angleStart",
|
|
"start": 2828,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2828,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2844,
|
|
"raw": "270",
|
|
"start": 2841,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 270.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2868,
|
|
"key": {
|
|
"end": 2863,
|
|
"name": "angleEnd",
|
|
"start": 2855,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2855,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2868,
|
|
"raw": "90",
|
|
"start": 2866,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2910,
|
|
"key": {
|
|
"end": 2885,
|
|
"name": "radius",
|
|
"start": 2879,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2879,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2910,
|
|
"left": {
|
|
"end": 2897,
|
|
"left": {
|
|
"end": 2893,
|
|
"raw": "0.072",
|
|
"start": 2888,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2897,
|
|
"raw": "4",
|
|
"start": 2896,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2888,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2910,
|
|
"name": "railHeight",
|
|
"start": 2900,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2888,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 2817,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 2922,
|
|
"start": 2921,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2816,
|
|
"name": "arc",
|
|
"start": 2813,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2923,
|
|
"start": 2813,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 2943,
|
|
"name": "length",
|
|
"start": 2937,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 2962,
|
|
"left": {
|
|
"end": 2949,
|
|
"raw": "0.1",
|
|
"start": 2946,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2962,
|
|
"name": "railHeight",
|
|
"start": 2952,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2946,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2936,
|
|
"name": "yLine",
|
|
"start": 2931,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2963,
|
|
"start": 2931,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3077,
|
|
"properties": [
|
|
{
|
|
"end": 3002,
|
|
"key": {
|
|
"end": 2996,
|
|
"name": "angleStart",
|
|
"start": 2986,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2986,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3002,
|
|
"raw": "270",
|
|
"start": 2999,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 270.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3026,
|
|
"key": {
|
|
"end": 3021,
|
|
"name": "angleEnd",
|
|
"start": 3013,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3013,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3026,
|
|
"raw": "90",
|
|
"start": 3024,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3068,
|
|
"key": {
|
|
"end": 3043,
|
|
"name": "radius",
|
|
"start": 3037,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3037,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3068,
|
|
"left": {
|
|
"end": 3055,
|
|
"left": {
|
|
"end": 3051,
|
|
"raw": "0.072",
|
|
"start": 3046,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3055,
|
|
"raw": "4",
|
|
"start": 3054,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3046,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3068,
|
|
"name": "railHeight",
|
|
"start": 3058,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3046,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 2975,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3080,
|
|
"start": 3079,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2974,
|
|
"name": "arc",
|
|
"start": 2971,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3081,
|
|
"start": 2971,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3220,
|
|
"properties": [
|
|
{
|
|
"end": 3151,
|
|
"key": {
|
|
"end": 3147,
|
|
"name": "angleStart",
|
|
"start": 3137,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3137,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3151,
|
|
"raw": "0",
|
|
"start": 3150,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3175,
|
|
"key": {
|
|
"end": 3170,
|
|
"name": "angleEnd",
|
|
"start": 3162,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3162,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3175,
|
|
"raw": "90",
|
|
"start": 3173,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3211,
|
|
"key": {
|
|
"end": 3192,
|
|
"name": "radius",
|
|
"start": 3186,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3186,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3211,
|
|
"left": {
|
|
"end": 3198,
|
|
"raw": "0.1",
|
|
"start": 3195,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3211,
|
|
"name": "railHeight",
|
|
"start": 3201,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3195,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 3126,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3223,
|
|
"start": 3222,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3125,
|
|
"name": "arc",
|
|
"start": 3122,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3224,
|
|
"start": 3122,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3338,
|
|
"properties": [
|
|
{
|
|
"end": 3261,
|
|
"key": {
|
|
"end": 3257,
|
|
"name": "angleStart",
|
|
"start": 3247,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3247,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3261,
|
|
"raw": "0",
|
|
"start": 3260,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3287,
|
|
"key": {
|
|
"end": 3280,
|
|
"name": "angleEnd",
|
|
"start": 3272,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3272,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 3287,
|
|
"raw": "180",
|
|
"start": 3284,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3287,
|
|
"operator": "-",
|
|
"start": 3283,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 3329,
|
|
"key": {
|
|
"end": 3304,
|
|
"name": "radius",
|
|
"start": 3298,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3298,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3329,
|
|
"left": {
|
|
"end": 3316,
|
|
"left": {
|
|
"end": 3312,
|
|
"raw": "0.072",
|
|
"start": 3307,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3316,
|
|
"raw": "4",
|
|
"start": 3315,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3307,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3329,
|
|
"name": "railHeight",
|
|
"start": 3319,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3307,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 3236,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3341,
|
|
"start": 3340,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3235,
|
|
"name": "arc",
|
|
"start": 3232,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3342,
|
|
"start": 3232,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3362,
|
|
"name": "length",
|
|
"start": 3356,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3382,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3369,
|
|
"raw": "0.1",
|
|
"start": 3366,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3369,
|
|
"operator": "-",
|
|
"start": 3365,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3382,
|
|
"name": "railHeight",
|
|
"start": 3372,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3365,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3355,
|
|
"name": "xLine",
|
|
"start": 3350,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3383,
|
|
"start": 3350,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3497,
|
|
"properties": [
|
|
{
|
|
"end": 3420,
|
|
"key": {
|
|
"end": 3416,
|
|
"name": "angleStart",
|
|
"start": 3406,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3406,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3420,
|
|
"raw": "0",
|
|
"start": 3419,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3446,
|
|
"key": {
|
|
"end": 3439,
|
|
"name": "angleEnd",
|
|
"start": 3431,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3431,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 3446,
|
|
"raw": "180",
|
|
"start": 3443,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3446,
|
|
"operator": "-",
|
|
"start": 3442,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 3488,
|
|
"key": {
|
|
"end": 3463,
|
|
"name": "radius",
|
|
"start": 3457,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3457,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3488,
|
|
"left": {
|
|
"end": 3475,
|
|
"left": {
|
|
"end": 3471,
|
|
"raw": "0.072",
|
|
"start": 3466,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3475,
|
|
"raw": "4",
|
|
"start": 3474,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3466,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3488,
|
|
"name": "railHeight",
|
|
"start": 3478,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3466,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 3395,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3500,
|
|
"start": 3499,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3394,
|
|
"name": "arc",
|
|
"start": 3391,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3501,
|
|
"start": 3391,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3521,
|
|
"name": "length",
|
|
"start": 3515,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3542,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3529,
|
|
"raw": "0.06",
|
|
"start": 3525,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3529,
|
|
"operator": "-",
|
|
"start": 3524,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3542,
|
|
"name": "railHeight",
|
|
"start": 3532,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3524,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3547,
|
|
"name": "tag",
|
|
"start": 3544,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3557,
|
|
"start": 3550,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge17"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3514,
|
|
"name": "xLine",
|
|
"start": 3509,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3558,
|
|
"start": 3509,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3578,
|
|
"name": "length",
|
|
"start": 3572,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3600,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3587,
|
|
"raw": "0.087",
|
|
"start": 3582,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3587,
|
|
"operator": "-",
|
|
"start": 3581,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3600,
|
|
"name": "railHeight",
|
|
"start": 3590,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3581,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3605,
|
|
"name": "tag",
|
|
"start": 3602,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3615,
|
|
"start": 3608,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge18"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3571,
|
|
"name": "yLine",
|
|
"start": 3566,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3616,
|
|
"start": 3566,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3636,
|
|
"name": "length",
|
|
"start": 3630,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3657,
|
|
"left": {
|
|
"end": 3644,
|
|
"raw": "0.183",
|
|
"start": 3639,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3657,
|
|
"name": "railHeight",
|
|
"start": 3647,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3639,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3662,
|
|
"name": "tag",
|
|
"start": 3659,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3672,
|
|
"start": 3665,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge19"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3629,
|
|
"name": "xLine",
|
|
"start": 3624,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3673,
|
|
"start": 3624,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3796,
|
|
"properties": [
|
|
{
|
|
"end": 3716,
|
|
"key": {
|
|
"end": 3711,
|
|
"name": "angle",
|
|
"start": 3706,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3706,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3716,
|
|
"raw": "45",
|
|
"start": 3714,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3787,
|
|
"key": {
|
|
"end": 3729,
|
|
"name": "to",
|
|
"start": 3727,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3727,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3787,
|
|
"left": {
|
|
"end": 3770,
|
|
"left": {
|
|
"end": 3756,
|
|
"left": {
|
|
"end": 3748,
|
|
"left": {
|
|
"end": 3743,
|
|
"left": {
|
|
"end": 3735,
|
|
"raw": "1",
|
|
"start": 3734,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 3743,
|
|
"raw": "0.356",
|
|
"start": 3738,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3734,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3748,
|
|
"raw": "2",
|
|
"start": 3747,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3734,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3756,
|
|
"raw": "0.356",
|
|
"start": 3751,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3734,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3770,
|
|
"name": "railHeight",
|
|
"start": 3760,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3734,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 3787,
|
|
"object": {
|
|
"end": 3784,
|
|
"name": "originStart",
|
|
"start": 3773,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 3786,
|
|
"raw": "1",
|
|
"start": 3785,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3773,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 3734,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 3695,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3799,
|
|
"start": 3798,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 3808,
|
|
"start": 3801,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge20"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3694,
|
|
"name": "angledLineToY",
|
|
"start": 3681,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3809,
|
|
"start": 3681,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3829,
|
|
"name": "length",
|
|
"start": 3823,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3851,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3838,
|
|
"raw": "0.232",
|
|
"start": 3833,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.232,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3838,
|
|
"operator": "-",
|
|
"start": 3832,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3851,
|
|
"name": "railHeight",
|
|
"start": 3841,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3832,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 3856,
|
|
"name": "tag",
|
|
"start": 3853,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 3866,
|
|
"start": 3859,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge21"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3822,
|
|
"name": "xLine",
|
|
"start": 3817,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3867,
|
|
"start": 3817,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3977,
|
|
"properties": [
|
|
{
|
|
"end": 3911,
|
|
"key": {
|
|
"end": 3905,
|
|
"name": "angle",
|
|
"start": 3900,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3900,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3911,
|
|
"raw": "135",
|
|
"start": 3908,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 135.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3968,
|
|
"key": {
|
|
"end": 3924,
|
|
"name": "to",
|
|
"start": 3922,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3922,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3968,
|
|
"left": {
|
|
"end": 3951,
|
|
"left": {
|
|
"end": 3937,
|
|
"left": {
|
|
"end": 3929,
|
|
"raw": "1",
|
|
"start": 3928,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 3937,
|
|
"raw": "0.087",
|
|
"start": 3932,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3928,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3951,
|
|
"name": "railHeight",
|
|
"start": 3941,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3928,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 3968,
|
|
"object": {
|
|
"end": 3965,
|
|
"name": "originStart",
|
|
"start": 3954,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 3967,
|
|
"raw": "1",
|
|
"start": 3966,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3954,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 3928,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 3889,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3980,
|
|
"start": 3979,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 3989,
|
|
"start": 3982,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge22"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3888,
|
|
"name": "angledLineToY",
|
|
"start": 3875,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3990,
|
|
"start": 3875,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4010,
|
|
"name": "length",
|
|
"start": 4004,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4031,
|
|
"left": {
|
|
"end": 4018,
|
|
"raw": "0.183",
|
|
"start": 4013,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4031,
|
|
"name": "railHeight",
|
|
"start": 4021,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4013,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4036,
|
|
"name": "tag",
|
|
"start": 4033,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4046,
|
|
"start": 4039,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge23"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4003,
|
|
"name": "xLine",
|
|
"start": 3998,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4047,
|
|
"start": 3998,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4067,
|
|
"name": "length",
|
|
"start": 4061,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4088,
|
|
"left": {
|
|
"end": 4075,
|
|
"raw": "0.087",
|
|
"start": 4070,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4088,
|
|
"name": "railHeight",
|
|
"start": 4078,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4070,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4093,
|
|
"name": "tag",
|
|
"start": 4090,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4103,
|
|
"start": 4096,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge24"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4060,
|
|
"name": "yLine",
|
|
"start": 4055,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4104,
|
|
"start": 4055,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4124,
|
|
"name": "length",
|
|
"start": 4118,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4145,
|
|
"left": {
|
|
"argument": {
|
|
"end": 4132,
|
|
"raw": "0.06",
|
|
"start": 4128,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4132,
|
|
"operator": "-",
|
|
"start": 4127,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4145,
|
|
"name": "railHeight",
|
|
"start": 4135,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4127,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4117,
|
|
"name": "xLine",
|
|
"start": 4112,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4146,
|
|
"start": 4112,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4260,
|
|
"properties": [
|
|
{
|
|
"end": 4183,
|
|
"key": {
|
|
"end": 4179,
|
|
"name": "angleStart",
|
|
"start": 4169,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4169,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4183,
|
|
"raw": "0",
|
|
"start": 4182,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4209,
|
|
"key": {
|
|
"end": 4202,
|
|
"name": "angleEnd",
|
|
"start": 4194,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4194,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 4209,
|
|
"raw": "180",
|
|
"start": 4206,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4209,
|
|
"operator": "-",
|
|
"start": 4205,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 4251,
|
|
"key": {
|
|
"end": 4226,
|
|
"name": "radius",
|
|
"start": 4220,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4220,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4251,
|
|
"left": {
|
|
"end": 4238,
|
|
"left": {
|
|
"end": 4234,
|
|
"raw": "0.072",
|
|
"start": 4229,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 4238,
|
|
"raw": "4",
|
|
"start": 4237,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4229,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4251,
|
|
"name": "railHeight",
|
|
"start": 4241,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4229,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4158,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4263,
|
|
"start": 4262,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4157,
|
|
"name": "arc",
|
|
"start": 4154,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4264,
|
|
"start": 4154,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4284,
|
|
"name": "length",
|
|
"start": 4278,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4304,
|
|
"left": {
|
|
"argument": {
|
|
"end": 4291,
|
|
"raw": "0.1",
|
|
"start": 4288,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4291,
|
|
"operator": "-",
|
|
"start": 4287,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4304,
|
|
"name": "railHeight",
|
|
"start": 4294,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4287,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4277,
|
|
"name": "xLine",
|
|
"start": 4272,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4305,
|
|
"start": 4272,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4419,
|
|
"properties": [
|
|
{
|
|
"end": 4342,
|
|
"key": {
|
|
"end": 4338,
|
|
"name": "angleStart",
|
|
"start": 4328,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4328,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4342,
|
|
"raw": "0",
|
|
"start": 4341,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4368,
|
|
"key": {
|
|
"end": 4361,
|
|
"name": "angleEnd",
|
|
"start": 4353,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4353,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 4368,
|
|
"raw": "180",
|
|
"start": 4365,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4368,
|
|
"operator": "-",
|
|
"start": 4364,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 4410,
|
|
"key": {
|
|
"end": 4385,
|
|
"name": "radius",
|
|
"start": 4379,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4379,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4410,
|
|
"left": {
|
|
"end": 4397,
|
|
"left": {
|
|
"end": 4393,
|
|
"raw": "0.072",
|
|
"start": 4388,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 4397,
|
|
"raw": "4",
|
|
"start": 4396,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4388,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4410,
|
|
"name": "railHeight",
|
|
"start": 4400,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4388,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4317,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4422,
|
|
"start": 4421,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4316,
|
|
"name": "arc",
|
|
"start": 4313,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4423,
|
|
"start": 4313,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4531,
|
|
"properties": [
|
|
{
|
|
"end": 4461,
|
|
"key": {
|
|
"end": 4456,
|
|
"name": "angleStart",
|
|
"start": 4446,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4446,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4461,
|
|
"raw": "90",
|
|
"start": 4459,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4486,
|
|
"key": {
|
|
"end": 4480,
|
|
"name": "angleEnd",
|
|
"start": 4472,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4472,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4486,
|
|
"raw": "180",
|
|
"start": 4483,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4522,
|
|
"key": {
|
|
"end": 4503,
|
|
"name": "radius",
|
|
"start": 4497,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4497,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4522,
|
|
"left": {
|
|
"end": 4509,
|
|
"raw": "0.1",
|
|
"start": 4506,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4522,
|
|
"name": "railHeight",
|
|
"start": 4512,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4506,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4435,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4534,
|
|
"start": 4533,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4434,
|
|
"name": "arc",
|
|
"start": 4431,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4535,
|
|
"start": 4431,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4682,
|
|
"properties": [
|
|
{
|
|
"end": 4606,
|
|
"key": {
|
|
"end": 4601,
|
|
"name": "angleStart",
|
|
"start": 4591,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4591,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4606,
|
|
"raw": "90",
|
|
"start": 4604,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4631,
|
|
"key": {
|
|
"end": 4625,
|
|
"name": "angleEnd",
|
|
"start": 4617,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4617,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 4631,
|
|
"raw": "90",
|
|
"start": 4629,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4631,
|
|
"operator": "-",
|
|
"start": 4628,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 4673,
|
|
"key": {
|
|
"end": 4648,
|
|
"name": "radius",
|
|
"start": 4642,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4642,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4673,
|
|
"left": {
|
|
"end": 4660,
|
|
"left": {
|
|
"end": 4656,
|
|
"raw": "0.072",
|
|
"start": 4651,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 4660,
|
|
"raw": "4",
|
|
"start": 4659,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4651,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4673,
|
|
"name": "railHeight",
|
|
"start": 4663,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4651,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4580,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4685,
|
|
"start": 4684,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4579,
|
|
"name": "arc",
|
|
"start": 4576,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4686,
|
|
"start": 4576,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4706,
|
|
"name": "length",
|
|
"start": 4700,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4726,
|
|
"left": {
|
|
"argument": {
|
|
"end": 4713,
|
|
"raw": "0.1",
|
|
"start": 4710,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4713,
|
|
"operator": "-",
|
|
"start": 4709,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4726,
|
|
"name": "railHeight",
|
|
"start": 4716,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4709,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4699,
|
|
"name": "yLine",
|
|
"start": 4694,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4727,
|
|
"start": 4694,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4841,
|
|
"properties": [
|
|
{
|
|
"end": 4765,
|
|
"key": {
|
|
"end": 4760,
|
|
"name": "angleStart",
|
|
"start": 4750,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4750,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4765,
|
|
"raw": "90",
|
|
"start": 4763,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4790,
|
|
"key": {
|
|
"end": 4784,
|
|
"name": "angleEnd",
|
|
"start": 4776,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4776,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 4790,
|
|
"raw": "90",
|
|
"start": 4788,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4790,
|
|
"operator": "-",
|
|
"start": 4787,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 4832,
|
|
"key": {
|
|
"end": 4807,
|
|
"name": "radius",
|
|
"start": 4801,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4801,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4832,
|
|
"left": {
|
|
"end": 4819,
|
|
"left": {
|
|
"end": 4815,
|
|
"raw": "0.072",
|
|
"start": 4810,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 4819,
|
|
"raw": "4",
|
|
"start": 4818,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4810,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4832,
|
|
"name": "railHeight",
|
|
"start": 4822,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4810,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4739,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4844,
|
|
"start": 4843,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4738,
|
|
"name": "arc",
|
|
"start": 4735,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4845,
|
|
"start": 4735,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4865,
|
|
"name": "length",
|
|
"start": 4859,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4886,
|
|
"left": {
|
|
"argument": {
|
|
"end": 4873,
|
|
"raw": "0.06",
|
|
"start": 4869,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4873,
|
|
"operator": "-",
|
|
"start": 4868,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4886,
|
|
"name": "railHeight",
|
|
"start": 4876,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4868,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4891,
|
|
"name": "tag",
|
|
"start": 4888,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4901,
|
|
"start": 4894,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge25"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4858,
|
|
"name": "yLine",
|
|
"start": 4853,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4902,
|
|
"start": 4853,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4922,
|
|
"name": "length",
|
|
"start": 4916,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4943,
|
|
"left": {
|
|
"end": 4930,
|
|
"raw": "0.087",
|
|
"start": 4925,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4943,
|
|
"name": "railHeight",
|
|
"start": 4933,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4925,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4948,
|
|
"name": "tag",
|
|
"start": 4945,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 4958,
|
|
"start": 4951,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge26"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4915,
|
|
"name": "xLine",
|
|
"start": 4910,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4959,
|
|
"start": 4910,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 4979,
|
|
"name": "length",
|
|
"start": 4973,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5000,
|
|
"left": {
|
|
"end": 4987,
|
|
"raw": "0.183",
|
|
"start": 4982,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5000,
|
|
"name": "railHeight",
|
|
"start": 4990,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4982,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5005,
|
|
"name": "tag",
|
|
"start": 5002,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5015,
|
|
"start": 5008,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge27"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4972,
|
|
"name": "yLine",
|
|
"start": 4967,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5016,
|
|
"start": 4967,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5130,
|
|
"properties": [
|
|
{
|
|
"end": 5060,
|
|
"key": {
|
|
"end": 5054,
|
|
"name": "angle",
|
|
"start": 5049,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5049,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5060,
|
|
"raw": "135",
|
|
"start": 5057,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 135.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 5121,
|
|
"key": {
|
|
"end": 5073,
|
|
"name": "to",
|
|
"start": 5071,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5071,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5121,
|
|
"left": {
|
|
"end": 5104,
|
|
"left": {
|
|
"end": 5091,
|
|
"left": {
|
|
"end": 5086,
|
|
"left": {
|
|
"end": 5078,
|
|
"raw": "1",
|
|
"start": 5077,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 5086,
|
|
"raw": "0.356",
|
|
"start": 5081,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5077,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 5091,
|
|
"raw": "2",
|
|
"start": 5090,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5077,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5104,
|
|
"name": "railHeight",
|
|
"start": 5094,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5077,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 5121,
|
|
"object": {
|
|
"end": 5118,
|
|
"name": "originStart",
|
|
"start": 5107,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 5120,
|
|
"raw": "0",
|
|
"start": 5119,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5107,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 5077,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 5038,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 5133,
|
|
"start": 5132,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 5142,
|
|
"start": 5135,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge28"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5037,
|
|
"name": "angledLineToX",
|
|
"start": 5024,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5143,
|
|
"start": 5024,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5163,
|
|
"name": "length",
|
|
"start": 5157,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5185,
|
|
"left": {
|
|
"argument": {
|
|
"end": 5172,
|
|
"raw": "0.232",
|
|
"start": 5167,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.232,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5172,
|
|
"operator": "-",
|
|
"start": 5166,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5185,
|
|
"name": "railHeight",
|
|
"start": 5175,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5166,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5190,
|
|
"name": "tag",
|
|
"start": 5187,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5200,
|
|
"start": 5193,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge29"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5156,
|
|
"name": "yLine",
|
|
"start": 5151,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5201,
|
|
"start": 5151,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5304,
|
|
"properties": [
|
|
{
|
|
"end": 5244,
|
|
"key": {
|
|
"end": 5239,
|
|
"name": "angle",
|
|
"start": 5234,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5234,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5244,
|
|
"raw": "45",
|
|
"start": 5242,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 5295,
|
|
"key": {
|
|
"end": 5257,
|
|
"name": "to",
|
|
"start": 5255,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5255,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5295,
|
|
"left": {
|
|
"end": 5278,
|
|
"left": {
|
|
"end": 5265,
|
|
"raw": "0.087",
|
|
"start": 5260,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5278,
|
|
"name": "railHeight",
|
|
"start": 5268,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5260,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 5295,
|
|
"object": {
|
|
"end": 5292,
|
|
"name": "originStart",
|
|
"start": 5281,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 5294,
|
|
"raw": "0",
|
|
"start": 5293,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5281,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 5260,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 5223,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 5307,
|
|
"start": 5306,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 5316,
|
|
"start": 5309,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge30"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5222,
|
|
"name": "angledLineToX",
|
|
"start": 5209,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5317,
|
|
"start": 5209,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5337,
|
|
"name": "length",
|
|
"start": 5331,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5358,
|
|
"left": {
|
|
"end": 5345,
|
|
"raw": "0.183",
|
|
"start": 5340,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5358,
|
|
"name": "railHeight",
|
|
"start": 5348,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5340,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5363,
|
|
"name": "tag",
|
|
"start": 5360,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5373,
|
|
"start": 5366,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge31"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5330,
|
|
"name": "yLine",
|
|
"start": 5325,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5374,
|
|
"start": 5325,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5394,
|
|
"name": "length",
|
|
"start": 5388,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5416,
|
|
"left": {
|
|
"argument": {
|
|
"end": 5403,
|
|
"raw": "0.087",
|
|
"start": 5398,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5403,
|
|
"operator": "-",
|
|
"start": 5397,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5416,
|
|
"name": "railHeight",
|
|
"start": 5406,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5397,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5421,
|
|
"name": "tag",
|
|
"start": 5418,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5431,
|
|
"start": 5424,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge32"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5387,
|
|
"name": "xLine",
|
|
"start": 5382,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5432,
|
|
"start": 5382,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5452,
|
|
"name": "length",
|
|
"start": 5446,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5473,
|
|
"left": {
|
|
"argument": {
|
|
"end": 5460,
|
|
"raw": "0.06",
|
|
"start": 5456,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5460,
|
|
"operator": "-",
|
|
"start": 5455,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5473,
|
|
"name": "railHeight",
|
|
"start": 5463,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5455,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5445,
|
|
"name": "yLine",
|
|
"start": 5440,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5474,
|
|
"start": 5440,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5588,
|
|
"properties": [
|
|
{
|
|
"end": 5512,
|
|
"key": {
|
|
"end": 5507,
|
|
"name": "angleStart",
|
|
"start": 5497,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5497,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5512,
|
|
"raw": "90",
|
|
"start": 5510,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 5537,
|
|
"key": {
|
|
"end": 5531,
|
|
"name": "angleEnd",
|
|
"start": 5523,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5523,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 5537,
|
|
"raw": "90",
|
|
"start": 5535,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5537,
|
|
"operator": "-",
|
|
"start": 5534,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 5579,
|
|
"key": {
|
|
"end": 5554,
|
|
"name": "radius",
|
|
"start": 5548,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5548,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5579,
|
|
"left": {
|
|
"end": 5566,
|
|
"left": {
|
|
"end": 5562,
|
|
"raw": "0.072",
|
|
"start": 5557,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 5566,
|
|
"raw": "4",
|
|
"start": 5565,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5557,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5579,
|
|
"name": "railHeight",
|
|
"start": 5569,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5557,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 5486,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 5591,
|
|
"start": 5590,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5485,
|
|
"name": "arc",
|
|
"start": 5482,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5592,
|
|
"start": 5482,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5612,
|
|
"name": "length",
|
|
"start": 5606,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5632,
|
|
"left": {
|
|
"argument": {
|
|
"end": 5619,
|
|
"raw": "0.1",
|
|
"start": 5616,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5619,
|
|
"operator": "-",
|
|
"start": 5615,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5632,
|
|
"name": "railHeight",
|
|
"start": 5622,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5615,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5605,
|
|
"name": "yLine",
|
|
"start": 5600,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5633,
|
|
"start": 5600,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5747,
|
|
"properties": [
|
|
{
|
|
"end": 5671,
|
|
"key": {
|
|
"end": 5666,
|
|
"name": "angleStart",
|
|
"start": 5656,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5656,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5671,
|
|
"raw": "90",
|
|
"start": 5669,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 5696,
|
|
"key": {
|
|
"end": 5690,
|
|
"name": "angleEnd",
|
|
"start": 5682,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5682,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 5696,
|
|
"raw": "90",
|
|
"start": 5694,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5696,
|
|
"operator": "-",
|
|
"start": 5693,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 5738,
|
|
"key": {
|
|
"end": 5713,
|
|
"name": "radius",
|
|
"start": 5707,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5707,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5738,
|
|
"left": {
|
|
"end": 5725,
|
|
"left": {
|
|
"end": 5721,
|
|
"raw": "0.072",
|
|
"start": 5716,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 5725,
|
|
"raw": "4",
|
|
"start": 5724,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5716,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5738,
|
|
"name": "railHeight",
|
|
"start": 5728,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5716,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 5645,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 5750,
|
|
"start": 5749,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5644,
|
|
"name": "arc",
|
|
"start": 5641,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5751,
|
|
"start": 5641,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [],
|
|
"callee": {
|
|
"end": 5764,
|
|
"name": "close",
|
|
"start": 5759,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5766,
|
|
"start": 5759,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5840,
|
|
"name": "center",
|
|
"start": 5834,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 5888,
|
|
"left": {
|
|
"end": 5871,
|
|
"left": {
|
|
"end": 5858,
|
|
"raw": ".5",
|
|
"start": 5856,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.5,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5871,
|
|
"name": "railHeight",
|
|
"start": 5861,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5856,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 5888,
|
|
"object": {
|
|
"end": 5885,
|
|
"name": "originStart",
|
|
"start": 5874,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 5887,
|
|
"raw": "0",
|
|
"start": 5886,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5874,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 5856,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 5933,
|
|
"left": {
|
|
"end": 5916,
|
|
"left": {
|
|
"end": 5903,
|
|
"raw": ".5",
|
|
"start": 5901,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.5,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5916,
|
|
"name": "railHeight",
|
|
"start": 5906,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5901,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 5933,
|
|
"object": {
|
|
"end": 5930,
|
|
"name": "originStart",
|
|
"start": 5919,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 5932,
|
|
"raw": "1",
|
|
"start": 5931,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5919,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 5901,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 5944,
|
|
"start": 5843,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5961,
|
|
"name": "radius",
|
|
"start": 5955,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5985,
|
|
"left": {
|
|
"end": 5981,
|
|
"left": {
|
|
"end": 5968,
|
|
"raw": ".205",
|
|
"start": 5964,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.205,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5981,
|
|
"name": "railHeight",
|
|
"start": 5971,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5964,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 5985,
|
|
"raw": "2",
|
|
"start": 5984,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5964,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5823,
|
|
"name": "circle",
|
|
"start": 5817,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5994,
|
|
"start": 5817,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"end": 5997,
|
|
"start": 5996,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5816,
|
|
"name": "hole",
|
|
"start": 5812,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5998,
|
|
"start": 5812,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 6020,
|
|
"name": "length",
|
|
"start": 6014,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 6033,
|
|
"name": "railLength",
|
|
"start": 6023,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6013,
|
|
"name": "extrude",
|
|
"start": 6006,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6034,
|
|
"start": 6006,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 6065,
|
|
"name": "radius",
|
|
"start": 6059,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 6072,
|
|
"raw": "0.06",
|
|
"start": 6068,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 6087,
|
|
"name": "tags",
|
|
"start": 6083,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6128,
|
|
"name": "edge3",
|
|
"start": 6123,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6122,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6103,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6129,
|
|
"start": 6103,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6167,
|
|
"name": "edge4",
|
|
"start": 6162,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6161,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6142,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6168,
|
|
"start": 6142,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6206,
|
|
"name": "edge5",
|
|
"start": 6201,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6200,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6181,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6207,
|
|
"start": 6181,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6245,
|
|
"name": "edge6",
|
|
"start": 6240,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6239,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6220,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6246,
|
|
"start": 6220,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6285,
|
|
"name": "edge11",
|
|
"start": 6279,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6278,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6259,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6286,
|
|
"start": 6259,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6325,
|
|
"name": "edge12",
|
|
"start": 6319,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6318,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6299,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6326,
|
|
"start": 6299,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6365,
|
|
"name": "edge13",
|
|
"start": 6359,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6358,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6339,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6366,
|
|
"start": 6339,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6405,
|
|
"name": "edge14",
|
|
"start": 6399,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6398,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6379,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6406,
|
|
"start": 6379,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6445,
|
|
"name": "edge19",
|
|
"start": 6439,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6438,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6419,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6446,
|
|
"start": 6419,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6485,
|
|
"name": "edge20",
|
|
"start": 6479,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6478,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6459,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6486,
|
|
"start": 6459,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6525,
|
|
"name": "edge21",
|
|
"start": 6519,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6518,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6499,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6526,
|
|
"start": 6499,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6565,
|
|
"name": "edge22",
|
|
"start": 6559,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6558,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6539,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6566,
|
|
"start": 6539,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6605,
|
|
"name": "edge27",
|
|
"start": 6599,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6598,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6579,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6606,
|
|
"start": 6579,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6645,
|
|
"name": "edge28",
|
|
"start": 6639,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6638,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6619,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6646,
|
|
"start": 6619,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6685,
|
|
"name": "edge29",
|
|
"start": 6679,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6678,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6659,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6686,
|
|
"start": 6659,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6725,
|
|
"name": "edge30",
|
|
"start": 6719,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6718,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6699,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6726,
|
|
"start": 6699,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 6737,
|
|
"start": 6090,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6048,
|
|
"name": "fillet",
|
|
"start": 6042,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6746,
|
|
"start": 6042,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 6777,
|
|
"name": "radius",
|
|
"start": 6771,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 6784,
|
|
"raw": "0.03",
|
|
"start": 6780,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.03,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 6799,
|
|
"name": "tags",
|
|
"start": 6795,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6840,
|
|
"name": "edge1",
|
|
"start": 6835,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6834,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6815,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6841,
|
|
"start": 6815,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6879,
|
|
"name": "edge2",
|
|
"start": 6874,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6873,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6854,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6880,
|
|
"start": 6854,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6918,
|
|
"name": "edge7",
|
|
"start": 6913,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6912,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6893,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6919,
|
|
"start": 6893,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6957,
|
|
"name": "edge8",
|
|
"start": 6952,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6951,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6932,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6958,
|
|
"start": 6932,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6996,
|
|
"name": "edge9",
|
|
"start": 6991,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6990,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6971,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6997,
|
|
"start": 6971,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7036,
|
|
"name": "edge10",
|
|
"start": 7030,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7029,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7010,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7037,
|
|
"start": 7010,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7076,
|
|
"name": "edge15",
|
|
"start": 7070,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7069,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7050,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7077,
|
|
"start": 7050,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7116,
|
|
"name": "edge16",
|
|
"start": 7110,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7109,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7090,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7117,
|
|
"start": 7090,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7156,
|
|
"name": "edge17",
|
|
"start": 7150,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7149,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7130,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7157,
|
|
"start": 7130,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7196,
|
|
"name": "edge18",
|
|
"start": 7190,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7189,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7170,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7197,
|
|
"start": 7170,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7236,
|
|
"name": "edge23",
|
|
"start": 7230,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7229,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7210,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7237,
|
|
"start": 7210,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7276,
|
|
"name": "edge24",
|
|
"start": 7270,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7269,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7250,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7277,
|
|
"start": 7250,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7316,
|
|
"name": "edge25",
|
|
"start": 7310,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7309,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7290,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7317,
|
|
"start": 7290,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7356,
|
|
"name": "edge26",
|
|
"start": 7350,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7349,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7330,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7357,
|
|
"start": 7330,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7396,
|
|
"name": "edge31",
|
|
"start": 7390,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7389,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7370,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7397,
|
|
"start": 7370,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7436,
|
|
"name": "edge32",
|
|
"start": 7430,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7429,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7410,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7437,
|
|
"start": 7410,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 7448,
|
|
"start": 6802,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6760,
|
|
"name": "fillet",
|
|
"start": 6754,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7457,
|
|
"start": 6754,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 7457,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"18": [
|
|
{
|
|
"end": 1848,
|
|
"start": 1819,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "Sketch side 2 of profile",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"24": [
|
|
{
|
|
"end": 2305,
|
|
"start": 2295,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "inlineComment",
|
|
"value": "edge11",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"25": [
|
|
{
|
|
"end": 2452,
|
|
"start": 2442,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "inlineComment",
|
|
"value": "edge12",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"26": [
|
|
{
|
|
"end": 2515,
|
|
"start": 2509,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "inlineComment",
|
|
"value": "13",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"27": [
|
|
{
|
|
"end": 2643,
|
|
"start": 2637,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "inlineComment",
|
|
"value": "14",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"28": [
|
|
{
|
|
"end": 2707,
|
|
"start": 2701,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "inlineComment",
|
|
"value": "15",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"33": [
|
|
{
|
|
"end": 3114,
|
|
"start": 3085,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "Sketch side 3 of profile",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"50": [
|
|
{
|
|
"end": 4568,
|
|
"start": 4539,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "Sketch side 4 of profile",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"66": [
|
|
{
|
|
"end": 5804,
|
|
"start": 5770,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "Sketch center hole of profile",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": []
|
|
},
|
|
"start": 298,
|
|
"type": "PipeExpression",
|
|
"type": "PipeExpression"
|
|
},
|
|
"start": 286,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 7457,
|
|
"kind": "const",
|
|
"start": 286,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"argument": {
|
|
"end": 7476,
|
|
"name": "sketch001",
|
|
"start": 7467,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7476,
|
|
"start": 7460,
|
|
"type": "ReturnStatement",
|
|
"type": "ReturnStatement"
|
|
}
|
|
],
|
|
"end": 7478,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {},
|
|
"startNodes": [
|
|
{
|
|
"end": 284,
|
|
"start": 253,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "blockComment",
|
|
"value": "Sketch side 1 of profile",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"start": 253
|
|
},
|
|
"end": 7478,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"identifier": {
|
|
"end": 226,
|
|
"name": "originStart",
|
|
"start": 215,
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"identifier": {
|
|
"end": 238,
|
|
"name": "railHeight",
|
|
"start": 228,
|
|
"type": "Identifier"
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"identifier": {
|
|
"end": 250,
|
|
"name": "railLength",
|
|
"start": 240,
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 214,
|
|
"type": "FunctionExpression",
|
|
"type": "FunctionExpression"
|
|
},
|
|
"start": 206,
|
|
"type": "VariableDeclarator"
|
|
},
|
|
"end": 7478,
|
|
"kind": "fn",
|
|
"start": 203,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"end": 7546,
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"end": 7532,
|
|
"raw": "0",
|
|
"start": 7531,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7535,
|
|
"raw": "0",
|
|
"start": 7534,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7536,
|
|
"start": 7530,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
},
|
|
{
|
|
"end": 7541,
|
|
"raw": "1.5",
|
|
"start": 7538,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.5,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7545,
|
|
"raw": "48",
|
|
"start": 7543,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 48.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7529,
|
|
"name": "rail8020",
|
|
"start": 7521,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7546,
|
|
"start": 7521,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
"start": 7521,
|
|
"type": "ExpressionStatement",
|
|
"type": "ExpressionStatement"
|
|
}
|
|
],
|
|
"end": 7547,
|
|
"innerAttrs": [
|
|
{
|
|
"end": 182,
|
|
"name": {
|
|
"end": 158,
|
|
"name": "settings",
|
|
"start": 150,
|
|
"type": "Identifier"
|
|
},
|
|
"properties": [
|
|
{
|
|
"end": 181,
|
|
"key": {
|
|
"end": 176,
|
|
"name": "defaultLengthUnit",
|
|
"start": 159,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 159,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 181,
|
|
"name": "in",
|
|
"start": 179,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"start": 149,
|
|
"type": "Annotation"
|
|
}
|
|
],
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"0": [
|
|
{
|
|
"end": 7520,
|
|
"start": 7478,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "Generate one adjustable rail of 80/20",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"startNodes": [
|
|
{
|
|
"end": 13,
|
|
"start": 0,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "blockComment",
|
|
"value": "80/20 Rail",
|
|
"style": "line"
|
|
}
|
|
},
|
|
{
|
|
"end": 134,
|
|
"start": 14,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "blockComment",
|
|
"value": "An 80/20 extruded aluminum linear rail. T-slot profile adjustable by profile height, rail length, and origin position",
|
|
"style": "line"
|
|
}
|
|
},
|
|
{
|
|
"end": 136,
|
|
"start": 134,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
},
|
|
{
|
|
"end": 148,
|
|
"start": 136,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "blockComment",
|
|
"value": "Set units",
|
|
"style": "line"
|
|
}
|
|
},
|
|
{
|
|
"end": 184,
|
|
"start": 182,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLine"
|
|
}
|
|
},
|
|
{
|
|
"end": 202,
|
|
"start": 184,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "blockComment",
|
|
"value": "Define function",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"start": 0
|
|
}
|
|
}
|