2025-03-06 18:01:24 -05:00
---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing lego.kcl
---
{
"Ok": {
"body": [
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 304,
2025-03-06 18:01:24 -05:00
"id": {
"end": 299,
"name": "lbumps",
"start": 293,
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 304,
"raw": "10",
2025-03-06 18:01:24 -05:00
"start": 302,
"type": "Literal",
"type": "Literal",
"value": {
2025-03-13 23:38:51 -07:00
"value": 10.0,
2025-03-06 18:01:24 -05:00
"suffix": "None"
}
},
"start": 293,
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 304,
2025-03-06 18:01:24 -05:00
"kind": "const",
"start": 293,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 339,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 335,
2025-03-06 18:01:24 -05:00
"name": "wbumps",
2025-03-13 23:38:51 -07:00
"start": 329,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 339,
"raw": "5",
"start": 338,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
2025-03-13 23:38:51 -07:00
"value": 5.0,
2025-03-06 18:01:24 -05:00
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 329,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 339,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 329,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 375,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 369,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 364,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 375,
2025-03-06 18:01:24 -05:00
"raw": "8.0",
2025-03-13 23:38:51 -07:00
"start": 372,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 8.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 364,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 375,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 364,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 391,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 385,
2025-03-06 18:01:24 -05:00
"name": "clearance",
2025-03-13 23:38:51 -07:00
"start": 376,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 391,
2025-03-06 18:01:24 -05:00
"raw": "0.1",
2025-03-13 23:38:51 -07:00
"start": 388,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.1,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 376,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 391,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 376,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 406,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 400,
2025-03-06 18:01:24 -05:00
"name": "bumpDiam",
2025-03-13 23:38:51 -07:00
"start": 392,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 406,
2025-03-06 18:01:24 -05:00
"raw": "4.8",
2025-03-13 23:38:51 -07:00
"start": 403,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.8,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 392,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 406,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 392,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 423,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 417,
2025-03-06 18:01:24 -05:00
"name": "bumpHeight",
2025-03-13 23:38:51 -07:00
"start": 407,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 423,
2025-03-06 18:01:24 -05:00
"raw": "1.8",
2025-03-13 23:38:51 -07:00
"start": 420,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.8,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 407,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 423,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 407,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 436,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 430,
2025-03-06 18:01:24 -05:00
"name": "height",
2025-03-13 23:38:51 -07:00
"start": 424,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 436,
2025-03-06 18:01:24 -05:00
"raw": "3.2",
2025-03-13 23:38:51 -07:00
"start": 433,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.2,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 424,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 436,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 424,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 483,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 438,
2025-03-06 18:01:24 -05:00
"name": "t",
2025-03-13 23:38:51 -07:00
"start": 437,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 483,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 476,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 464,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 447,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 442,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 464,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 452,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 451,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 464,
2025-03-06 18:01:24 -05:00
"name": "clearance",
2025-03-13 23:38:51 -07:00
"start": 455,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 451,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 442,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 476,
2025-03-06 18:01:24 -05:00
"name": "bumpDiam",
2025-03-13 23:38:51 -07:00
"start": 468,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 442,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 483,
2025-03-06 18:01:24 -05:00
"raw": "2.0",
2025-03-13 23:38:51 -07:00
"start": 480,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 442,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 437,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 483,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 437,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 504,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 492,
2025-03-06 18:01:24 -05:00
"name": "postDiam",
2025-03-13 23:38:51 -07:00
"start": 484,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 504,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 500,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 495,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 504,
2025-03-06 18:01:24 -05:00
"name": "t",
2025-03-13 23:38:51 -07:00
"start": 503,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 495,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 484,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 504,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 484,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 572,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 536,
2025-03-06 18:01:24 -05:00
"name": "totalLength",
2025-03-13 23:38:51 -07:00
"start": 525,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 572,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 553,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 545,
2025-03-06 18:01:24 -05:00
"name": "lbumps",
2025-03-13 23:38:51 -07:00
"start": 539,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 553,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 548,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 539,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 572,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 560,
2025-03-06 18:01:24 -05:00
"raw": "2.0",
2025-03-13 23:38:51 -07:00
"start": 557,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 572,
2025-03-06 18:01:24 -05:00
"name": "clearance",
2025-03-13 23:38:51 -07:00
"start": 563,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 557,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 539,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 525,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 572,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 525,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 620,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 584,
2025-03-06 18:01:24 -05:00
"name": "totalWidth",
2025-03-13 23:38:51 -07:00
"start": 574,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 620,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 601,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 593,
2025-03-06 18:01:24 -05:00
"name": "wbumps",
2025-03-13 23:38:51 -07:00
"start": 587,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 601,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 596,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 587,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 620,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 608,
2025-03-06 18:01:24 -05:00
"raw": "2.0",
2025-03-13 23:38:51 -07:00
"start": 605,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 620,
2025-03-06 18:01:24 -05:00
"name": "clearance",
2025-03-13 23:38:51 -07:00
"start": 611,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 605,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 587,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 574,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 620,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 574,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 715,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 692,
2025-03-06 18:01:24 -05:00
"name": "lSegments",
2025-03-13 23:38:51 -07:00
"start": 683,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 715,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 706,
2025-03-06 18:01:24 -05:00
"name": "totalLength",
2025-03-13 23:38:51 -07:00
"start": 695,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 715,
2025-03-06 18:01:24 -05:00
"name": "lbumps",
2025-03-13 23:38:51 -07:00
"start": 709,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 695,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 683,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 715,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 683,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 747,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 725,
2025-03-06 18:01:24 -05:00
"name": "wSegments",
2025-03-13 23:38:51 -07:00
"start": 716,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 747,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 738,
2025-03-06 18:01:24 -05:00
"name": "totalWidth",
2025-03-13 23:38:51 -07:00
"start": 728,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 747,
2025-03-06 18:01:24 -05:00
"name": "wbumps",
2025-03-13 23:38:51 -07:00
"start": 741,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 728,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 716,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 747,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 716,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-13 23:38:51 -07:00
"end": 882,
2025-03-06 18:01:24 -05:00
"expression": {
"arguments": [
{
2025-03-13 23:38:51 -07:00
"end": 845,
2025-03-06 18:01:24 -05:00
"name": "lbumps",
2025-03-13 23:38:51 -07:00
"start": 839,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
{
2025-03-13 23:38:51 -07:00
"end": 848,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 847,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 881,
2025-03-06 18:01:24 -05:00
"raw": "\"lbumps must be greater than 1\"",
2025-03-13 23:38:51 -07:00
"start": 850,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "lbumps must be greater than 1"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 838,
2025-03-06 18:01:24 -05:00
"name": "assertGreaterThan",
2025-03-13 23:38:51 -07:00
"start": 821,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 882,
"start": 821,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-13 23:38:51 -07:00
"start": 821,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 944,
2025-03-06 18:01:24 -05:00
"expression": {
"arguments": [
{
2025-03-13 23:38:51 -07:00
"end": 907,
2025-03-06 18:01:24 -05:00
"name": "wbumps",
2025-03-13 23:38:51 -07:00
"start": 901,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
{
2025-03-13 23:38:51 -07:00
"end": 910,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 909,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 943,
2025-03-06 18:01:24 -05:00
"raw": "\"wbumps must be greater than 1\"",
2025-03-13 23:38:51 -07:00
"start": 912,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "wbumps must be greater than 1"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 900,
2025-03-06 18:01:24 -05:00
"name": "assertGreaterThan",
2025-03-13 23:38:51 -07:00
"start": 883,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 944,
"start": 883,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-13 23:38:51 -07:00
"start": 883,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 1355,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 967,
"name": "base",
"start": 963,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-13 23:38:51 -07:00
"end": 988,
2025-03-06 18:01:24 -05:00
"raw": "'XY'",
2025-03-13 23:38:51 -07:00
"start": 984,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "XY"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 983,
2025-03-06 18:01:24 -05:00
"name": "startSketchOn",
2025-03-13 23:38:51 -07:00
"start": 970,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 989,
"start": 970,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
2025-03-13 23:38:51 -07:00
"end": 1026,
2025-03-06 18:01:24 -05:00
"left": {
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1022,
2025-03-06 18:01:24 -05:00
"name": "totalWidth",
2025-03-13 23:38:51 -07:00
"start": 1012,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1022,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1011,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1026,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1025,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1011,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-13 23:38:51 -07:00
"end": 1044,
2025-03-06 18:01:24 -05:00
"left": {
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1040,
2025-03-06 18:01:24 -05:00
"name": "totalLength",
2025-03-13 23:38:51 -07:00
"start": 1029,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1040,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1028,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1044,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1043,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1028,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
2025-03-13 23:38:51 -07:00
"end": 1045,
"start": 1010,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
2025-03-13 23:38:51 -07:00
"end": 1048,
"start": 1047,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1009,
2025-03-06 18:01:24 -05:00
"name": "startProfileAt",
2025-03-13 23:38:51 -07:00
"start": 995,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1049,
"start": 995,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1063,
2025-03-06 18:01:24 -05:00
"name": "end",
2025-03-13 23:38:51 -07:00
"start": 1060,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-13 23:38:51 -07:00
"end": 1077,
2025-03-06 18:01:24 -05:00
"name": "totalWidth",
2025-03-13 23:38:51 -07:00
"start": 1067,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
{
2025-03-13 23:38:51 -07:00
"end": 1080,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-13 23:38:51 -07:00
"start": 1079,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-13 23:38:51 -07:00
"end": 1081,
"start": 1066,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1059,
2025-03-06 18:01:24 -05:00
"name": "line",
2025-03-13 23:38:51 -07:00
"start": 1055,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1082,
"start": 1055,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1096,
2025-03-06 18:01:24 -05:00
"name": "end",
2025-03-13 23:38:51 -07:00
"start": 1093,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-13 23:38:51 -07:00
"end": 1101,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-13 23:38:51 -07:00
"start": 1100,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 1114,
2025-03-06 18:01:24 -05:00
"name": "totalLength",
2025-03-13 23:38:51 -07:00
"start": 1103,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
],
2025-03-13 23:38:51 -07:00
"end": 1115,
"start": 1099,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1092,
2025-03-06 18:01:24 -05:00
"name": "line",
2025-03-13 23:38:51 -07:00
"start": 1088,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1116,
"start": 1088,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1130,
2025-03-06 18:01:24 -05:00
"name": "end",
2025-03-13 23:38:51 -07:00
"start": 1127,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1145,
2025-03-06 18:01:24 -05:00
"name": "totalWidth",
2025-03-13 23:38:51 -07:00
"start": 1135,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1145,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1134,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
2025-03-13 23:38:51 -07:00
"end": 1148,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-13 23:38:51 -07:00
"start": 1147,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-13 23:38:51 -07:00
"end": 1149,
"start": 1133,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1126,
2025-03-06 18:01:24 -05:00
"name": "line",
2025-03-13 23:38:51 -07:00
"start": 1122,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1150,
"start": 1122,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1161,
2025-03-06 18:01:24 -05:00
"name": "close",
2025-03-13 23:38:51 -07:00
"start": 1156,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1163,
"start": 1156,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1183,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-13 23:38:51 -07:00
"start": 1177,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 1192,
2025-03-06 18:01:24 -05:00
"name": "height",
2025-03-13 23:38:51 -07:00
"start": 1186,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1176,
2025-03-06 18:01:24 -05:00
"name": "extrude",
2025-03-13 23:38:51 -07:00
"start": 1169,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1193,
"start": 1169,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-13 23:38:51 -07:00
"end": 1355,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
"6": [
{
2025-03-13 23:38:51 -07:00
"end": 1355,
"start": 1193,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
2025-03-13 23:38:51 -07:00
"value": "Sketch and extrude a rectangular shape to create the shell underneath the lego. Will replace with shell function when able to call a face created from shell.",
2025-03-06 18:01:24 -05:00
"style": "line"
}
}
]
},
"startNodes": []
},
2025-03-13 23:38:51 -07:00
"start": 970,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-13 23:38:51 -07:00
"start": 963,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 1355,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 963,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 1718,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 1368,
2025-03-06 18:01:24 -05:00
"name": "shellExtrude",
2025-03-13 23:38:51 -07:00
"start": 1356,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-13 23:38:51 -07:00
"end": 1389,
"name": "base",
"start": 1385,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
{
2025-03-13 23:38:51 -07:00
"end": 1398,
2025-03-06 18:01:24 -05:00
"raw": "\"start\"",
2025-03-13 23:38:51 -07:00
"start": 1391,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "start"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1384,
2025-03-06 18:01:24 -05:00
"name": "startSketchOn",
2025-03-13 23:38:51 -07:00
"start": 1371,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1399,
"start": 1371,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1449,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1445,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1441,
2025-03-06 18:01:24 -05:00
"name": "totalWidth",
2025-03-13 23:38:51 -07:00
"start": 1431,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1445,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1444,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1431,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1449,
2025-03-06 18:01:24 -05:00
"name": "t",
2025-03-13 23:38:51 -07:00
"start": 1448,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 1431,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"end": 1449,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1429,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1480,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1476,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1472,
2025-03-06 18:01:24 -05:00
"name": "totalLength",
2025-03-13 23:38:51 -07:00
"start": 1461,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1476,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1475,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1461,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1480,
2025-03-06 18:01:24 -05:00
"name": "t",
2025-03-13 23:38:51 -07:00
"start": 1479,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 1461,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"end": 1480,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1459,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
],
2025-03-13 23:38:51 -07:00
"end": 1488,
"start": 1420,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
2025-03-13 23:38:51 -07:00
"end": 1491,
"start": 1490,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1419,
2025-03-06 18:01:24 -05:00
"name": "startProfileAt",
2025-03-13 23:38:51 -07:00
"start": 1405,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1492,
"start": 1405,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1506,
2025-03-06 18:01:24 -05:00
"name": "end",
2025-03-13 23:38:51 -07:00
"start": 1503,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-13 23:38:51 -07:00
"end": 1529,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1520,
2025-03-06 18:01:24 -05:00
"name": "totalWidth",
2025-03-13 23:38:51 -07:00
"start": 1510,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1529,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1525,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1524,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1529,
2025-03-06 18:01:24 -05:00
"name": "t",
2025-03-13 23:38:51 -07:00
"start": 1528,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 1524,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1510,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-13 23:38:51 -07:00
"end": 1533,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-13 23:38:51 -07:00
"start": 1532,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-13 23:38:51 -07:00
"end": 1534,
"start": 1509,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1502,
2025-03-06 18:01:24 -05:00
"name": "line",
2025-03-13 23:38:51 -07:00
"start": 1498,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1535,
"start": 1498,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1549,
2025-03-06 18:01:24 -05:00
"name": "end",
2025-03-13 23:38:51 -07:00
"start": 1546,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-13 23:38:51 -07:00
"end": 1554,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-13 23:38:51 -07:00
"start": 1553,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 1576,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1567,
2025-03-06 18:01:24 -05:00
"name": "totalLength",
2025-03-13 23:38:51 -07:00
"start": 1556,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1576,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1572,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1571,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1576,
2025-03-06 18:01:24 -05:00
"name": "t",
2025-03-13 23:38:51 -07:00
"start": 1575,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 1571,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1556,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
2025-03-13 23:38:51 -07:00
"end": 1578,
"start": 1552,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1545,
2025-03-06 18:01:24 -05:00
"name": "line",
2025-03-13 23:38:51 -07:00
"start": 1541,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1579,
"start": 1541,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1593,
2025-03-06 18:01:24 -05:00
"name": "end",
2025-03-13 23:38:51 -07:00
"start": 1590,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1618,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1609,
2025-03-06 18:01:24 -05:00
"name": "totalWidth",
2025-03-13 23:38:51 -07:00
"start": 1599,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1618,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1614,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1613,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1618,
2025-03-06 18:01:24 -05:00
"name": "t",
2025-03-13 23:38:51 -07:00
"start": 1617,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 1613,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1599,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"end": 1618,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1597,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
2025-03-13 23:38:51 -07:00
"end": 1623,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-13 23:38:51 -07:00
"start": 1622,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-13 23:38:51 -07:00
"end": 1624,
"start": 1596,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1589,
2025-03-06 18:01:24 -05:00
"name": "line",
2025-03-13 23:38:51 -07:00
"start": 1585,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1625,
"start": 1585,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1636,
2025-03-06 18:01:24 -05:00
"name": "close",
2025-03-13 23:38:51 -07:00
"start": 1631,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1638,
"start": 1631,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1658,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-13 23:38:51 -07:00
"start": 1652,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1673,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1669,
2025-03-06 18:01:24 -05:00
"name": "height",
2025-03-13 23:38:51 -07:00
"start": 1663,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1673,
2025-03-06 18:01:24 -05:00
"name": "t",
2025-03-13 23:38:51 -07:00
"start": 1672,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 1663,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"end": 1673,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1661,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1651,
2025-03-06 18:01:24 -05:00
"name": "extrude",
2025-03-13 23:38:51 -07:00
"start": 1644,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1675,
"start": 1644,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-13 23:38:51 -07:00
"end": 1718,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
"6": [
{
2025-03-13 23:38:51 -07:00
"end": 1718,
"start": 1675,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Create the pegs on the top of the base",
"style": "line"
}
}
]
},
"startNodes": []
},
2025-03-13 23:38:51 -07:00
"start": 1371,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1356,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 1718,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 1356,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 2187,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 1722,
2025-03-06 18:01:24 -05:00
"name": "peg",
2025-03-13 23:38:51 -07:00
"start": 1719,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-13 23:38:51 -07:00
"end": 1743,
"name": "base",
"start": 1739,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
{
2025-03-13 23:38:51 -07:00
"end": 1750,
2025-03-06 18:01:24 -05:00
"raw": "'end'",
2025-03-13 23:38:51 -07:00
"start": 1745,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "end"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1738,
2025-03-06 18:01:24 -05:00
"name": "startSketchOn",
2025-03-13 23:38:51 -07:00
"start": 1725,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1751,
"start": 1725,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1778,
2025-03-06 18:01:24 -05:00
"name": "center",
2025-03-13 23:38:51 -07:00
"start": 1772,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1818,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1813,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1799,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 1794,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1813,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1809,
2025-03-06 18:01:24 -05:00
"name": "wbumps",
2025-03-13 23:38:51 -07:00
"start": 1803,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1813,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 1812,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1803,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1794,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1818,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1817,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1794,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"end": 1818,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1792,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1856,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1851,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1837,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 1832,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1851,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1847,
2025-03-06 18:01:24 -05:00
"name": "lbumps",
2025-03-13 23:38:51 -07:00
"start": 1841,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1851,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 1850,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1841,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1832,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1856,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1855,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1832,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"end": 1856,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1830,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
],
2025-03-13 23:38:51 -07:00
"end": 1866,
"start": 1781,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1881,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-13 23:38:51 -07:00
"start": 1875,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 1896,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1892,
2025-03-06 18:01:24 -05:00
"name": "bumpDiam",
2025-03-13 23:38:51 -07:00
"start": 1884,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1896,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1895,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1884,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1763,
2025-03-06 18:01:24 -05:00
"name": "circle",
2025-03-13 23:38:51 -07:00
"start": 1757,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1903,
"start": 1757,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1937,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-13 23:38:51 -07:00
"start": 1933,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-13 23:38:51 -07:00
"end": 1942,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 1941,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 1945,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-13 23:38:51 -07:00
"start": 1944,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-13 23:38:51 -07:00
"end": 1946,
"start": 1940,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1964,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-13 23:38:51 -07:00
"start": 1955,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 1973,
2025-03-06 18:01:24 -05:00
"name": "wbumps",
2025-03-13 23:38:51 -07:00
"start": 1967,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1990,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-13 23:38:51 -07:00
"start": 1982,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 1998,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 1993,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1924,
2025-03-06 18:01:24 -05:00
"name": "patternLinear2d",
2025-03-13 23:38:51 -07:00
"start": 1909,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 2005,
"start": 1909,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2039,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-13 23:38:51 -07:00
"start": 2035,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-13 23:38:51 -07:00
"end": 2044,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-13 23:38:51 -07:00
"start": 2043,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 2047,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 2046,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
2025-03-13 23:38:51 -07:00
"end": 2048,
"start": 2042,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2066,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-13 23:38:51 -07:00
"start": 2057,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 2075,
2025-03-06 18:01:24 -05:00
"name": "lbumps",
2025-03-13 23:38:51 -07:00
"start": 2069,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2092,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-13 23:38:51 -07:00
"start": 2084,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 2100,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 2095,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 2026,
2025-03-06 18:01:24 -05:00
"name": "patternLinear2d",
2025-03-13 23:38:51 -07:00
"start": 2011,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 2107,
"start": 2011,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2127,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-13 23:38:51 -07:00
"start": 2121,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 2140,
2025-03-06 18:01:24 -05:00
"name": "bumpHeight",
2025-03-13 23:38:51 -07:00
"start": 2130,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 2120,
2025-03-06 18:01:24 -05:00
"name": "extrude",
2025-03-13 23:38:51 -07:00
"start": 2113,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 2141,
"start": 2113,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-13 23:38:51 -07:00
"end": 2187,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
"4": [
{
2025-03-13 23:38:51 -07:00
"end": 2187,
"start": 2141,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Create the pegs on the bottom of the base",
"style": "line"
}
}
]
},
"startNodes": []
},
2025-03-13 23:38:51 -07:00
"start": 1725,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1719,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 2187,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 1719,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 2664,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 2199,
2025-03-06 18:01:24 -05:00
"name": "tubePattern",
2025-03-13 23:38:51 -07:00
"start": 2188,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-13 23:38:51 -07:00
"end": 2228,
"name": "shellExtrude",
"start": 2216,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
2025-03-13 23:38:51 -07:00
},
{
"end": 2237,
"raw": "'start'",
"start": 2230,
"type": "Literal",
"type": "Literal",
"value": "start"
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 2215,
2025-03-06 18:01:24 -05:00
"name": "startSketchOn",
2025-03-13 23:38:51 -07:00
"start": 2202,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 2238,
"start": 2202,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2265,
2025-03-06 18:01:24 -05:00
"name": "center",
2025-03-13 23:38:51 -07:00
"start": 2259,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
"argument": {
2025-03-13 23:38:51 -07:00
"end": 2318,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2305,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2300,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2286,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 2281,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2300,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2296,
2025-03-06 18:01:24 -05:00
"name": "wbumps",
2025-03-13 23:38:51 -07:00
"start": 2290,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2300,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 2299,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 2290,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 2281,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2305,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 2304,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 2281,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2318,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2314,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 2309,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2318,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 2317,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 2309,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 2281,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"end": 2318,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 2279,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"argument": {
2025-03-13 23:38:51 -07:00
"end": 2370,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2357,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2352,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2338,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 2333,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "*",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2352,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2348,
2025-03-06 18:01:24 -05:00
"name": "lbumps",
2025-03-13 23:38:51 -07:00
"start": 2342,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2352,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 2351,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 2342,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 2333,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2357,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 2356,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 2333,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2370,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2366,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 2361,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2370,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 2369,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 2361,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 2333,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"end": 2370,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 2331,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
}
],
2025-03-13 23:38:51 -07:00
"end": 2381,
"start": 2268,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2396,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-13 23:38:51 -07:00
"start": 2390,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 2411,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2407,
2025-03-06 18:01:24 -05:00
"name": "bumpDiam",
2025-03-13 23:38:51 -07:00
"start": 2399,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2411,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 2410,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 2399,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 2250,
2025-03-06 18:01:24 -05:00
"name": "circle",
2025-03-13 23:38:51 -07:00
"start": 2244,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 2418,
"start": 2244,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2452,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-13 23:38:51 -07:00
"start": 2448,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-13 23:38:51 -07:00
"end": 2457,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 2456,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 2460,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-13 23:38:51 -07:00
"start": 2459,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
2025-03-13 23:38:51 -07:00
"end": 2461,
"start": 2455,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2479,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-13 23:38:51 -07:00
"start": 2470,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 2492,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2488,
2025-03-06 18:01:24 -05:00
"name": "wbumps",
2025-03-13 23:38:51 -07:00
"start": 2482,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2492,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 2491,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 2482,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2509,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-13 23:38:51 -07:00
"start": 2501,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 2517,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 2512,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 2439,
2025-03-06 18:01:24 -05:00
"name": "patternLinear2d",
2025-03-13 23:38:51 -07:00
"start": 2424,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 2524,
"start": 2424,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2558,
2025-03-06 18:01:24 -05:00
"name": "axis",
2025-03-13 23:38:51 -07:00
"start": 2554,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
"elements": [
{
2025-03-13 23:38:51 -07:00
"end": 2563,
2025-03-06 18:01:24 -05:00
"raw": "0",
2025-03-13 23:38:51 -07:00
"start": 2562,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 2566,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 2565,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
2025-03-13 23:38:51 -07:00
"end": 2567,
"start": 2561,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2585,
2025-03-06 18:01:24 -05:00
"name": "instances",
2025-03-13 23:38:51 -07:00
"start": 2576,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 2598,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 2594,
2025-03-06 18:01:24 -05:00
"name": "lbumps",
2025-03-13 23:38:51 -07:00
"start": 2588,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 2598,
2025-03-06 18:01:24 -05:00
"raw": "1",
2025-03-13 23:38:51 -07:00
"start": 2597,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 2588,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2615,
2025-03-06 18:01:24 -05:00
"name": "distance",
2025-03-13 23:38:51 -07:00
"start": 2607,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 2623,
2025-03-06 18:01:24 -05:00
"name": "pitch",
2025-03-13 23:38:51 -07:00
"start": 2618,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 2545,
2025-03-06 18:01:24 -05:00
"name": "patternLinear2d",
2025-03-13 23:38:51 -07:00
"start": 2530,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 2630,
"start": 2530,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 2650,
2025-03-06 18:01:24 -05:00
"name": "length",
2025-03-13 23:38:51 -07:00
"start": 2644,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 2663,
"name": "bumpHeight",
"start": 2653,
"type": "Identifier",
"type": "Identifier"
2025-03-06 18:01:24 -05:00
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 2643,
2025-03-06 18:01:24 -05:00
"name": "extrude",
2025-03-13 23:38:51 -07:00
"start": 2636,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 2664,
"start": 2636,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
2025-03-13 23:38:51 -07:00
"end": 2664,
"start": 2202,
2025-03-06 18:01:24 -05:00
"type": "PipeExpression",
"type": "PipeExpression"
},
2025-03-13 23:38:51 -07:00
"start": 2188,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 2664,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 2188,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
}
],
2025-03-13 23:38:51 -07:00
"end": 2665,
2025-03-06 18:01:24 -05:00
"innerAttrs": [
{
"end": 271,
"name": {
"end": 247,
"name": "settings",
"start": 239,
"type": "Identifier"
},
"properties": [
{
"end": 270,
"key": {
"end": 265,
"name": "defaultLengthUnit",
"start": 248,
"type": "Identifier"
},
"start": 248,
"type": "ObjectProperty",
"value": {
"end": 270,
"name": "in",
"start": 268,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 238,
"type": "Annotation"
}
],
"nonCodeMeta": {
"nonCodeNodes": {
"0": [
{
2025-03-13 23:38:51 -07:00
"end": 328,
"start": 304,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "inlineComment",
"value": "number of bumps long",
"style": "line"
}
}
],
"1": [
{
2025-03-13 23:38:51 -07:00
"end": 363,
"start": 339,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "inlineComment",
"value": "number of bumps wide",
"style": "line"
}
}
],
"8": [
{
2025-03-13 23:38:51 -07:00
"end": 524,
"start": 504,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "inlineComment",
"value": "works out to 6.5",
"style": "line"
}
}
],
"10": [
{
2025-03-13 23:38:51 -07:00
"end": 682,
"start": 621,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Calculate the number of segments in the length and width",
"style": "line"
}
}
],
"12": [
{
2025-03-13 23:38:51 -07:00
"end": 820,
"start": 747,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Add assertions to ensure that the number of bumps are greater than 1",
"style": "line"
}
}
],
"14": [
{
2025-03-13 23:38:51 -07:00
"end": 962,
"start": 944,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Make the base",
"style": "line"
}
}
]
},
"startNodes": [
{
"end": 13,
"start": 0,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Lego Brick",
"style": "line"
}
},
{
"end": 223,
"start": 14,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "A standard Lego brick. This is a small, plastic construction block toy that can be interlocked with other blocks to build various structures, models, and figures. There are a lot of hacks used in this code.",
"style": "line"
}
},
{
"end": 225,
"start": 223,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 237,
"start": 225,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Set Units",
"style": "line"
}
},
{
"end": 273,
"start": 271,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 292,
"start": 273,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Define constants",
"style": "line"
}
}
]
},
"start": 0
}
}