* Change to unzip * Download kcl-samples as zip to public dir * Fix fetch:samples, e2e electron still not working * Change error message to be clearer * Refactor so that input and output directories of sim tests can be different * Add kcl samples test implementation * Update output since adding kcl_samples tests * Update kcl-samples branch * Fix git-ignore pattern to only apply to the root * Fix yarn install and yarn fetch:samples to work the first time * Remove unneeded exists check * Change to use kcl-samples in public directory * Add kcl-samples * Update output since updating kcl-samples * Update output files * Change to not fetch samples during yarn install * Update output after merge * Ignore kcl-samples in codespell * WIP: Don't run e2e if only kcl-samples changed * Conditionally run cargo tests * Fix to round floating point values in program memory arrays * Update output since merge and rounding numbers in memory * Fix memory redaction for floating point to find more values * Fix float redaction pattern * Update output since rounding floating point numbers * Add center to floating point pattern * Fix trigger to use picomatch syntax * Update output since rounding center * Remove kcl-samples github workflows * Enable Rust backtrace * Update output after re-running * Update output after changing order of post-extrude commands * Fix to have deterministic order of commands * Update output after reverting ordering changes * Update kcl-samples * Update output after updating samples * Fix error messages to show the names of all samples that failed * Change cargo test command to match current one * Update kcl-samples * Update output since updating kcl-samples * Add generate manifest workflow and yarn script * Fix error check to actually work * Change util function to be what we actually need * Move new files after merge * Fix paths since directory move * Add dependabot updates for kcl-samples * Add GitHub workflow to make PR to kcl-samples repo * Add GitHub workflow to check kcl-samples header comments * Fix worfklow to change to the right directory * Add auto-commit simulation test output changes * Add permissions to workflows * Fix to run git commit step * Install just if needed * Fix directory of justfile * Add installation of cargo-insta * Fix to use underscore * Fix to allow just command failure * Change to always install CLI tools and cache them * Trying to fix overwrite failing * Combine commands * Change reviewer * Change to PR targeting the next branch * Change git commands to not do unnecessary fetch * Comment out trigger for creating a PR * Update kcl-samples from next branch * Update outputs after kcl-samples change * Fix to use bash pipefail * Add rust backtrace * Print full env from sim tests * Change command to use long option name * Fix to use ci profile even when calling through just * Add INSTA_UPDATE=always * Fix git push by using an app token on checkout * Add comments * Fix to use bash options * Change to echo when no changes are found * Fix so that kcl-samples updates don't trigger full run * Fix paths to reflect new crate location * Fix path detection * Fix e2e job to ignore kcl_samples simulation test output * Fix the fetch logic for the KCL samples after vendoring (#5661) Fixes the last 2 E2E tests for #5460. --------- Co-authored-by: Pierre Jacquier <pierre@zoo.dev> Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com> Co-authored-by: Frank Noirot <frank@zoo.dev>
7236 lines
328 KiB
Plaintext
7236 lines
328 KiB
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Result of parsing 80-20-rail.kcl
|
|
---
|
|
{
|
|
"Ok": {
|
|
"body": [
|
|
{
|
|
"declaration": {
|
|
"end": 7118,
|
|
"id": {
|
|
"end": 214,
|
|
"name": "rail8020",
|
|
"start": 206,
|
|
"type": "Identifier"
|
|
},
|
|
"init": {
|
|
"body": {
|
|
"body": [
|
|
{
|
|
"declaration": {
|
|
"end": 7097,
|
|
"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": [
|
|
{
|
|
"end": 683,
|
|
"left": {
|
|
"end": 670,
|
|
"raw": "0.1",
|
|
"start": 667,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 683,
|
|
"name": "railHeight",
|
|
"start": 673,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 667,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 686,
|
|
"start": 685,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 666,
|
|
"name": "xLine",
|
|
"start": 661,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 687,
|
|
"start": 661,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 800,
|
|
"properties": [
|
|
{
|
|
"end": 726,
|
|
"key": {
|
|
"end": 720,
|
|
"name": "angleStart",
|
|
"start": 710,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 710,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 726,
|
|
"raw": "180",
|
|
"start": 723,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 749,
|
|
"key": {
|
|
"end": 745,
|
|
"name": "angleEnd",
|
|
"start": 737,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 737,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 749,
|
|
"raw": "0",
|
|
"start": 748,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 791,
|
|
"key": {
|
|
"end": 766,
|
|
"name": "radius",
|
|
"start": 760,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 760,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 791,
|
|
"left": {
|
|
"end": 778,
|
|
"left": {
|
|
"end": 774,
|
|
"raw": "0.072",
|
|
"start": 769,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 778,
|
|
"raw": "4",
|
|
"start": 777,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 769,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 791,
|
|
"name": "railHeight",
|
|
"start": 781,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 769,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 699,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 803,
|
|
"start": 802,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 698,
|
|
"name": "arc",
|
|
"start": 695,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 804,
|
|
"start": 695,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 835,
|
|
"left": {
|
|
"end": 822,
|
|
"raw": "0.06",
|
|
"start": 818,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 835,
|
|
"name": "railHeight",
|
|
"start": 825,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 818,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 838,
|
|
"start": 837,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 846,
|
|
"start": 840,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge1"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 817,
|
|
"name": "xLine",
|
|
"start": 812,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 847,
|
|
"start": 812,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 879,
|
|
"left": {
|
|
"end": 866,
|
|
"raw": "0.087",
|
|
"start": 861,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 879,
|
|
"name": "railHeight",
|
|
"start": 869,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 861,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 882,
|
|
"start": 881,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 890,
|
|
"start": 884,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge2"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 860,
|
|
"name": "yLine",
|
|
"start": 855,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 891,
|
|
"start": 855,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 924,
|
|
"left": {
|
|
"argument": {
|
|
"end": 911,
|
|
"raw": "0.183",
|
|
"start": 906,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 911,
|
|
"operator": "-",
|
|
"start": 905,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 924,
|
|
"name": "railHeight",
|
|
"start": 914,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 905,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 927,
|
|
"start": 926,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 935,
|
|
"start": 929,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge3"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 904,
|
|
"name": "xLine",
|
|
"start": 899,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 936,
|
|
"start": 899,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1049,
|
|
"properties": [
|
|
{
|
|
"end": 979,
|
|
"key": {
|
|
"end": 974,
|
|
"name": "angle",
|
|
"start": 969,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 969,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 979,
|
|
"raw": "45",
|
|
"start": 977,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1040,
|
|
"key": {
|
|
"end": 992,
|
|
"name": "to",
|
|
"start": 990,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 990,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1040,
|
|
"left": {
|
|
"end": 1023,
|
|
"left": {
|
|
"end": 1010,
|
|
"left": {
|
|
"end": 1005,
|
|
"left": {
|
|
"end": 997,
|
|
"raw": "1",
|
|
"start": 996,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 1005,
|
|
"raw": "0.356",
|
|
"start": 1000,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 996,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 1010,
|
|
"raw": "2",
|
|
"start": 1009,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 996,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1023,
|
|
"name": "railHeight",
|
|
"start": 1013,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 996,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 1040,
|
|
"object": {
|
|
"end": 1037,
|
|
"name": "originStart",
|
|
"start": 1026,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 1039,
|
|
"raw": "1",
|
|
"start": 1038,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1026,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 996,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 958,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1052,
|
|
"start": 1051,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 1060,
|
|
"start": 1054,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge4"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 957,
|
|
"name": "angledLineToY",
|
|
"start": 944,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1061,
|
|
"start": 944,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1093,
|
|
"left": {
|
|
"end": 1080,
|
|
"raw": "0.232",
|
|
"start": 1075,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.232,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1093,
|
|
"name": "railHeight",
|
|
"start": 1083,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1075,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 1096,
|
|
"start": 1095,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 1104,
|
|
"start": 1098,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge5"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1074,
|
|
"name": "xLine",
|
|
"start": 1069,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1105,
|
|
"start": 1069,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1209,
|
|
"properties": [
|
|
{
|
|
"end": 1149,
|
|
"key": {
|
|
"end": 1143,
|
|
"name": "angle",
|
|
"start": 1138,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1138,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 1149,
|
|
"raw": "45",
|
|
"start": 1147,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 1149,
|
|
"operator": "-",
|
|
"start": 1146,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 1200,
|
|
"key": {
|
|
"end": 1162,
|
|
"name": "to",
|
|
"start": 1160,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1160,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1200,
|
|
"left": {
|
|
"end": 1183,
|
|
"left": {
|
|
"end": 1170,
|
|
"raw": "0.087",
|
|
"start": 1165,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1183,
|
|
"name": "railHeight",
|
|
"start": 1173,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1165,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 1200,
|
|
"object": {
|
|
"end": 1197,
|
|
"name": "originStart",
|
|
"start": 1186,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 1199,
|
|
"raw": "1",
|
|
"start": 1198,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1186,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 1165,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1127,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1212,
|
|
"start": 1211,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 1220,
|
|
"start": 1214,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge6"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1126,
|
|
"name": "angledLineToY",
|
|
"start": 1113,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1221,
|
|
"start": 1113,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1254,
|
|
"left": {
|
|
"argument": {
|
|
"end": 1241,
|
|
"raw": "0.183",
|
|
"start": 1236,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 1241,
|
|
"operator": "-",
|
|
"start": 1235,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1254,
|
|
"name": "railHeight",
|
|
"start": 1244,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1235,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 1257,
|
|
"start": 1256,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 1265,
|
|
"start": 1259,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge7"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1234,
|
|
"name": "xLine",
|
|
"start": 1229,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1266,
|
|
"start": 1229,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1299,
|
|
"left": {
|
|
"argument": {
|
|
"end": 1286,
|
|
"raw": "0.087",
|
|
"start": 1281,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 1286,
|
|
"operator": "-",
|
|
"start": 1280,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1299,
|
|
"name": "railHeight",
|
|
"start": 1289,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1280,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 1302,
|
|
"start": 1301,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 1310,
|
|
"start": 1304,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge8"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1279,
|
|
"name": "yLine",
|
|
"start": 1274,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1311,
|
|
"start": 1274,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1342,
|
|
"left": {
|
|
"end": 1329,
|
|
"raw": "0.06",
|
|
"start": 1325,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1342,
|
|
"name": "railHeight",
|
|
"start": 1332,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1325,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 1345,
|
|
"start": 1344,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1324,
|
|
"name": "xLine",
|
|
"start": 1319,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1346,
|
|
"start": 1319,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1459,
|
|
"properties": [
|
|
{
|
|
"end": 1385,
|
|
"key": {
|
|
"end": 1379,
|
|
"name": "angleStart",
|
|
"start": 1369,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1369,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1385,
|
|
"raw": "180",
|
|
"start": 1382,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1408,
|
|
"key": {
|
|
"end": 1404,
|
|
"name": "angleEnd",
|
|
"start": 1396,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1396,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1408,
|
|
"raw": "0",
|
|
"start": 1407,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1450,
|
|
"key": {
|
|
"end": 1425,
|
|
"name": "radius",
|
|
"start": 1419,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1419,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1450,
|
|
"left": {
|
|
"end": 1437,
|
|
"left": {
|
|
"end": 1433,
|
|
"raw": "0.072",
|
|
"start": 1428,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 1437,
|
|
"raw": "4",
|
|
"start": 1436,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1428,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1450,
|
|
"name": "railHeight",
|
|
"start": 1440,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1428,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1358,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1462,
|
|
"start": 1461,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1357,
|
|
"name": "arc",
|
|
"start": 1354,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1463,
|
|
"start": 1354,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1493,
|
|
"left": {
|
|
"end": 1480,
|
|
"raw": "0.1",
|
|
"start": 1477,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1493,
|
|
"name": "railHeight",
|
|
"start": 1483,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1477,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 1496,
|
|
"start": 1495,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1476,
|
|
"name": "xLine",
|
|
"start": 1471,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1497,
|
|
"start": 1471,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1610,
|
|
"properties": [
|
|
{
|
|
"end": 1536,
|
|
"key": {
|
|
"end": 1530,
|
|
"name": "angleStart",
|
|
"start": 1520,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1520,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1536,
|
|
"raw": "180",
|
|
"start": 1533,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1559,
|
|
"key": {
|
|
"end": 1555,
|
|
"name": "angleEnd",
|
|
"start": 1547,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1547,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1559,
|
|
"raw": "0",
|
|
"start": 1558,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1601,
|
|
"key": {
|
|
"end": 1576,
|
|
"name": "radius",
|
|
"start": 1570,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1570,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1601,
|
|
"left": {
|
|
"end": 1588,
|
|
"left": {
|
|
"end": 1584,
|
|
"raw": "0.072",
|
|
"start": 1579,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 1588,
|
|
"raw": "4",
|
|
"start": 1587,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1579,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1601,
|
|
"name": "railHeight",
|
|
"start": 1591,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1579,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1509,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1613,
|
|
"start": 1612,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1508,
|
|
"name": "arc",
|
|
"start": 1505,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1614,
|
|
"start": 1505,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1721,
|
|
"properties": [
|
|
{
|
|
"end": 1653,
|
|
"key": {
|
|
"end": 1647,
|
|
"name": "angleStart",
|
|
"start": 1637,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1637,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 1653,
|
|
"raw": "90",
|
|
"start": 1651,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 1653,
|
|
"operator": "-",
|
|
"start": 1650,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 1676,
|
|
"key": {
|
|
"end": 1672,
|
|
"name": "angleEnd",
|
|
"start": 1664,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1664,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1676,
|
|
"raw": "0",
|
|
"start": 1675,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1712,
|
|
"key": {
|
|
"end": 1693,
|
|
"name": "radius",
|
|
"start": 1687,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1687,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1712,
|
|
"left": {
|
|
"end": 1699,
|
|
"raw": "0.1",
|
|
"start": 1696,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1712,
|
|
"name": "railHeight",
|
|
"start": 1702,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1696,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1626,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1724,
|
|
"start": 1723,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1625,
|
|
"name": "arc",
|
|
"start": 1622,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1725,
|
|
"start": 1622,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1872,
|
|
"properties": [
|
|
{
|
|
"end": 1797,
|
|
"key": {
|
|
"end": 1791,
|
|
"name": "angleStart",
|
|
"start": 1781,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1781,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1797,
|
|
"raw": "270",
|
|
"start": 1794,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 270.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1821,
|
|
"key": {
|
|
"end": 1816,
|
|
"name": "angleEnd",
|
|
"start": 1808,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1808,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1821,
|
|
"raw": "90",
|
|
"start": 1819,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1863,
|
|
"key": {
|
|
"end": 1838,
|
|
"name": "radius",
|
|
"start": 1832,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1832,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1863,
|
|
"left": {
|
|
"end": 1850,
|
|
"left": {
|
|
"end": 1846,
|
|
"raw": "0.072",
|
|
"start": 1841,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 1850,
|
|
"raw": "4",
|
|
"start": 1849,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1841,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1863,
|
|
"name": "railHeight",
|
|
"start": 1853,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1841,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1770,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 1875,
|
|
"start": 1874,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1769,
|
|
"name": "arc",
|
|
"start": 1766,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1876,
|
|
"start": 1766,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 1906,
|
|
"left": {
|
|
"end": 1893,
|
|
"raw": "0.1",
|
|
"start": 1890,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 1906,
|
|
"name": "railHeight",
|
|
"start": 1896,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1890,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 1909,
|
|
"start": 1908,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1889,
|
|
"name": "yLine",
|
|
"start": 1884,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 1910,
|
|
"start": 1884,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2024,
|
|
"properties": [
|
|
{
|
|
"end": 1949,
|
|
"key": {
|
|
"end": 1943,
|
|
"name": "angleStart",
|
|
"start": 1933,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1933,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1949,
|
|
"raw": "270",
|
|
"start": 1946,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 270.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 1973,
|
|
"key": {
|
|
"end": 1968,
|
|
"name": "angleEnd",
|
|
"start": 1960,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1960,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 1973,
|
|
"raw": "90",
|
|
"start": 1971,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2015,
|
|
"key": {
|
|
"end": 1990,
|
|
"name": "radius",
|
|
"start": 1984,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1984,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2015,
|
|
"left": {
|
|
"end": 2002,
|
|
"left": {
|
|
"end": 1998,
|
|
"raw": "0.072",
|
|
"start": 1993,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2002,
|
|
"raw": "4",
|
|
"start": 2001,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 1993,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2015,
|
|
"name": "railHeight",
|
|
"start": 2005,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 1993,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 1922,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 2027,
|
|
"start": 2026,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 1921,
|
|
"name": "arc",
|
|
"start": 1918,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2028,
|
|
"start": 1918,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2059,
|
|
"left": {
|
|
"end": 2046,
|
|
"raw": "0.06",
|
|
"start": 2042,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2059,
|
|
"name": "railHeight",
|
|
"start": 2049,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2042,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2062,
|
|
"start": 2061,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 2070,
|
|
"start": 2064,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge9"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2041,
|
|
"name": "yLine",
|
|
"start": 2036,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2071,
|
|
"start": 2036,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2104,
|
|
"left": {
|
|
"argument": {
|
|
"end": 2091,
|
|
"raw": "0.087",
|
|
"start": 2086,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 2091,
|
|
"operator": "-",
|
|
"start": 2085,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2104,
|
|
"name": "railHeight",
|
|
"start": 2094,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2085,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2107,
|
|
"start": 2106,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 2116,
|
|
"start": 2109,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge10"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2084,
|
|
"name": "xLine",
|
|
"start": 2079,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2117,
|
|
"start": 2079,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2150,
|
|
"left": {
|
|
"argument": {
|
|
"end": 2137,
|
|
"raw": "0.183",
|
|
"start": 2132,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 2137,
|
|
"operator": "-",
|
|
"start": 2131,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2150,
|
|
"name": "railHeight",
|
|
"start": 2140,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2131,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2153,
|
|
"start": 2152,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 2162,
|
|
"start": 2155,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge11"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2130,
|
|
"name": "yLine",
|
|
"start": 2125,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2163,
|
|
"start": 2125,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2297,
|
|
"properties": [
|
|
{
|
|
"end": 2217,
|
|
"key": {
|
|
"end": 2211,
|
|
"name": "angle",
|
|
"start": 2206,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2206,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2217,
|
|
"raw": "135",
|
|
"start": 2214,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 135.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2288,
|
|
"key": {
|
|
"end": 2230,
|
|
"name": "to",
|
|
"start": 2228,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2228,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2288,
|
|
"left": {
|
|
"end": 2271,
|
|
"left": {
|
|
"end": 2257,
|
|
"left": {
|
|
"end": 2249,
|
|
"left": {
|
|
"end": 2244,
|
|
"left": {
|
|
"end": 2236,
|
|
"raw": "1",
|
|
"start": 2235,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 2244,
|
|
"raw": "0.356",
|
|
"start": 2239,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2235,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2249,
|
|
"raw": "2",
|
|
"start": 2248,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2235,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 2257,
|
|
"raw": "0.356",
|
|
"start": 2252,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2235,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2271,
|
|
"name": "railHeight",
|
|
"start": 2261,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2235,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 2288,
|
|
"object": {
|
|
"end": 2285,
|
|
"name": "originStart",
|
|
"start": 2274,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 2287,
|
|
"raw": "0",
|
|
"start": 2286,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2274,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 2235,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 2195,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 2300,
|
|
"start": 2299,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 2309,
|
|
"start": 2302,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge12"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2194,
|
|
"name": "angledLineToX",
|
|
"start": 2181,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2310,
|
|
"start": 2181,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2352,
|
|
"left": {
|
|
"end": 2339,
|
|
"raw": "0.232",
|
|
"start": 2334,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.232,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2352,
|
|
"name": "railHeight",
|
|
"start": 2342,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2334,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2355,
|
|
"start": 2354,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 2364,
|
|
"start": 2357,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge13"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2333,
|
|
"name": "yLine",
|
|
"start": 2328,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2365,
|
|
"start": 2328,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2480,
|
|
"properties": [
|
|
{
|
|
"end": 2414,
|
|
"key": {
|
|
"end": 2409,
|
|
"name": "angle",
|
|
"start": 2404,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2404,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2414,
|
|
"raw": "45",
|
|
"start": 2412,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2471,
|
|
"key": {
|
|
"end": 2427,
|
|
"name": "to",
|
|
"start": 2425,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2425,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2471,
|
|
"left": {
|
|
"end": 2454,
|
|
"left": {
|
|
"end": 2440,
|
|
"left": {
|
|
"end": 2432,
|
|
"raw": "1",
|
|
"start": 2431,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 2440,
|
|
"raw": "0.087",
|
|
"start": 2435,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2431,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2454,
|
|
"name": "railHeight",
|
|
"start": 2444,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2431,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 2471,
|
|
"object": {
|
|
"end": 2468,
|
|
"name": "originStart",
|
|
"start": 2457,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 2470,
|
|
"raw": "0",
|
|
"start": 2469,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2457,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 2431,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 2393,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 2483,
|
|
"start": 2482,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 2492,
|
|
"start": 2485,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge14"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2392,
|
|
"name": "angledLineToX",
|
|
"start": 2379,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2493,
|
|
"start": 2379,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2532,
|
|
"left": {
|
|
"argument": {
|
|
"end": 2519,
|
|
"raw": "0.183",
|
|
"start": 2514,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 2519,
|
|
"operator": "-",
|
|
"start": 2513,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2532,
|
|
"name": "railHeight",
|
|
"start": 2522,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2513,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2535,
|
|
"start": 2534,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 2544,
|
|
"start": 2537,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge15"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2512,
|
|
"name": "yLine",
|
|
"start": 2507,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2545,
|
|
"start": 2507,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2583,
|
|
"left": {
|
|
"end": 2570,
|
|
"raw": "0.087",
|
|
"start": 2565,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2583,
|
|
"name": "railHeight",
|
|
"start": 2573,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2565,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2586,
|
|
"start": 2585,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 2595,
|
|
"start": 2588,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge16"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2564,
|
|
"name": "xLine",
|
|
"start": 2559,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2596,
|
|
"start": 2559,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2627,
|
|
"left": {
|
|
"end": 2614,
|
|
"raw": "0.06",
|
|
"start": 2610,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2627,
|
|
"name": "railHeight",
|
|
"start": 2617,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2610,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2630,
|
|
"start": 2629,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2609,
|
|
"name": "yLine",
|
|
"start": 2604,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2631,
|
|
"start": 2604,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2745,
|
|
"properties": [
|
|
{
|
|
"end": 2670,
|
|
"key": {
|
|
"end": 2664,
|
|
"name": "angleStart",
|
|
"start": 2654,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2654,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2670,
|
|
"raw": "270",
|
|
"start": 2667,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 270.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2694,
|
|
"key": {
|
|
"end": 2689,
|
|
"name": "angleEnd",
|
|
"start": 2681,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2681,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2694,
|
|
"raw": "90",
|
|
"start": 2692,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2736,
|
|
"key": {
|
|
"end": 2711,
|
|
"name": "radius",
|
|
"start": 2705,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2705,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2736,
|
|
"left": {
|
|
"end": 2723,
|
|
"left": {
|
|
"end": 2719,
|
|
"raw": "0.072",
|
|
"start": 2714,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2723,
|
|
"raw": "4",
|
|
"start": 2722,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2714,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2736,
|
|
"name": "railHeight",
|
|
"start": 2726,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2714,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 2643,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 2748,
|
|
"start": 2747,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2642,
|
|
"name": "arc",
|
|
"start": 2639,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2749,
|
|
"start": 2639,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2779,
|
|
"left": {
|
|
"end": 2766,
|
|
"raw": "0.1",
|
|
"start": 2763,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2779,
|
|
"name": "railHeight",
|
|
"start": 2769,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2763,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 2782,
|
|
"start": 2781,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2762,
|
|
"name": "yLine",
|
|
"start": 2757,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2783,
|
|
"start": 2757,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 2897,
|
|
"properties": [
|
|
{
|
|
"end": 2822,
|
|
"key": {
|
|
"end": 2816,
|
|
"name": "angleStart",
|
|
"start": 2806,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2806,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2822,
|
|
"raw": "270",
|
|
"start": 2819,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 270.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2846,
|
|
"key": {
|
|
"end": 2841,
|
|
"name": "angleEnd",
|
|
"start": 2833,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2833,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2846,
|
|
"raw": "90",
|
|
"start": 2844,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2888,
|
|
"key": {
|
|
"end": 2863,
|
|
"name": "radius",
|
|
"start": 2857,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2857,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2888,
|
|
"left": {
|
|
"end": 2875,
|
|
"left": {
|
|
"end": 2871,
|
|
"raw": "0.072",
|
|
"start": 2866,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 2875,
|
|
"raw": "4",
|
|
"start": 2874,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 2866,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 2888,
|
|
"name": "railHeight",
|
|
"start": 2878,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2866,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 2795,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 2900,
|
|
"start": 2899,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2794,
|
|
"name": "arc",
|
|
"start": 2791,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 2901,
|
|
"start": 2791,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3040,
|
|
"properties": [
|
|
{
|
|
"end": 2971,
|
|
"key": {
|
|
"end": 2967,
|
|
"name": "angleStart",
|
|
"start": 2957,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2957,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2971,
|
|
"raw": "0",
|
|
"start": 2970,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 2995,
|
|
"key": {
|
|
"end": 2990,
|
|
"name": "angleEnd",
|
|
"start": 2982,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 2982,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 2995,
|
|
"raw": "90",
|
|
"start": 2993,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3031,
|
|
"key": {
|
|
"end": 3012,
|
|
"name": "radius",
|
|
"start": 3006,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3006,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3031,
|
|
"left": {
|
|
"end": 3018,
|
|
"raw": "0.1",
|
|
"start": 3015,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3031,
|
|
"name": "railHeight",
|
|
"start": 3021,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3015,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 2946,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3043,
|
|
"start": 3042,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 2945,
|
|
"name": "arc",
|
|
"start": 2942,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3044,
|
|
"start": 2942,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3158,
|
|
"properties": [
|
|
{
|
|
"end": 3081,
|
|
"key": {
|
|
"end": 3077,
|
|
"name": "angleStart",
|
|
"start": 3067,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3067,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3081,
|
|
"raw": "0",
|
|
"start": 3080,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3107,
|
|
"key": {
|
|
"end": 3100,
|
|
"name": "angleEnd",
|
|
"start": 3092,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3092,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 3107,
|
|
"raw": "180",
|
|
"start": 3104,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3107,
|
|
"operator": "-",
|
|
"start": 3103,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 3149,
|
|
"key": {
|
|
"end": 3124,
|
|
"name": "radius",
|
|
"start": 3118,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3118,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3149,
|
|
"left": {
|
|
"end": 3136,
|
|
"left": {
|
|
"end": 3132,
|
|
"raw": "0.072",
|
|
"start": 3127,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3136,
|
|
"raw": "4",
|
|
"start": 3135,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3127,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3149,
|
|
"name": "railHeight",
|
|
"start": 3139,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3127,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 3056,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3161,
|
|
"start": 3160,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3055,
|
|
"name": "arc",
|
|
"start": 3052,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3162,
|
|
"start": 3052,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3193,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3180,
|
|
"raw": "0.1",
|
|
"start": 3177,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3180,
|
|
"operator": "-",
|
|
"start": 3176,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3193,
|
|
"name": "railHeight",
|
|
"start": 3183,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3176,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3196,
|
|
"start": 3195,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3175,
|
|
"name": "xLine",
|
|
"start": 3170,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3197,
|
|
"start": 3170,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3311,
|
|
"properties": [
|
|
{
|
|
"end": 3234,
|
|
"key": {
|
|
"end": 3230,
|
|
"name": "angleStart",
|
|
"start": 3220,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3220,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3234,
|
|
"raw": "0",
|
|
"start": 3233,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3260,
|
|
"key": {
|
|
"end": 3253,
|
|
"name": "angleEnd",
|
|
"start": 3245,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3245,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 3260,
|
|
"raw": "180",
|
|
"start": 3257,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3260,
|
|
"operator": "-",
|
|
"start": 3256,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 3302,
|
|
"key": {
|
|
"end": 3277,
|
|
"name": "radius",
|
|
"start": 3271,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3271,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3302,
|
|
"left": {
|
|
"end": 3289,
|
|
"left": {
|
|
"end": 3285,
|
|
"raw": "0.072",
|
|
"start": 3280,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3289,
|
|
"raw": "4",
|
|
"start": 3288,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3280,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3302,
|
|
"name": "railHeight",
|
|
"start": 3292,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3280,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 3209,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3314,
|
|
"start": 3313,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3208,
|
|
"name": "arc",
|
|
"start": 3205,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3315,
|
|
"start": 3205,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3347,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3334,
|
|
"raw": "0.06",
|
|
"start": 3330,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3334,
|
|
"operator": "-",
|
|
"start": 3329,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3347,
|
|
"name": "railHeight",
|
|
"start": 3337,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3329,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3350,
|
|
"start": 3349,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 3359,
|
|
"start": 3352,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge17"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3328,
|
|
"name": "xLine",
|
|
"start": 3323,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3360,
|
|
"start": 3323,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3393,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3380,
|
|
"raw": "0.087",
|
|
"start": 3375,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3380,
|
|
"operator": "-",
|
|
"start": 3374,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3393,
|
|
"name": "railHeight",
|
|
"start": 3383,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3374,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3396,
|
|
"start": 3395,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 3405,
|
|
"start": 3398,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge18"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3373,
|
|
"name": "yLine",
|
|
"start": 3368,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3406,
|
|
"start": 3368,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3438,
|
|
"left": {
|
|
"end": 3425,
|
|
"raw": "0.183",
|
|
"start": 3420,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3438,
|
|
"name": "railHeight",
|
|
"start": 3428,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3420,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3441,
|
|
"start": 3440,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 3450,
|
|
"start": 3443,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge19"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3419,
|
|
"name": "xLine",
|
|
"start": 3414,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3451,
|
|
"start": 3414,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3574,
|
|
"properties": [
|
|
{
|
|
"end": 3494,
|
|
"key": {
|
|
"end": 3489,
|
|
"name": "angle",
|
|
"start": 3484,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3484,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3494,
|
|
"raw": "45",
|
|
"start": 3492,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3565,
|
|
"key": {
|
|
"end": 3507,
|
|
"name": "to",
|
|
"start": 3505,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3505,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3565,
|
|
"left": {
|
|
"end": 3548,
|
|
"left": {
|
|
"end": 3534,
|
|
"left": {
|
|
"end": 3526,
|
|
"left": {
|
|
"end": 3521,
|
|
"left": {
|
|
"end": 3513,
|
|
"raw": "1",
|
|
"start": 3512,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 3521,
|
|
"raw": "0.356",
|
|
"start": 3516,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3512,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3526,
|
|
"raw": "2",
|
|
"start": 3525,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3512,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"end": 3534,
|
|
"raw": "0.356",
|
|
"start": 3529,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3512,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3548,
|
|
"name": "railHeight",
|
|
"start": 3538,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3512,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 3565,
|
|
"object": {
|
|
"end": 3562,
|
|
"name": "originStart",
|
|
"start": 3551,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 3564,
|
|
"raw": "1",
|
|
"start": 3563,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3551,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 3512,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 3473,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3577,
|
|
"start": 3576,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 3586,
|
|
"start": 3579,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge20"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3472,
|
|
"name": "angledLineToY",
|
|
"start": 3459,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3587,
|
|
"start": 3459,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3620,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3607,
|
|
"raw": "0.232",
|
|
"start": 3602,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.232,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3607,
|
|
"operator": "-",
|
|
"start": 3601,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3620,
|
|
"name": "railHeight",
|
|
"start": 3610,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3601,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3623,
|
|
"start": 3622,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 3632,
|
|
"start": 3625,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge21"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3600,
|
|
"name": "xLine",
|
|
"start": 3595,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3633,
|
|
"start": 3595,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3743,
|
|
"properties": [
|
|
{
|
|
"end": 3677,
|
|
"key": {
|
|
"end": 3671,
|
|
"name": "angle",
|
|
"start": 3666,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3666,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3677,
|
|
"raw": "135",
|
|
"start": 3674,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 135.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3734,
|
|
"key": {
|
|
"end": 3690,
|
|
"name": "to",
|
|
"start": 3688,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3688,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3734,
|
|
"left": {
|
|
"end": 3717,
|
|
"left": {
|
|
"end": 3703,
|
|
"left": {
|
|
"end": 3695,
|
|
"raw": "1",
|
|
"start": 3694,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 3703,
|
|
"raw": "0.087",
|
|
"start": 3698,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3694,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3717,
|
|
"name": "railHeight",
|
|
"start": 3707,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3694,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 3734,
|
|
"object": {
|
|
"end": 3731,
|
|
"name": "originStart",
|
|
"start": 3720,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 3733,
|
|
"raw": "1",
|
|
"start": 3732,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3720,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 3694,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 3655,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3746,
|
|
"start": 3745,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 3755,
|
|
"start": 3748,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge22"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3654,
|
|
"name": "angledLineToY",
|
|
"start": 3641,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3756,
|
|
"start": 3641,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3788,
|
|
"left": {
|
|
"end": 3775,
|
|
"raw": "0.183",
|
|
"start": 3770,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3788,
|
|
"name": "railHeight",
|
|
"start": 3778,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3770,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3791,
|
|
"start": 3790,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 3800,
|
|
"start": 3793,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge23"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3769,
|
|
"name": "xLine",
|
|
"start": 3764,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3801,
|
|
"start": 3764,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3833,
|
|
"left": {
|
|
"end": 3820,
|
|
"raw": "0.087",
|
|
"start": 3815,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3833,
|
|
"name": "railHeight",
|
|
"start": 3823,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3815,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3836,
|
|
"start": 3835,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 3845,
|
|
"start": 3838,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge24"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3814,
|
|
"name": "yLine",
|
|
"start": 3809,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3846,
|
|
"start": 3809,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3878,
|
|
"left": {
|
|
"argument": {
|
|
"end": 3865,
|
|
"raw": "0.06",
|
|
"start": 3861,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3865,
|
|
"operator": "-",
|
|
"start": 3860,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3878,
|
|
"name": "railHeight",
|
|
"start": 3868,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3860,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 3881,
|
|
"start": 3880,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3859,
|
|
"name": "xLine",
|
|
"start": 3854,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 3882,
|
|
"start": 3854,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 3996,
|
|
"properties": [
|
|
{
|
|
"end": 3919,
|
|
"key": {
|
|
"end": 3915,
|
|
"name": "angleStart",
|
|
"start": 3905,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3905,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3919,
|
|
"raw": "0",
|
|
"start": 3918,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 3945,
|
|
"key": {
|
|
"end": 3938,
|
|
"name": "angleEnd",
|
|
"start": 3930,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3930,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 3945,
|
|
"raw": "180",
|
|
"start": 3942,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 3945,
|
|
"operator": "-",
|
|
"start": 3941,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 3987,
|
|
"key": {
|
|
"end": 3962,
|
|
"name": "radius",
|
|
"start": 3956,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3956,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 3987,
|
|
"left": {
|
|
"end": 3974,
|
|
"left": {
|
|
"end": 3970,
|
|
"raw": "0.072",
|
|
"start": 3965,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 3974,
|
|
"raw": "4",
|
|
"start": 3973,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 3965,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 3987,
|
|
"name": "railHeight",
|
|
"start": 3977,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 3965,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 3894,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 3999,
|
|
"start": 3998,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 3893,
|
|
"name": "arc",
|
|
"start": 3890,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4000,
|
|
"start": 3890,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4031,
|
|
"left": {
|
|
"argument": {
|
|
"end": 4018,
|
|
"raw": "0.1",
|
|
"start": 4015,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4018,
|
|
"operator": "-",
|
|
"start": 4014,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4031,
|
|
"name": "railHeight",
|
|
"start": 4021,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4014,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 4034,
|
|
"start": 4033,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4013,
|
|
"name": "xLine",
|
|
"start": 4008,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4035,
|
|
"start": 4008,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4149,
|
|
"properties": [
|
|
{
|
|
"end": 4072,
|
|
"key": {
|
|
"end": 4068,
|
|
"name": "angleStart",
|
|
"start": 4058,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4058,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4072,
|
|
"raw": "0",
|
|
"start": 4071,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4098,
|
|
"key": {
|
|
"end": 4091,
|
|
"name": "angleEnd",
|
|
"start": 4083,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4083,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 4098,
|
|
"raw": "180",
|
|
"start": 4095,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4098,
|
|
"operator": "-",
|
|
"start": 4094,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 4140,
|
|
"key": {
|
|
"end": 4115,
|
|
"name": "radius",
|
|
"start": 4109,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4109,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4140,
|
|
"left": {
|
|
"end": 4127,
|
|
"left": {
|
|
"end": 4123,
|
|
"raw": "0.072",
|
|
"start": 4118,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 4127,
|
|
"raw": "4",
|
|
"start": 4126,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4118,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4140,
|
|
"name": "railHeight",
|
|
"start": 4130,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4118,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4047,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4152,
|
|
"start": 4151,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4046,
|
|
"name": "arc",
|
|
"start": 4043,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4153,
|
|
"start": 4043,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4261,
|
|
"properties": [
|
|
{
|
|
"end": 4191,
|
|
"key": {
|
|
"end": 4186,
|
|
"name": "angleStart",
|
|
"start": 4176,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4176,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4191,
|
|
"raw": "90",
|
|
"start": 4189,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4216,
|
|
"key": {
|
|
"end": 4210,
|
|
"name": "angleEnd",
|
|
"start": 4202,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4202,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4216,
|
|
"raw": "180",
|
|
"start": 4213,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 180.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4252,
|
|
"key": {
|
|
"end": 4233,
|
|
"name": "radius",
|
|
"start": 4227,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4227,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4252,
|
|
"left": {
|
|
"end": 4239,
|
|
"raw": "0.1",
|
|
"start": 4236,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4252,
|
|
"name": "railHeight",
|
|
"start": 4242,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4236,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4165,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4264,
|
|
"start": 4263,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4164,
|
|
"name": "arc",
|
|
"start": 4161,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4265,
|
|
"start": 4161,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4412,
|
|
"properties": [
|
|
{
|
|
"end": 4336,
|
|
"key": {
|
|
"end": 4331,
|
|
"name": "angleStart",
|
|
"start": 4321,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4321,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4336,
|
|
"raw": "90",
|
|
"start": 4334,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4361,
|
|
"key": {
|
|
"end": 4355,
|
|
"name": "angleEnd",
|
|
"start": 4347,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4347,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 4361,
|
|
"raw": "90",
|
|
"start": 4359,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4361,
|
|
"operator": "-",
|
|
"start": 4358,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 4403,
|
|
"key": {
|
|
"end": 4378,
|
|
"name": "radius",
|
|
"start": 4372,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4372,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4403,
|
|
"left": {
|
|
"end": 4390,
|
|
"left": {
|
|
"end": 4386,
|
|
"raw": "0.072",
|
|
"start": 4381,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 4390,
|
|
"raw": "4",
|
|
"start": 4389,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4381,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4403,
|
|
"name": "railHeight",
|
|
"start": 4393,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4381,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4310,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4415,
|
|
"start": 4414,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4309,
|
|
"name": "arc",
|
|
"start": 4306,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4416,
|
|
"start": 4306,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4447,
|
|
"left": {
|
|
"argument": {
|
|
"end": 4434,
|
|
"raw": "0.1",
|
|
"start": 4431,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4434,
|
|
"operator": "-",
|
|
"start": 4430,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4447,
|
|
"name": "railHeight",
|
|
"start": 4437,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4430,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 4450,
|
|
"start": 4449,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4429,
|
|
"name": "yLine",
|
|
"start": 4424,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4451,
|
|
"start": 4424,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4565,
|
|
"properties": [
|
|
{
|
|
"end": 4489,
|
|
"key": {
|
|
"end": 4484,
|
|
"name": "angleStart",
|
|
"start": 4474,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4474,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4489,
|
|
"raw": "90",
|
|
"start": 4487,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4514,
|
|
"key": {
|
|
"end": 4508,
|
|
"name": "angleEnd",
|
|
"start": 4500,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4500,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 4514,
|
|
"raw": "90",
|
|
"start": 4512,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4514,
|
|
"operator": "-",
|
|
"start": 4511,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 4556,
|
|
"key": {
|
|
"end": 4531,
|
|
"name": "radius",
|
|
"start": 4525,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4525,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4556,
|
|
"left": {
|
|
"end": 4543,
|
|
"left": {
|
|
"end": 4539,
|
|
"raw": "0.072",
|
|
"start": 4534,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 4543,
|
|
"raw": "4",
|
|
"start": 4542,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4534,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4556,
|
|
"name": "railHeight",
|
|
"start": 4546,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4534,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4463,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4568,
|
|
"start": 4567,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4462,
|
|
"name": "arc",
|
|
"start": 4459,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4569,
|
|
"start": 4459,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4601,
|
|
"left": {
|
|
"argument": {
|
|
"end": 4588,
|
|
"raw": "0.06",
|
|
"start": 4584,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4588,
|
|
"operator": "-",
|
|
"start": 4583,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4601,
|
|
"name": "railHeight",
|
|
"start": 4591,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4583,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 4604,
|
|
"start": 4603,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 4613,
|
|
"start": 4606,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge25"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4582,
|
|
"name": "yLine",
|
|
"start": 4577,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4614,
|
|
"start": 4577,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4646,
|
|
"left": {
|
|
"end": 4633,
|
|
"raw": "0.087",
|
|
"start": 4628,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4646,
|
|
"name": "railHeight",
|
|
"start": 4636,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4628,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 4649,
|
|
"start": 4648,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 4658,
|
|
"start": 4651,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge26"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4627,
|
|
"name": "xLine",
|
|
"start": 4622,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4659,
|
|
"start": 4622,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4691,
|
|
"left": {
|
|
"end": 4678,
|
|
"raw": "0.183",
|
|
"start": 4673,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4691,
|
|
"name": "railHeight",
|
|
"start": 4681,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4673,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 4694,
|
|
"start": 4693,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 4703,
|
|
"start": 4696,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge27"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4672,
|
|
"name": "yLine",
|
|
"start": 4667,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4704,
|
|
"start": 4667,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4818,
|
|
"properties": [
|
|
{
|
|
"end": 4748,
|
|
"key": {
|
|
"end": 4742,
|
|
"name": "angle",
|
|
"start": 4737,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4737,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4748,
|
|
"raw": "135",
|
|
"start": 4745,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 135.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4809,
|
|
"key": {
|
|
"end": 4761,
|
|
"name": "to",
|
|
"start": 4759,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4759,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4809,
|
|
"left": {
|
|
"end": 4792,
|
|
"left": {
|
|
"end": 4779,
|
|
"left": {
|
|
"end": 4774,
|
|
"left": {
|
|
"end": 4766,
|
|
"raw": "1",
|
|
"start": 4765,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "-",
|
|
"right": {
|
|
"end": 4774,
|
|
"raw": "0.356",
|
|
"start": 4769,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.356,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4765,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 4779,
|
|
"raw": "2",
|
|
"start": 4778,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4765,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4792,
|
|
"name": "railHeight",
|
|
"start": 4782,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4765,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 4809,
|
|
"object": {
|
|
"end": 4806,
|
|
"name": "originStart",
|
|
"start": 4795,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 4808,
|
|
"raw": "0",
|
|
"start": 4807,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4795,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 4765,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4726,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4821,
|
|
"start": 4820,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 4830,
|
|
"start": 4823,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge28"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4725,
|
|
"name": "angledLineToX",
|
|
"start": 4712,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4831,
|
|
"start": 4712,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4864,
|
|
"left": {
|
|
"argument": {
|
|
"end": 4851,
|
|
"raw": "0.232",
|
|
"start": 4846,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.232,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 4851,
|
|
"operator": "-",
|
|
"start": 4845,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4864,
|
|
"name": "railHeight",
|
|
"start": 4854,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4845,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 4867,
|
|
"start": 4866,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 4876,
|
|
"start": 4869,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge29"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4844,
|
|
"name": "yLine",
|
|
"start": 4839,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4877,
|
|
"start": 4839,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 4980,
|
|
"properties": [
|
|
{
|
|
"end": 4920,
|
|
"key": {
|
|
"end": 4915,
|
|
"name": "angle",
|
|
"start": 4910,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4910,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4920,
|
|
"raw": "45",
|
|
"start": 4918,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 45.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 4971,
|
|
"key": {
|
|
"end": 4933,
|
|
"name": "to",
|
|
"start": 4931,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4931,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 4971,
|
|
"left": {
|
|
"end": 4954,
|
|
"left": {
|
|
"end": 4941,
|
|
"raw": "0.087",
|
|
"start": 4936,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 4954,
|
|
"name": "railHeight",
|
|
"start": 4944,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 4936,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 4971,
|
|
"object": {
|
|
"end": 4968,
|
|
"name": "originStart",
|
|
"start": 4957,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 4970,
|
|
"raw": "0",
|
|
"start": 4969,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 4957,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 4936,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 4899,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 4983,
|
|
"start": 4982,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 4992,
|
|
"start": 4985,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge30"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 4898,
|
|
"name": "angledLineToX",
|
|
"start": 4885,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 4993,
|
|
"start": 4885,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5025,
|
|
"left": {
|
|
"end": 5012,
|
|
"raw": "0.183",
|
|
"start": 5007,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.183,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5025,
|
|
"name": "railHeight",
|
|
"start": 5015,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5007,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 5028,
|
|
"start": 5027,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 5037,
|
|
"start": 5030,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge31"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5006,
|
|
"name": "yLine",
|
|
"start": 5001,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5038,
|
|
"start": 5001,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5071,
|
|
"left": {
|
|
"argument": {
|
|
"end": 5058,
|
|
"raw": "0.087",
|
|
"start": 5053,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.087,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5058,
|
|
"operator": "-",
|
|
"start": 5052,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5071,
|
|
"name": "railHeight",
|
|
"start": 5061,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5052,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 5074,
|
|
"start": 5073,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
},
|
|
{
|
|
"end": 5083,
|
|
"start": 5076,
|
|
"type": "TagDeclarator",
|
|
"type": "TagDeclarator",
|
|
"value": "edge32"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5051,
|
|
"name": "xLine",
|
|
"start": 5046,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5084,
|
|
"start": 5046,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5116,
|
|
"left": {
|
|
"argument": {
|
|
"end": 5103,
|
|
"raw": "0.06",
|
|
"start": 5099,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5103,
|
|
"operator": "-",
|
|
"start": 5098,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5116,
|
|
"name": "railHeight",
|
|
"start": 5106,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5098,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 5119,
|
|
"start": 5118,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5097,
|
|
"name": "yLine",
|
|
"start": 5092,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5120,
|
|
"start": 5092,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5234,
|
|
"properties": [
|
|
{
|
|
"end": 5158,
|
|
"key": {
|
|
"end": 5153,
|
|
"name": "angleStart",
|
|
"start": 5143,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5143,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5158,
|
|
"raw": "90",
|
|
"start": 5156,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 5183,
|
|
"key": {
|
|
"end": 5177,
|
|
"name": "angleEnd",
|
|
"start": 5169,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5169,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 5183,
|
|
"raw": "90",
|
|
"start": 5181,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5183,
|
|
"operator": "-",
|
|
"start": 5180,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 5225,
|
|
"key": {
|
|
"end": 5200,
|
|
"name": "radius",
|
|
"start": 5194,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5194,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5225,
|
|
"left": {
|
|
"end": 5212,
|
|
"left": {
|
|
"end": 5208,
|
|
"raw": "0.072",
|
|
"start": 5203,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 5212,
|
|
"raw": "4",
|
|
"start": 5211,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5203,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5225,
|
|
"name": "railHeight",
|
|
"start": 5215,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5203,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 5132,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 5237,
|
|
"start": 5236,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5131,
|
|
"name": "arc",
|
|
"start": 5128,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5238,
|
|
"start": 5128,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5269,
|
|
"left": {
|
|
"argument": {
|
|
"end": 5256,
|
|
"raw": "0.1",
|
|
"start": 5253,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.1,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5256,
|
|
"operator": "-",
|
|
"start": 5252,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5269,
|
|
"name": "railHeight",
|
|
"start": 5259,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5252,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 5272,
|
|
"start": 5271,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5251,
|
|
"name": "yLine",
|
|
"start": 5246,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5273,
|
|
"start": 5246,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5387,
|
|
"properties": [
|
|
{
|
|
"end": 5311,
|
|
"key": {
|
|
"end": 5306,
|
|
"name": "angleStart",
|
|
"start": 5296,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5296,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5311,
|
|
"raw": "90",
|
|
"start": 5309,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"end": 5336,
|
|
"key": {
|
|
"end": 5330,
|
|
"name": "angleEnd",
|
|
"start": 5322,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5322,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"argument": {
|
|
"end": 5336,
|
|
"raw": "90",
|
|
"start": 5334,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 90.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"end": 5336,
|
|
"operator": "-",
|
|
"start": 5333,
|
|
"type": "UnaryExpression",
|
|
"type": "UnaryExpression"
|
|
}
|
|
},
|
|
{
|
|
"end": 5378,
|
|
"key": {
|
|
"end": 5353,
|
|
"name": "radius",
|
|
"start": 5347,
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5347,
|
|
"type": "ObjectProperty",
|
|
"value": {
|
|
"end": 5378,
|
|
"left": {
|
|
"end": 5365,
|
|
"left": {
|
|
"end": 5361,
|
|
"raw": "0.072",
|
|
"start": 5356,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.072,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 5365,
|
|
"raw": "4",
|
|
"start": 5364,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 4.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5356,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5378,
|
|
"name": "railHeight",
|
|
"start": 5368,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5356,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"start": 5285,
|
|
"type": "ObjectExpression",
|
|
"type": "ObjectExpression"
|
|
},
|
|
{
|
|
"end": 5390,
|
|
"start": 5389,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5284,
|
|
"name": "arc",
|
|
"start": 5281,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5391,
|
|
"start": 5281,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [],
|
|
"callee": {
|
|
"end": 5404,
|
|
"name": "close",
|
|
"start": 5399,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5406,
|
|
"start": 5399,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5480,
|
|
"name": "center",
|
|
"start": 5474,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"end": 5528,
|
|
"left": {
|
|
"end": 5511,
|
|
"left": {
|
|
"end": 5498,
|
|
"raw": ".5",
|
|
"start": 5496,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.5,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5511,
|
|
"name": "railHeight",
|
|
"start": 5501,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5496,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 5528,
|
|
"object": {
|
|
"end": 5525,
|
|
"name": "originStart",
|
|
"start": 5514,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 5527,
|
|
"raw": "0",
|
|
"start": 5526,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5514,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 5496,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
{
|
|
"end": 5573,
|
|
"left": {
|
|
"end": 5556,
|
|
"left": {
|
|
"end": 5543,
|
|
"raw": ".5",
|
|
"start": 5541,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.5,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5556,
|
|
"name": "railHeight",
|
|
"start": 5546,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5541,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"computed": false,
|
|
"end": 5573,
|
|
"object": {
|
|
"end": 5570,
|
|
"name": "originStart",
|
|
"start": 5559,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"property": {
|
|
"end": 5572,
|
|
"raw": "1",
|
|
"start": 5571,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5559,
|
|
"type": "MemberExpression",
|
|
"type": "MemberExpression"
|
|
},
|
|
"start": 5541,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
],
|
|
"end": 5584,
|
|
"start": 5483,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5601,
|
|
"name": "radius",
|
|
"start": 5595,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5625,
|
|
"left": {
|
|
"end": 5621,
|
|
"left": {
|
|
"end": 5608,
|
|
"raw": ".205",
|
|
"start": 5604,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.205,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"end": 5621,
|
|
"name": "railHeight",
|
|
"start": 5611,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"start": 5604,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"end": 5625,
|
|
"raw": "2",
|
|
"start": 5624,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 2.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
"start": 5604,
|
|
"type": "BinaryExpression",
|
|
"type": "BinaryExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5463,
|
|
"name": "circle",
|
|
"start": 5457,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5634,
|
|
"start": 5457,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"end": 5637,
|
|
"start": 5636,
|
|
"type": "PipeSubstitution",
|
|
"type": "PipeSubstitution"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5456,
|
|
"name": "hole",
|
|
"start": 5452,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5638,
|
|
"start": 5452,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5660,
|
|
"name": "length",
|
|
"start": 5654,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5673,
|
|
"name": "railLength",
|
|
"start": 5663,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5653,
|
|
"name": "extrude",
|
|
"start": 5646,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5674,
|
|
"start": 5646,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5705,
|
|
"name": "radius",
|
|
"start": 5699,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 5712,
|
|
"raw": "0.06",
|
|
"start": 5708,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.06,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 5727,
|
|
"name": "tags",
|
|
"start": 5723,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5768,
|
|
"name": "edge3",
|
|
"start": 5763,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5762,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5743,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5769,
|
|
"start": 5743,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5807,
|
|
"name": "edge4",
|
|
"start": 5802,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5801,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5782,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5808,
|
|
"start": 5782,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5846,
|
|
"name": "edge5",
|
|
"start": 5841,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5840,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5821,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5847,
|
|
"start": 5821,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5885,
|
|
"name": "edge6",
|
|
"start": 5880,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5879,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5860,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5886,
|
|
"start": 5860,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5925,
|
|
"name": "edge11",
|
|
"start": 5919,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5918,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5899,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5926,
|
|
"start": 5899,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 5965,
|
|
"name": "edge12",
|
|
"start": 5959,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5958,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5939,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 5966,
|
|
"start": 5939,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6005,
|
|
"name": "edge13",
|
|
"start": 5999,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5998,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 5979,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6006,
|
|
"start": 5979,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6045,
|
|
"name": "edge14",
|
|
"start": 6039,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6038,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6019,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6046,
|
|
"start": 6019,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6085,
|
|
"name": "edge19",
|
|
"start": 6079,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6078,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6059,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6086,
|
|
"start": 6059,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6125,
|
|
"name": "edge20",
|
|
"start": 6119,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6118,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6099,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6126,
|
|
"start": 6099,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6165,
|
|
"name": "edge21",
|
|
"start": 6159,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6158,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6139,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6166,
|
|
"start": 6139,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6205,
|
|
"name": "edge22",
|
|
"start": 6199,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6198,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6179,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6206,
|
|
"start": 6179,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6245,
|
|
"name": "edge27",
|
|
"start": 6239,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6238,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6219,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6246,
|
|
"start": 6219,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6285,
|
|
"name": "edge28",
|
|
"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": "edge29",
|
|
"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": "edge30",
|
|
"start": 6359,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6358,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6339,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6366,
|
|
"start": 6339,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 6377,
|
|
"start": 5730,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 5688,
|
|
"name": "fillet",
|
|
"start": 5682,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6386,
|
|
"start": 5682,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 6417,
|
|
"name": "radius",
|
|
"start": 6411,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"end": 6424,
|
|
"raw": "0.03",
|
|
"start": 6420,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.03,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "LabeledArg",
|
|
"label": {
|
|
"end": 6439,
|
|
"name": "tags",
|
|
"start": 6435,
|
|
"type": "Identifier"
|
|
},
|
|
"arg": {
|
|
"elements": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6480,
|
|
"name": "edge1",
|
|
"start": 6475,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6474,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6455,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6481,
|
|
"start": 6455,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6519,
|
|
"name": "edge2",
|
|
"start": 6514,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6513,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6494,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6520,
|
|
"start": 6494,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6558,
|
|
"name": "edge7",
|
|
"start": 6553,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6552,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6533,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6559,
|
|
"start": 6533,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6597,
|
|
"name": "edge8",
|
|
"start": 6592,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6591,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6572,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6598,
|
|
"start": 6572,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6636,
|
|
"name": "edge9",
|
|
"start": 6631,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6630,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6611,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6637,
|
|
"start": 6611,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6676,
|
|
"name": "edge10",
|
|
"start": 6670,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6669,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6650,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6677,
|
|
"start": 6650,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6716,
|
|
"name": "edge15",
|
|
"start": 6710,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6709,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6690,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6717,
|
|
"start": 6690,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6756,
|
|
"name": "edge16",
|
|
"start": 6750,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6749,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6730,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6757,
|
|
"start": 6730,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6796,
|
|
"name": "edge17",
|
|
"start": 6790,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6789,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6770,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6797,
|
|
"start": 6770,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6836,
|
|
"name": "edge18",
|
|
"start": 6830,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6829,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6810,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6837,
|
|
"start": 6810,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6876,
|
|
"name": "edge23",
|
|
"start": 6870,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6869,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6850,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6877,
|
|
"start": 6850,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6916,
|
|
"name": "edge24",
|
|
"start": 6910,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6909,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6890,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6917,
|
|
"start": 6890,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6956,
|
|
"name": "edge25",
|
|
"start": 6950,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6949,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6930,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6957,
|
|
"start": 6930,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 6996,
|
|
"name": "edge26",
|
|
"start": 6990,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6989,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 6970,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 6997,
|
|
"start": 6970,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"end": 7036,
|
|
"name": "edge31",
|
|
"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": "edge32",
|
|
"start": 7070,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7069,
|
|
"name": "getNextAdjacentEdge",
|
|
"start": 7050,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7077,
|
|
"start": 7050,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
}
|
|
],
|
|
"end": 7088,
|
|
"start": 6442,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 6400,
|
|
"name": "fillet",
|
|
"start": 6394,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7097,
|
|
"start": 6394,
|
|
"type": "CallExpressionKw",
|
|
"type": "CallExpressionKw",
|
|
"unlabeled": null
|
|
}
|
|
],
|
|
"end": 7097,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {
|
|
"18": [
|
|
{
|
|
"end": 1758,
|
|
"start": 1729,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "Sketch side 2 of profile",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"24": [
|
|
{
|
|
"end": 2173,
|
|
"start": 2163,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "inlineComment",
|
|
"value": "edge11",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"25": [
|
|
{
|
|
"end": 2320,
|
|
"start": 2310,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "inlineComment",
|
|
"value": "edge12",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"26": [
|
|
{
|
|
"end": 2371,
|
|
"start": 2365,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "inlineComment",
|
|
"value": "13",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"27": [
|
|
{
|
|
"end": 2499,
|
|
"start": 2493,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "inlineComment",
|
|
"value": "14",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"28": [
|
|
{
|
|
"end": 2551,
|
|
"start": 2545,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "inlineComment",
|
|
"value": "15",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"33": [
|
|
{
|
|
"end": 2934,
|
|
"start": 2905,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "Sketch side 3 of profile",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"50": [
|
|
{
|
|
"end": 4298,
|
|
"start": 4269,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "newLineBlockComment",
|
|
"value": "Sketch side 4 of profile",
|
|
"style": "line"
|
|
}
|
|
}
|
|
],
|
|
"66": [
|
|
{
|
|
"end": 5444,
|
|
"start": 5410,
|
|
"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": 7097,
|
|
"kind": "const",
|
|
"start": 286,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"argument": {
|
|
"end": 7116,
|
|
"name": "sketch001",
|
|
"start": 7107,
|
|
"type": "Identifier",
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7116,
|
|
"start": 7100,
|
|
"type": "ReturnStatement",
|
|
"type": "ReturnStatement"
|
|
}
|
|
],
|
|
"end": 7118,
|
|
"nonCodeMeta": {
|
|
"nonCodeNodes": {},
|
|
"startNodes": [
|
|
{
|
|
"end": 284,
|
|
"start": 253,
|
|
"type": "NonCodeNode",
|
|
"value": {
|
|
"type": "blockComment",
|
|
"value": "Sketch side 1 of profile",
|
|
"style": "line"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"start": 253
|
|
},
|
|
"end": 7118,
|
|
"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": 7118,
|
|
"kind": "fn",
|
|
"start": 203,
|
|
"type": "VariableDeclaration",
|
|
"type": "VariableDeclaration"
|
|
},
|
|
{
|
|
"end": 7186,
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"end": 7172,
|
|
"raw": "0",
|
|
"start": 7171,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7175,
|
|
"raw": "0",
|
|
"start": 7174,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 0.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"end": 7176,
|
|
"start": 7170,
|
|
"type": "ArrayExpression",
|
|
"type": "ArrayExpression"
|
|
},
|
|
{
|
|
"end": 7181,
|
|
"raw": "1.5",
|
|
"start": 7178,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 1.5,
|
|
"suffix": "None"
|
|
}
|
|
},
|
|
{
|
|
"end": 7185,
|
|
"raw": "48",
|
|
"start": 7183,
|
|
"type": "Literal",
|
|
"type": "Literal",
|
|
"value": {
|
|
"value": 48.0,
|
|
"suffix": "None"
|
|
}
|
|
}
|
|
],
|
|
"callee": {
|
|
"end": 7169,
|
|
"name": "rail8020",
|
|
"start": 7161,
|
|
"type": "Identifier"
|
|
},
|
|
"end": 7186,
|
|
"start": 7161,
|
|
"type": "CallExpression",
|
|
"type": "CallExpression"
|
|
},
|
|
"start": 7161,
|
|
"type": "ExpressionStatement",
|
|
"type": "ExpressionStatement"
|
|
}
|
|
],
|
|
"end": 7187,
|
|
"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": 7160,
|
|
"start": 7118,
|
|
"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
|
|
}
|
|
}
|