Files
modeling-app/rust/kcl-lib/tests/kcl_samples/french-press/ast.snap
Adam Chalmers aea82e004a KCL: Convert x/y lines to use keyword arguments (#5615)
Previously, `xLine`, `xLineTo`, `yLine` and `yLineTo` used positional arguments. Now:

- `xLineTo` and `yLineTo` have been removed
- `xLine` and `yLine` both use keyword arguments:
  - `length`, optional (i.e. a relative distance along the X or Y axis)
  - `endAbsolute` optional (i.e. an absolute point along the X or Y axis)
  - `tag` optional
- Exactly one of `length` or `endAbsolute` must be given. Not both, not neither.

For example:

```
// Old way
|> xLine(6.04, %)
|> yLineTo(20, %, $base)

// New way
|> xLine(length = 6.04)
|> yLine(endAbsolute = 20, tag = $base)
```

This also improves some of the general-purpose keyword arguments code in modeling app's TS codebase.
2025-03-07 22:07:16 -06:00

7562 lines
249 KiB
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing french-press.kcl
---
{
"Ok": {
"body": [
{
"declaration": {
"end": 147,
"id": {
"end": 140,
"name": "carafeDiameter",
"start": 126,
"type": "Identifier"
},
"init": {
"end": 147,
"raw": "4.41",
"start": 143,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.41,
"suffix": "None"
}
},
"start": 126,
"type": "VariableDeclarator"
},
"end": 147,
"kind": "const",
"start": 126,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 167,
"id": {
"end": 160,
"name": "carafeHeight",
"start": 148,
"type": "Identifier"
},
"init": {
"end": 167,
"raw": "7.32",
"start": 163,
"type": "Literal",
"type": "Literal",
"value": {
"value": 7.32,
"suffix": "None"
}
},
"start": 148,
"type": "VariableDeclarator"
},
"end": 167,
"kind": "const",
"start": 148,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 190,
"id": {
"end": 183,
"name": "handleThickness",
"start": 168,
"type": "Identifier"
},
"init": {
"end": 190,
"raw": "0.65",
"start": 186,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.65,
"suffix": "None"
}
},
"start": 168,
"type": "VariableDeclarator"
},
"end": 190,
"kind": "const",
"start": 168,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 765,
"id": {
"end": 238,
"name": "sketch001",
"start": 229,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 259,
"raw": "'XZ'",
"start": 255,
"type": "Literal",
"type": "Literal",
"value": "XZ"
}
],
"callee": {
"end": 254,
"name": "startSketchOn",
"start": 241,
"type": "Identifier"
},
"end": 260,
"start": 241,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 300,
"left": {
"end": 296,
"name": "carafeDiameter",
"start": 282,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 300,
"raw": "2",
"start": 299,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 282,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 305,
"raw": "5.7",
"start": 302,
"type": "Literal",
"type": "Literal",
"value": {
"value": 5.7,
"suffix": "None"
}
}
],
"end": 306,
"start": 281,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 309,
"start": 308,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 280,
"name": "startProfileAt",
"start": 266,
"type": "Identifier"
},
"end": 310,
"start": 266,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 329,
"raw": "0",
"start": 328,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 334,
"raw": "0.1",
"start": 331,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.1,
"suffix": "None"
}
}
],
"end": 335,
"start": 327,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 338,
"start": 337,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 361,
"start": 340,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentA001"
}
],
"callee": {
"end": 326,
"name": "angledLine",
"start": 316,
"type": "Identifier"
},
"end": 362,
"start": 316,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 421,
"left": {
"arguments": [
{
"end": 415,
"name": "rectangleSegmentA001",
"start": 395,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 394,
"name": "segAng",
"start": 388,
"type": "Identifier"
},
"end": 416,
"start": 388,
"type": "CallExpression",
"type": "CallExpression"
},
"operator": "-",
"right": {
"end": 421,
"raw": "90",
"start": 419,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
},
"start": 388,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"argument": {
"end": 435,
"raw": "0.75",
"start": 431,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.75,
"suffix": "None"
}
},
"end": 435,
"operator": "-",
"start": 430,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
],
"end": 442,
"start": 379,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 445,
"start": 444,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 468,
"start": 447,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentB001"
}
],
"callee": {
"end": 378,
"name": "angledLine",
"start": 368,
"type": "Identifier"
},
"end": 469,
"start": 368,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"arguments": [
{
"end": 522,
"name": "rectangleSegmentA001",
"start": 502,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 501,
"name": "segAng",
"start": 495,
"type": "Identifier"
},
"end": 523,
"start": 495,
"type": "CallExpression",
"type": "CallExpression"
},
{
"argument": {
"arguments": [
{
"end": 560,
"name": "rectangleSegmentA001",
"start": 540,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 539,
"name": "segLen",
"start": 533,
"type": "Identifier"
},
"end": 561,
"start": 533,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 561,
"operator": "-",
"start": 532,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
],
"end": 568,
"start": 486,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 571,
"start": 570,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 594,
"start": 573,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "rectangleSegmentC001"
}
],
"callee": {
"end": 485,
"name": "angledLine",
"start": 475,
"type": "Identifier"
},
"end": 595,
"start": 475,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 617,
"name": "endAbsolute",
"start": 606,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 636,
"start": 635,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 634,
"name": "profileStartX",
"start": 621,
"type": "Identifier"
},
"end": 637,
"start": 621,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 654,
"start": 653,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 652,
"name": "profileStartY",
"start": 639,
"type": "Identifier"
},
"end": 655,
"start": 639,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 656,
"start": 620,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 605,
"name": "line",
"start": 601,
"type": "Identifier"
},
"end": 657,
"start": 601,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 668,
"name": "close",
"start": 663,
"type": "Identifier"
},
"end": 670,
"start": 663,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 711,
"properties": [
{
"end": 697,
"key": {
"end": 691,
"name": "angle",
"start": 686,
"type": "Identifier"
},
"start": 686,
"type": "ObjectProperty",
"value": {
"end": 697,
"raw": "360",
"start": 694,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"end": 709,
"key": {
"end": 703,
"name": "axis",
"start": 699,
"type": "Identifier"
},
"start": 699,
"type": "ObjectProperty",
"value": {
"end": 709,
"raw": "'Y'",
"start": 706,
"type": "Literal",
"type": "Literal",
"value": "Y"
}
}
],
"start": 684,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 714,
"start": 713,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 683,
"name": "revolve",
"start": 676,
"type": "Identifier"
},
"end": 715,
"start": 676,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 765,
"nonCodeMeta": {
"nonCodeNodes": {
"7": [
{
"end": 765,
"start": 715,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Create an angled plane to sketch the supports",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 241,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 229,
"type": "VariableDeclarator"
},
"end": 765,
"kind": "const",
"start": 229,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 911,
"id": {
"end": 774,
"name": "plane001",
"start": 766,
"type": "Identifier"
},
"init": {
"end": 911,
"properties": [
{
"end": 909,
"key": {
"end": 786,
"name": "plane",
"start": 781,
"type": "Identifier"
},
"start": 781,
"type": "ObjectProperty",
"value": {
"end": 909,
"properties": [
{
"end": 822,
"key": {
"end": 801,
"name": "origin",
"start": 795,
"type": "Identifier"
},
"start": 795,
"type": "ObjectProperty",
"value": {
"elements": [
{
"argument": {
"end": 810,
"raw": "0.26",
"start": 806,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.26,
"suffix": "None"
}
},
"end": 810,
"operator": "-",
"start": 805,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 816,
"raw": "0.26",
"start": 812,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.26,
"suffix": "None"
}
},
{
"end": 821,
"raw": "0.0",
"start": 818,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 822,
"start": 804,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 847,
"key": {
"end": 833,
"name": "xAxis",
"start": 828,
"type": "Identifier"
},
"start": 828,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 838,
"raw": "1",
"start": 837,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 841,
"raw": "1",
"start": 840,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 846,
"raw": "0.0",
"start": 843,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 847,
"start": 836,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 876,
"key": {
"end": 858,
"name": "yAxis",
"start": 853,
"type": "Identifier"
},
"start": 853,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 865,
"raw": "0.0",
"start": 862,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 870,
"raw": "0.0",
"start": 867,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 875,
"raw": "1.0",
"start": 872,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 876,
"start": 861,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 905,
"key": {
"end": 887,
"name": "zAxis",
"start": 882,
"type": "Identifier"
},
"start": 882,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 894,
"raw": "1.0",
"start": 891,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"end": 899,
"raw": "0.0",
"start": 896,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 904,
"raw": "0.0",
"start": 901,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 905,
"start": 890,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"start": 789,
"type": "ObjectExpression",
"type": "ObjectExpression"
}
}
],
"start": 777,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"start": 766,
"type": "VariableDeclarator"
},
"end": 911,
"kind": "const",
"start": 766,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2356,
"id": {
"end": 961,
"name": "sketch002",
"start": 952,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 986,
"name": "plane001",
"start": 978,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 977,
"name": "startSketchOn",
"start": 964,
"type": "Identifier"
},
"end": 987,
"start": 964,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 1027,
"left": {
"end": 1023,
"name": "carafeDiameter",
"start": 1009,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 1027,
"raw": "2",
"start": 1026,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 1009,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 1032,
"raw": "5.7",
"start": 1029,
"type": "Literal",
"type": "Literal",
"value": {
"value": 5.7,
"suffix": "None"
}
}
],
"end": 1033,
"start": 1008,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 1036,
"start": 1035,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1007,
"name": "startProfileAt",
"start": 993,
"type": "Identifier"
},
"end": 1037,
"start": 993,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1055,
"name": "length",
"start": 1049,
"type": "Identifier"
},
"arg": {
"end": 1061,
"raw": "0.1",
"start": 1058,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.1,
"suffix": "None"
}
}
}
],
"callee": {
"end": 1048,
"name": "xLine",
"start": 1043,
"type": "Identifier"
},
"end": 1062,
"start": 1043,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1080,
"name": "length",
"start": 1074,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 1087,
"raw": "5.2",
"start": 1084,
"type": "Literal",
"type": "Literal",
"value": {
"value": 5.2,
"suffix": "None"
}
},
"end": 1087,
"operator": "-",
"start": 1083,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 1092,
"name": "tag",
"start": 1089,
"type": "Identifier"
},
"arg": {
"end": 1101,
"start": 1095,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "edge1"
}
}
],
"callee": {
"end": 1073,
"name": "yLine",
"start": 1068,
"type": "Identifier"
},
"end": 1102,
"start": 1068,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 1188,
"properties": [
{
"end": 1137,
"key": {
"end": 1131,
"name": "angleStart",
"start": 1121,
"type": "Identifier"
},
"start": 1121,
"type": "ObjectProperty",
"value": {
"end": 1137,
"raw": "180",
"start": 1134,
"type": "Literal",
"type": "Literal",
"value": {
"value": 180.0,
"suffix": "None"
}
}
},
{
"end": 1160,
"key": {
"end": 1154,
"name": "angleEnd",
"start": 1146,
"type": "Identifier"
},
"start": 1146,
"type": "ObjectProperty",
"value": {
"end": 1160,
"raw": "205",
"start": 1157,
"type": "Literal",
"type": "Literal",
"value": {
"value": 205.0,
"suffix": "None"
}
}
},
{
"end": 1181,
"key": {
"end": 1175,
"name": "radius",
"start": 1169,
"type": "Identifier"
},
"start": 1169,
"type": "ObjectProperty",
"value": {
"end": 1181,
"raw": "0.3",
"start": 1178,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.3,
"suffix": "None"
}
}
}
],
"start": 1112,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1191,
"start": 1190,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1111,
"name": "arc",
"start": 1108,
"type": "Identifier"
},
"end": 1192,
"start": 1108,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1238,
"properties": [
{
"end": 1222,
"key": {
"end": 1216,
"name": "angle",
"start": 1211,
"type": "Identifier"
},
"start": 1211,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 1222,
"raw": "60",
"start": 1220,
"type": "Literal",
"type": "Literal",
"value": {
"value": 60.0,
"suffix": "None"
}
},
"end": 1222,
"operator": "-",
"start": 1219,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 1236,
"key": {
"end": 1230,
"name": "length",
"start": 1224,
"type": "Identifier"
},
"start": 1224,
"type": "ObjectProperty",
"value": {
"end": 1236,
"raw": "0.6",
"start": 1233,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.6,
"suffix": "None"
}
}
}
],
"start": 1209,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1241,
"start": 1240,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 1249,
"start": 1243,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "edge2"
}
],
"callee": {
"end": 1208,
"name": "angledLine",
"start": 1198,
"type": "Identifier"
},
"end": 1250,
"start": 1198,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1336,
"properties": [
{
"end": 1284,
"key": {
"end": 1279,
"name": "angleStart",
"start": 1269,
"type": "Identifier"
},
"start": 1269,
"type": "ObjectProperty",
"value": {
"end": 1284,
"raw": "30",
"start": 1282,
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
}
},
{
"end": 1308,
"key": {
"end": 1301,
"name": "angleEnd",
"start": 1293,
"type": "Identifier"
},
"start": 1293,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 1308,
"raw": "120",
"start": 1305,
"type": "Literal",
"type": "Literal",
"value": {
"value": 120.0,
"suffix": "None"
}
},
"end": 1308,
"operator": "-",
"start": 1304,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 1329,
"key": {
"end": 1323,
"name": "radius",
"start": 1317,
"type": "Identifier"
},
"start": 1317,
"type": "ObjectProperty",
"value": {
"end": 1329,
"raw": "0.6",
"start": 1326,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.6,
"suffix": "None"
}
}
}
],
"start": 1260,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1339,
"start": 1338,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1259,
"name": "arc",
"start": 1256,
"type": "Identifier"
},
"end": 1340,
"start": 1256,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1386,
"properties": [
{
"end": 1373,
"key": {
"end": 1367,
"name": "angle",
"start": 1362,
"type": "Identifier"
},
"start": 1362,
"type": "ObjectProperty",
"value": {
"end": 1373,
"raw": "150",
"start": 1370,
"type": "Literal",
"type": "Literal",
"value": {
"value": 150.0,
"suffix": "None"
}
}
},
{
"end": 1384,
"key": {
"end": 1377,
"name": "to",
"start": 1375,
"type": "Identifier"
},
"start": 1375,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 1384,
"raw": "0.2",
"start": 1381,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.2,
"suffix": "None"
}
},
"end": 1384,
"operator": "-",
"start": 1380,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"start": 1360,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1389,
"start": 1388,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 1397,
"start": 1391,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "edge3"
}
],
"callee": {
"end": 1359,
"name": "angledLineToY",
"start": 1346,
"type": "Identifier"
},
"end": 1398,
"start": 1346,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1482,
"properties": [
{
"end": 1432,
"key": {
"end": 1427,
"name": "angleStart",
"start": 1417,
"type": "Identifier"
},
"start": 1417,
"type": "ObjectProperty",
"value": {
"end": 1432,
"raw": "60",
"start": 1430,
"type": "Literal",
"type": "Literal",
"value": {
"value": 60.0,
"suffix": "None"
}
}
},
{
"end": 1454,
"key": {
"end": 1449,
"name": "angleEnd",
"start": 1441,
"type": "Identifier"
},
"start": 1441,
"type": "ObjectProperty",
"value": {
"end": 1454,
"raw": "90",
"start": 1452,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
"end": 1475,
"key": {
"end": 1469,
"name": "radius",
"start": 1463,
"type": "Identifier"
},
"start": 1463,
"type": "ObjectProperty",
"value": {
"end": 1475,
"raw": "0.5",
"start": 1472,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.5,
"suffix": "None"
}
}
}
],
"start": 1408,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1485,
"start": 1484,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1407,
"name": "arc",
"start": 1404,
"type": "Identifier"
},
"end": 1486,
"start": 1404,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1509,
"name": "endAbsolute",
"start": 1498,
"type": "Identifier"
},
"arg": {
"end": 1515,
"raw": "0.1",
"start": 1512,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.1,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 1520,
"name": "tag",
"start": 1517,
"type": "Identifier"
},
"arg": {
"end": 1531,
"start": 1523,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "edgeLen"
}
}
],
"callee": {
"end": 1497,
"name": "xLine",
"start": 1492,
"type": "Identifier"
},
"end": 1532,
"start": 1492,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1550,
"name": "length",
"start": 1544,
"type": "Identifier"
},
"arg": {
"end": 1556,
"raw": "0.1",
"start": 1553,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.1,
"suffix": "None"
}
}
}
],
"callee": {
"end": 1543,
"name": "yLine",
"start": 1538,
"type": "Identifier"
},
"end": 1557,
"start": 1538,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 1575,
"name": "length",
"start": 1569,
"type": "Identifier"
},
"arg": {
"end": 1601,
"left": {
"arguments": [
{
"end": 1592,
"name": "edgeLen",
"start": 1585,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1584,
"name": "segLen",
"start": 1578,
"type": "Identifier"
},
"end": 1593,
"start": 1578,
"type": "CallExpression",
"type": "CallExpression"
},
"operator": "+",
"right": {
"end": 1601,
"raw": "0.035",
"start": 1596,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.035,
"suffix": "None"
}
},
"start": 1578,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 1606,
"name": "tag",
"start": 1603,
"type": "Identifier"
},
"arg": {
"end": 1615,
"start": 1609,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "edge4"
}
}
],
"callee": {
"end": 1568,
"name": "xLine",
"start": 1563,
"type": "Identifier"
},
"end": 1616,
"start": 1563,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 1700,
"properties": [
{
"end": 1650,
"key": {
"end": 1645,
"name": "angleStart",
"start": 1635,
"type": "Identifier"
},
"start": 1635,
"type": "ObjectProperty",
"value": {
"end": 1650,
"raw": "90",
"start": 1648,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
"end": 1672,
"key": {
"end": 1667,
"name": "angleEnd",
"start": 1659,
"type": "Identifier"
},
"start": 1659,
"type": "ObjectProperty",
"value": {
"end": 1672,
"raw": "60",
"start": 1670,
"type": "Literal",
"type": "Literal",
"value": {
"value": 60.0,
"suffix": "None"
}
}
},
{
"end": 1693,
"key": {
"end": 1687,
"name": "radius",
"start": 1681,
"type": "Identifier"
},
"start": 1681,
"type": "ObjectProperty",
"value": {
"end": 1693,
"raw": "0.6",
"start": 1690,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.6,
"suffix": "None"
}
}
}
],
"start": 1626,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1703,
"start": 1702,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1625,
"name": "arc",
"start": 1622,
"type": "Identifier"
},
"end": 1704,
"start": 1622,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1788,
"properties": [
{
"end": 1741,
"key": {
"end": 1735,
"name": "angle",
"start": 1730,
"type": "Identifier"
},
"start": 1730,
"type": "ObjectProperty",
"value": {
"end": 1741,
"raw": "150",
"start": 1738,
"type": "Literal",
"type": "Literal",
"value": {
"value": 150.0,
"suffix": "None"
}
}
},
{
"end": 1781,
"key": {
"end": 1756,
"name": "length",
"start": 1750,
"type": "Identifier"
},
"start": 1750,
"type": "ObjectProperty",
"value": {
"end": 1781,
"left": {
"argument": {
"arguments": [
{
"end": 1772,
"name": "edge3",
"start": 1767,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1766,
"name": "segLen",
"start": 1760,
"type": "Identifier"
},
"end": 1773,
"start": 1760,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 1773,
"operator": "-",
"start": 1759,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "+",
"right": {
"end": 1781,
"raw": "0.035",
"start": 1776,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.035,
"suffix": "None"
}
},
"start": 1759,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"start": 1721,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1791,
"start": 1790,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 1799,
"start": 1793,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "edge5"
}
],
"callee": {
"end": 1720,
"name": "angledLine",
"start": 1710,
"type": "Identifier"
},
"end": 1800,
"start": 1710,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1886,
"properties": [
{
"end": 1836,
"key": {
"end": 1829,
"name": "angleStart",
"start": 1819,
"type": "Identifier"
},
"start": 1819,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 1836,
"raw": "120",
"start": 1833,
"type": "Literal",
"type": "Literal",
"value": {
"value": 120.0,
"suffix": "None"
}
},
"end": 1836,
"operator": "-",
"start": 1832,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 1858,
"key": {
"end": 1853,
"name": "angleEnd",
"start": 1845,
"type": "Identifier"
},
"start": 1845,
"type": "ObjectProperty",
"value": {
"end": 1858,
"raw": "30",
"start": 1856,
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
}
},
{
"end": 1879,
"key": {
"end": 1873,
"name": "radius",
"start": 1867,
"type": "Identifier"
},
"start": 1867,
"type": "ObjectProperty",
"value": {
"end": 1879,
"raw": "0.5",
"start": 1876,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.5,
"suffix": "None"
}
}
}
],
"start": 1810,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1889,
"start": 1888,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1809,
"name": "arc",
"start": 1806,
"type": "Identifier"
},
"end": 1890,
"start": 1806,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 1974,
"properties": [
{
"end": 1927,
"key": {
"end": 1921,
"name": "angle",
"start": 1916,
"type": "Identifier"
},
"start": 1916,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 1927,
"raw": "60",
"start": 1925,
"type": "Literal",
"type": "Literal",
"value": {
"value": 60.0,
"suffix": "None"
}
},
"end": 1927,
"operator": "-",
"start": 1924,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 1967,
"key": {
"end": 1942,
"name": "length",
"start": 1936,
"type": "Identifier"
},
"start": 1936,
"type": "ObjectProperty",
"value": {
"end": 1967,
"left": {
"argument": {
"arguments": [
{
"end": 1958,
"name": "edge2",
"start": 1953,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 1952,
"name": "segLen",
"start": 1946,
"type": "Identifier"
},
"end": 1959,
"start": 1946,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 1959,
"operator": "-",
"start": 1945,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "+",
"right": {
"end": 1967,
"raw": "0.035",
"start": 1962,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.035,
"suffix": "None"
}
},
"start": 1945,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"start": 1907,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 1977,
"start": 1976,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 1985,
"start": 1979,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "edge6"
}
],
"callee": {
"end": 1906,
"name": "angledLine",
"start": 1896,
"type": "Identifier"
},
"end": 1986,
"start": 1896,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 2072,
"properties": [
{
"end": 2021,
"key": {
"end": 2015,
"name": "angleStart",
"start": 2005,
"type": "Identifier"
},
"start": 2005,
"type": "ObjectProperty",
"value": {
"end": 2021,
"raw": "205",
"start": 2018,
"type": "Literal",
"type": "Literal",
"value": {
"value": 205.0,
"suffix": "None"
}
}
},
{
"end": 2044,
"key": {
"end": 2038,
"name": "angleEnd",
"start": 2030,
"type": "Identifier"
},
"start": 2030,
"type": "ObjectProperty",
"value": {
"end": 2044,
"raw": "180",
"start": 2041,
"type": "Literal",
"type": "Literal",
"value": {
"value": 180.0,
"suffix": "None"
}
}
},
{
"end": 2065,
"key": {
"end": 2059,
"name": "radius",
"start": 2053,
"type": "Identifier"
},
"start": 2053,
"type": "ObjectProperty",
"value": {
"end": 2065,
"raw": "0.6",
"start": 2062,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.6,
"suffix": "None"
}
}
}
],
"start": 1996,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 2075,
"start": 2074,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 1995,
"name": "arc",
"start": 1992,
"type": "Identifier"
},
"end": 2076,
"start": 1992,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2098,
"name": "endAbsolute",
"start": 2087,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 2117,
"start": 2116,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2115,
"name": "profileStartX",
"start": 2102,
"type": "Identifier"
},
"end": 2118,
"start": 2102,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 2135,
"start": 2134,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2133,
"name": "profileStartY",
"start": 2120,
"type": "Identifier"
},
"end": 2136,
"start": 2120,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 2137,
"start": 2101,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 2086,
"name": "line",
"start": 2082,
"type": "Identifier"
},
"end": 2138,
"start": 2082,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 2149,
"name": "close",
"start": 2144,
"type": "Identifier"
},
"end": 2151,
"start": 2144,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2171,
"name": "length",
"start": 2165,
"type": "Identifier"
},
"arg": {
"end": 2178,
"raw": "0.75",
"start": 2174,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.75,
"suffix": "None"
}
}
}
],
"callee": {
"end": 2164,
"name": "extrude",
"start": 2157,
"type": "Identifier"
},
"end": 2179,
"start": 2157,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2215,
"name": "axis",
"start": 2211,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 2220,
"raw": "0",
"start": 2219,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 2223,
"raw": "0",
"start": 2222,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 2226,
"raw": "1",
"start": 2225,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 2227,
"start": 2218,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2242,
"name": "center",
"start": 2236,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 2247,
"raw": "0",
"start": 2246,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 2250,
"raw": "0",
"start": 2249,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 2253,
"raw": "0",
"start": 2252,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 2254,
"start": 2245,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2272,
"name": "instances",
"start": 2263,
"type": "Identifier"
},
"arg": {
"end": 2276,
"raw": "4",
"start": 2275,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 2295,
"name": "arcDegrees",
"start": 2285,
"type": "Identifier"
},
"arg": {
"end": 2301,
"raw": "360",
"start": 2298,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 2326,
"name": "rotateDuplicates",
"start": 2310,
"type": "Identifier"
},
"arg": {
"end": 2333,
"raw": "true",
"start": 2329,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 2202,
"name": "patternCircular3d",
"start": 2185,
"type": "Identifier"
},
"end": 2340,
"start": 2185,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 2356,
"nonCodeMeta": {
"nonCodeNodes": {
"20": [
{
"end": 2356,
"start": 2340,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Cross plate",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 964,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 952,
"type": "VariableDeclarator"
},
"end": 2356,
"kind": "const",
"start": 952,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2499,
"id": {
"end": 2366,
"name": "sketch003",
"start": 2357,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2407,
"name": "offset",
"start": 2401,
"type": "Identifier"
},
"arg": {
"end": 2411,
"raw": "1",
"start": 2410,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
}
],
"callee": {
"end": 2394,
"name": "offsetPlane",
"start": 2383,
"type": "Identifier"
},
"end": 2412,
"start": 2383,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 2399,
"raw": "'XY'",
"start": 2395,
"type": "Literal",
"type": "Literal",
"value": "XY"
}
}
],
"callee": {
"end": 2382,
"name": "startSketchOn",
"start": 2369,
"type": "Identifier"
},
"end": 2413,
"start": 2369,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2440,
"name": "center",
"start": 2434,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 2445,
"raw": "0",
"start": 2444,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 2448,
"raw": "0",
"start": 2447,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 2449,
"start": 2443,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2464,
"name": "radius",
"start": 2458,
"type": "Identifier"
},
"arg": {
"end": 2492,
"left": {
"end": 2485,
"left": {
"end": 2481,
"name": "carafeDiameter",
"start": 2467,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 2485,
"raw": "2",
"start": 2484,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 2467,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 2492,
"raw": "0.15",
"start": 2488,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.15,
"suffix": "None"
}
},
"start": 2467,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 2425,
"name": "circle",
"start": 2419,
"type": "Identifier"
},
"end": 2499,
"start": 2419,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 2499,
"start": 2369,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 2357,
"type": "VariableDeclarator"
},
"end": 2499,
"kind": "const",
"start": 2357,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2548,
"id": {
"end": 2511,
"name": "extrude001",
"start": 2501,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2539,
"name": "length",
"start": 2533,
"type": "Identifier"
},
"arg": {
"end": 2547,
"raw": "0.050",
"start": 2542,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.05,
"suffix": "None"
}
}
}
],
"callee": {
"end": 2521,
"name": "extrude",
"start": 2514,
"type": "Identifier"
},
"end": 2548,
"start": 2514,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 2531,
"name": "sketch003",
"start": 2522,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 2501,
"type": "VariableDeclarator"
},
"end": 2548,
"kind": "const",
"start": 2501,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 2952,
"id": {
"end": 2559,
"name": "sketch004",
"start": 2550,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 2586,
"name": "extrude001",
"start": 2576,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 2593,
"raw": "'END'",
"start": 2588,
"type": "Literal",
"type": "Literal",
"value": "END"
}
],
"callee": {
"end": 2575,
"name": "startSketchOn",
"start": 2562,
"type": "Identifier"
},
"end": 2594,
"start": 2562,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 2619,
"raw": "0.3",
"start": 2616,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.3,
"suffix": "None"
}
},
{
"end": 2625,
"raw": "0.17",
"start": 2621,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.17,
"suffix": "None"
}
}
],
"end": 2626,
"start": 2615,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 2629,
"start": 2628,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2614,
"name": "startProfileAt",
"start": 2600,
"type": "Identifier"
},
"end": 2630,
"start": 2600,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2648,
"name": "length",
"start": 2642,
"type": "Identifier"
},
"arg": {
"end": 2654,
"raw": "1.2",
"start": 2651,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.2,
"suffix": "None"
}
}
}
],
"callee": {
"end": 2641,
"name": "yLine",
"start": 2636,
"type": "Identifier"
},
"end": 2655,
"start": 2636,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 2740,
"properties": [
{
"end": 2689,
"key": {
"end": 2684,
"name": "angleStart",
"start": 2674,
"type": "Identifier"
},
"start": 2674,
"type": "ObjectProperty",
"value": {
"end": 2689,
"raw": "90",
"start": 2687,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
"end": 2712,
"key": {
"end": 2706,
"name": "angleEnd",
"start": 2698,
"type": "Identifier"
},
"start": 2698,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 2712,
"raw": "30",
"start": 2710,
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
},
"end": 2712,
"operator": "-",
"start": 2709,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 2733,
"key": {
"end": 2727,
"name": "radius",
"start": 2721,
"type": "Identifier"
},
"start": 2721,
"type": "ObjectProperty",
"value": {
"end": 2733,
"raw": "1.2",
"start": 2730,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.2,
"suffix": "None"
}
}
}
],
"start": 2665,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 2743,
"start": 2742,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2664,
"name": "arc",
"start": 2661,
"type": "Identifier"
},
"end": 2744,
"start": 2661,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2766,
"name": "endAbsolute",
"start": 2755,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 2785,
"start": 2784,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2783,
"name": "profileStartX",
"start": 2770,
"type": "Identifier"
},
"end": 2786,
"start": 2770,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 2803,
"start": 2802,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 2801,
"name": "profileStartY",
"start": 2788,
"type": "Identifier"
},
"end": 2804,
"start": 2788,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 2805,
"start": 2769,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 2754,
"name": "line",
"start": 2750,
"type": "Identifier"
},
"end": 2806,
"start": 2750,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 2817,
"name": "close",
"start": 2812,
"type": "Identifier"
},
"end": 2819,
"start": 2812,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2857,
"name": "center",
"start": 2851,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 2862,
"raw": "0",
"start": 2861,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 2865,
"raw": "0",
"start": 2864,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 2866,
"start": 2860,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 2884,
"name": "instances",
"start": 2875,
"type": "Identifier"
},
"arg": {
"end": 2888,
"raw": "3",
"start": 2887,
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 2907,
"name": "arcDegrees",
"start": 2897,
"type": "Identifier"
},
"arg": {
"end": 2913,
"raw": "360",
"start": 2910,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 2938,
"name": "rotateDuplicates",
"start": 2922,
"type": "Identifier"
},
"arg": {
"end": 2945,
"raw": "true",
"start": 2941,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 2842,
"name": "patternCircular2d",
"start": 2825,
"type": "Identifier"
},
"end": 2952,
"start": 2825,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 2952,
"start": 2562,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 2550,
"type": "VariableDeclarator"
},
"end": 2952,
"kind": "const",
"start": 2550,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 3002,
"id": {
"end": 2964,
"name": "extrude002",
"start": 2954,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 2992,
"name": "length",
"start": 2986,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 3001,
"raw": "0.050",
"start": 2996,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.05,
"suffix": "None"
}
},
"end": 3001,
"operator": "-",
"start": 2995,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 2974,
"name": "extrude",
"start": 2967,
"type": "Identifier"
},
"end": 3002,
"start": 2967,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 2984,
"name": "sketch004",
"start": 2975,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 2954,
"type": "VariableDeclarator"
},
"end": 3002,
"kind": "const",
"start": 2954,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 3506,
"id": {
"end": 3030,
"name": "sketch005",
"start": 3021,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 3051,
"raw": "'XZ'",
"start": 3047,
"type": "Literal",
"type": "Literal",
"value": "XZ"
}
],
"callee": {
"end": 3046,
"name": "startSketchOn",
"start": 3033,
"type": "Identifier"
},
"end": 3052,
"start": 3033,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 3078,
"raw": "0.15",
"start": 3074,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.15,
"suffix": "None"
}
},
{
"end": 3084,
"raw": "1.11",
"start": 3080,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.11,
"suffix": "None"
}
}
],
"end": 3085,
"start": 3073,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 3088,
"start": 3087,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3072,
"name": "startProfileAt",
"start": 3058,
"type": "Identifier"
},
"end": 3089,
"start": 3058,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3112,
"name": "endAbsolute",
"start": 3101,
"type": "Identifier"
},
"arg": {
"end": 3139,
"left": {
"end": 3133,
"left": {
"end": 3129,
"name": "carafeDiameter",
"start": 3115,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 3133,
"raw": "2",
"start": 3132,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 3115,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 3139,
"raw": "0.2",
"start": 3136,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.2,
"suffix": "None"
}
},
"start": 3115,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 3100,
"name": "xLine",
"start": 3095,
"type": "Identifier"
},
"end": 3140,
"start": 3095,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 3225,
"properties": [
{
"end": 3179,
"key": {
"end": 3174,
"name": "angle",
"start": 3169,
"type": "Identifier"
},
"start": 3169,
"type": "ObjectProperty",
"value": {
"end": 3179,
"raw": "30",
"start": 3177,
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
}
},
{
"end": 3218,
"key": {
"end": 3190,
"name": "to",
"start": 3188,
"type": "Identifier"
},
"start": 3188,
"type": "ObjectProperty",
"value": {
"end": 3218,
"left": {
"end": 3211,
"left": {
"end": 3207,
"name": "carafeDiameter",
"start": 3193,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 3211,
"raw": "2",
"start": 3210,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 3193,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 3218,
"raw": "0.07",
"start": 3214,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.07,
"suffix": "None"
}
},
"start": 3193,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"start": 3160,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 3228,
"start": 3227,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
},
{
"end": 3235,
"start": 3230,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "seg1"
}
],
"callee": {
"end": 3159,
"name": "angledLineToX",
"start": 3146,
"type": "Identifier"
},
"end": 3236,
"start": 3146,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 3284,
"properties": [
{
"end": 3266,
"key": {
"end": 3260,
"name": "angle",
"start": 3255,
"type": "Identifier"
},
"start": 3255,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 3266,
"raw": "60",
"start": 3264,
"type": "Literal",
"type": "Literal",
"value": {
"value": 60.0,
"suffix": "None"
}
},
"end": 3266,
"operator": "-",
"start": 3263,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
},
{
"end": 3282,
"key": {
"end": 3274,
"name": "length",
"start": 3268,
"type": "Identifier"
},
"start": 3268,
"type": "ObjectProperty",
"value": {
"end": 3282,
"raw": "0.050",
"start": 3277,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.05,
"suffix": "None"
}
}
}
],
"start": 3253,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 3287,
"start": 3286,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3252,
"name": "angledLine",
"start": 3242,
"type": "Identifier"
},
"end": 3288,
"start": 3242,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 3343,
"properties": [
{
"end": 3317,
"key": {
"end": 3312,
"name": "angle",
"start": 3307,
"type": "Identifier"
},
"start": 3307,
"type": "ObjectProperty",
"value": {
"end": 3317,
"raw": "30",
"start": 3315,
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
}
},
{
"end": 3341,
"key": {
"end": 3325,
"name": "length",
"start": 3319,
"type": "Identifier"
},
"start": 3319,
"type": "ObjectProperty",
"value": {
"argument": {
"arguments": [
{
"end": 3340,
"name": "seg1",
"start": 3336,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"end": 3335,
"name": "segLen",
"start": 3329,
"type": "Identifier"
},
"end": 3341,
"start": 3329,
"type": "CallExpression",
"type": "CallExpression"
},
"end": 3341,
"operator": "-",
"start": 3328,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"start": 3305,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 3346,
"start": 3345,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3304,
"name": "angledLine",
"start": 3294,
"type": "Identifier"
},
"end": 3347,
"start": 3294,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3370,
"name": "endAbsolute",
"start": 3359,
"type": "Identifier"
},
"arg": {
"end": 3377,
"raw": "0.15",
"start": 3373,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.15,
"suffix": "None"
}
}
}
],
"callee": {
"end": 3358,
"name": "xLine",
"start": 3353,
"type": "Identifier"
},
"end": 3378,
"start": 3353,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3400,
"name": "endAbsolute",
"start": 3389,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 3419,
"start": 3418,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3417,
"name": "profileStartX",
"start": 3404,
"type": "Identifier"
},
"end": 3420,
"start": 3404,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 3437,
"start": 3436,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3435,
"name": "profileStartY",
"start": 3422,
"type": "Identifier"
},
"end": 3438,
"start": 3422,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 3439,
"start": 3403,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 3388,
"name": "line",
"start": 3384,
"type": "Identifier"
},
"end": 3440,
"start": 3384,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 3451,
"name": "close",
"start": 3446,
"type": "Identifier"
},
"end": 3453,
"start": 3446,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 3481,
"properties": [
{
"end": 3479,
"key": {
"end": 3473,
"name": "axis",
"start": 3469,
"type": "Identifier"
},
"start": 3469,
"type": "ObjectProperty",
"value": {
"end": 3479,
"raw": "'y'",
"start": 3476,
"type": "Literal",
"type": "Literal",
"value": "y"
}
}
],
"start": 3467,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 3484,
"start": 3483,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3466,
"name": "revolve",
"start": 3459,
"type": "Identifier"
},
"end": 3485,
"start": 3459,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 3506,
"nonCodeMeta": {
"nonCodeNodes": {
"9": [
{
"end": 3506,
"start": 3485,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Plunger and stem",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 3033,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 3021,
"type": "VariableDeclarator"
},
"end": 3506,
"kind": "const",
"start": 3021,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 3900,
"id": {
"end": 3516,
"name": "sketch006",
"start": 3507,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 3537,
"raw": "'XZ'",
"start": 3533,
"type": "Literal",
"type": "Literal",
"value": "XZ"
}
],
"callee": {
"end": 3532,
"name": "startSketchOn",
"start": 3519,
"type": "Identifier"
},
"end": 3538,
"start": 3519,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 3563,
"raw": "0.1",
"start": 3560,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.1,
"suffix": "None"
}
},
{
"end": 3566,
"raw": "1",
"start": 3565,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 3567,
"start": 3559,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 3570,
"start": 3569,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3558,
"name": "startProfileAt",
"start": 3544,
"type": "Identifier"
},
"end": 3571,
"start": 3544,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3585,
"name": "end",
"start": 3582,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 3592,
"raw": "0.1",
"start": 3589,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.1,
"suffix": "None"
}
},
{
"end": 3595,
"raw": "0",
"start": 3594,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 3596,
"start": 3588,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 3581,
"name": "line",
"start": 3577,
"type": "Identifier"
},
"end": 3597,
"start": 3577,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 3642,
"properties": [
{
"end": 3629,
"key": {
"end": 3624,
"name": "angle",
"start": 3619,
"type": "Identifier"
},
"start": 3619,
"type": "ObjectProperty",
"value": {
"end": 3629,
"raw": "10",
"start": 3627,
"type": "Literal",
"type": "Literal",
"value": {
"value": 10.0,
"suffix": "None"
}
}
},
{
"end": 3640,
"key": {
"end": 3633,
"name": "to",
"start": 3631,
"type": "Identifier"
},
"start": 3631,
"type": "ObjectProperty",
"value": {
"end": 3640,
"raw": "0.05",
"start": 3636,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.05,
"suffix": "None"
}
}
}
],
"start": 3617,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 3645,
"start": 3644,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3616,
"name": "angledLineToX",
"start": 3603,
"type": "Identifier"
},
"end": 3646,
"start": 3603,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3664,
"name": "length",
"start": 3658,
"type": "Identifier"
},
"arg": {
"end": 3669,
"raw": "10",
"start": 3667,
"type": "Literal",
"type": "Literal",
"value": {
"value": 10.0,
"suffix": "None"
}
}
}
],
"callee": {
"end": 3657,
"name": "yLine",
"start": 3652,
"type": "Identifier"
},
"end": 3670,
"start": 3652,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3684,
"name": "end",
"start": 3681,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 3691,
"raw": "0.6",
"start": 3688,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.6,
"suffix": "None"
}
},
{
"end": 3694,
"raw": "0",
"start": 3693,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 3695,
"start": 3687,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 3680,
"name": "line",
"start": 3676,
"type": "Identifier"
},
"end": 3696,
"start": 3676,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3714,
"name": "length",
"start": 3708,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 3721,
"raw": ".05",
"start": 3718,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.05,
"suffix": "None"
}
},
"end": 3721,
"operator": "-",
"start": 3717,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 3707,
"name": "yLine",
"start": 3702,
"type": "Identifier"
},
"end": 3722,
"start": 3702,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 3772,
"properties": [
{
"end": 3756,
"key": {
"end": 3750,
"name": "radius",
"start": 3744,
"type": "Identifier"
},
"start": 3744,
"type": "ObjectProperty",
"value": {
"end": 3756,
"raw": "0.6",
"start": 3753,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.6,
"suffix": "None"
}
}
},
{
"end": 3770,
"key": {
"end": 3764,
"name": "offset",
"start": 3758,
"type": "Identifier"
},
"start": 3758,
"type": "ObjectProperty",
"value": {
"argument": {
"end": 3770,
"raw": "90",
"start": 3768,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
},
"end": 3770,
"operator": "-",
"start": 3767,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"start": 3742,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 3775,
"start": 3774,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3741,
"name": "tangentialArc",
"start": 3728,
"type": "Identifier"
},
"end": 3776,
"start": 3728,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3798,
"name": "endAbsolute",
"start": 3787,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 3817,
"start": 3816,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3815,
"name": "profileStartX",
"start": 3802,
"type": "Identifier"
},
"end": 3818,
"start": 3802,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 3835,
"start": 3834,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3833,
"name": "profileStartY",
"start": 3820,
"type": "Identifier"
},
"end": 3836,
"start": 3820,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 3837,
"start": 3801,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 3786,
"name": "line",
"start": 3782,
"type": "Identifier"
},
"end": 3838,
"start": 3782,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 3849,
"name": "close",
"start": 3844,
"type": "Identifier"
},
"end": 3851,
"start": 3844,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 3879,
"properties": [
{
"end": 3877,
"key": {
"end": 3871,
"name": "axis",
"start": 3867,
"type": "Identifier"
},
"start": 3867,
"type": "ObjectProperty",
"value": {
"end": 3877,
"raw": "'y'",
"start": 3874,
"type": "Literal",
"type": "Literal",
"value": "y"
}
}
],
"start": 3865,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 3882,
"start": 3881,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 3864,
"name": "revolve",
"start": 3857,
"type": "Identifier"
},
"end": 3883,
"start": 3857,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 3900,
"nonCodeMeta": {
"nonCodeNodes": {
"10": [
{
"end": 3900,
"start": 3883,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Spiral plate",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 3519,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 3507,
"type": "VariableDeclarator"
},
"end": 3900,
"kind": "const",
"start": 3507,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 4098,
"id": {
"end": 3910,
"name": "sketch007",
"start": 3901,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3951,
"name": "offset",
"start": 3945,
"type": "Identifier"
},
"arg": {
"end": 3958,
"raw": "1.12",
"start": 3954,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.12,
"suffix": "None"
}
}
}
],
"callee": {
"end": 3938,
"name": "offsetPlane",
"start": 3927,
"type": "Identifier"
},
"end": 3959,
"start": 3927,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 3943,
"raw": "'XY'",
"start": 3939,
"type": "Literal",
"type": "Literal",
"value": "XY"
}
}
],
"callee": {
"end": 3926,
"name": "startSketchOn",
"start": 3913,
"type": "Identifier"
},
"end": 3960,
"start": 3913,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 3987,
"name": "center",
"start": 3981,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 3992,
"raw": "0",
"start": 3991,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 3995,
"raw": "0",
"start": 3994,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 3996,
"start": 3990,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4011,
"name": "radius",
"start": 4005,
"type": "Identifier"
},
"arg": {
"end": 4039,
"left": {
"end": 4032,
"left": {
"end": 4028,
"name": "carafeDiameter",
"start": 4014,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 4032,
"raw": "2",
"start": 4031,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 4014,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 4039,
"raw": "0.24",
"start": 4035,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.24,
"suffix": "None"
}
},
"start": 4014,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 3972,
"name": "circle",
"start": 3966,
"type": "Identifier"
},
"end": 4046,
"start": 3966,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4070,
"name": "center",
"start": 4064,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 4075,
"raw": "0",
"start": 4074,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 4078,
"raw": "0",
"start": 4077,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4079,
"start": 4073,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4087,
"name": "radius",
"start": 4081,
"type": "Identifier"
},
"arg": {
"end": 4093,
"raw": ".15",
"start": 4090,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.15,
"suffix": "None"
}
}
}
],
"callee": {
"end": 4063,
"name": "circle",
"start": 4057,
"type": "Identifier"
},
"end": 4094,
"start": 4057,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"end": 4097,
"start": 4096,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 4056,
"name": "hole",
"start": 4052,
"type": "Identifier"
},
"end": 4098,
"start": 4052,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 4098,
"start": 3913,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 3901,
"type": "VariableDeclarator"
},
"end": 4098,
"kind": "const",
"start": 3901,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 4147,
"id": {
"end": 4110,
"name": "extrude003",
"start": 4100,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4138,
"name": "length",
"start": 4132,
"type": "Identifier"
},
"arg": {
"end": 4146,
"raw": "0.050",
"start": 4141,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.05,
"suffix": "None"
}
}
}
],
"callee": {
"end": 4120,
"name": "extrude",
"start": 4113,
"type": "Identifier"
},
"end": 4147,
"start": 4113,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 4130,
"name": "sketch007",
"start": 4121,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 4100,
"type": "VariableDeclarator"
},
"end": 4147,
"kind": "const",
"start": 4100,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 4407,
"id": {
"end": 4195,
"name": "sketch008",
"start": 4186,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 4222,
"name": "extrude003",
"start": 4212,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 4229,
"raw": "'END'",
"start": 4224,
"type": "Literal",
"type": "Literal",
"value": "END"
}
],
"callee": {
"end": 4211,
"name": "startSketchOn",
"start": 4198,
"type": "Identifier"
},
"end": 4230,
"start": 4198,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4249,
"name": "center",
"start": 4243,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 4256,
"raw": "1.4",
"start": 4253,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.4,
"suffix": "None"
}
},
{
"end": 4259,
"raw": "0",
"start": 4258,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4260,
"start": 4252,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4268,
"name": "radius",
"start": 4262,
"type": "Identifier"
},
"arg": {
"end": 4273,
"raw": ".3",
"start": 4271,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.3,
"suffix": "None"
}
}
}
],
"callee": {
"end": 4242,
"name": "circle",
"start": 4236,
"type": "Identifier"
},
"end": 4274,
"start": 4236,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4312,
"name": "center",
"start": 4306,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 4317,
"raw": "0",
"start": 4316,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 4320,
"raw": "0",
"start": 4319,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4321,
"start": 4315,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4339,
"name": "instances",
"start": 4330,
"type": "Identifier"
},
"arg": {
"end": 4343,
"raw": "8",
"start": 4342,
"type": "Literal",
"type": "Literal",
"value": {
"value": 8.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 4362,
"name": "arcDegrees",
"start": 4352,
"type": "Identifier"
},
"arg": {
"end": 4368,
"raw": "360",
"start": 4365,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 4393,
"name": "rotateDuplicates",
"start": 4377,
"type": "Identifier"
},
"arg": {
"end": 4400,
"raw": "true",
"start": 4396,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 4297,
"name": "patternCircular2d",
"start": 4280,
"type": "Identifier"
},
"end": 4407,
"start": 4280,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 4407,
"start": 4198,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 4186,
"type": "VariableDeclarator"
},
"end": 4407,
"kind": "const",
"start": 4186,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 4457,
"id": {
"end": 4419,
"name": "extrude004",
"start": 4409,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4447,
"name": "length",
"start": 4441,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 4456,
"raw": "0.050",
"start": 4451,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.05,
"suffix": "None"
}
},
"end": 4456,
"operator": "-",
"start": 4450,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 4429,
"name": "extrude",
"start": 4422,
"type": "Identifier"
},
"end": 4457,
"start": 4422,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 4439,
"name": "sketch008",
"start": 4430,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 4409,
"type": "VariableDeclarator"
},
"end": 4457,
"kind": "const",
"start": 4409,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 4717,
"id": {
"end": 4505,
"name": "sketch009",
"start": 4496,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 4532,
"name": "extrude003",
"start": 4522,
"type": "Identifier",
"type": "Identifier"
},
{
"end": 4539,
"raw": "'END'",
"start": 4534,
"type": "Literal",
"type": "Literal",
"value": "END"
}
],
"callee": {
"end": 4521,
"name": "startSketchOn",
"start": 4508,
"type": "Identifier"
},
"end": 4540,
"start": 4508,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4559,
"name": "center",
"start": 4553,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 4566,
"raw": "0.6",
"start": 4563,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.6,
"suffix": "None"
}
},
{
"end": 4569,
"raw": "0",
"start": 4568,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4570,
"start": 4562,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4578,
"name": "radius",
"start": 4572,
"type": "Identifier"
},
"arg": {
"end": 4583,
"raw": ".2",
"start": 4581,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.2,
"suffix": "None"
}
}
}
],
"callee": {
"end": 4552,
"name": "circle",
"start": 4546,
"type": "Identifier"
},
"end": 4584,
"start": 4546,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4622,
"name": "center",
"start": 4616,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 4627,
"raw": "0",
"start": 4626,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 4630,
"raw": "0",
"start": 4629,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4631,
"start": 4625,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4649,
"name": "instances",
"start": 4640,
"type": "Identifier"
},
"arg": {
"end": 4653,
"raw": "4",
"start": 4652,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 4672,
"name": "arcDegrees",
"start": 4662,
"type": "Identifier"
},
"arg": {
"end": 4678,
"raw": "360",
"start": 4675,
"type": "Literal",
"type": "Literal",
"value": {
"value": 360.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"end": 4703,
"name": "rotateDuplicates",
"start": 4687,
"type": "Identifier"
},
"arg": {
"end": 4710,
"raw": "true",
"start": 4706,
"type": "Literal",
"type": "Literal",
"value": true
}
}
],
"callee": {
"end": 4607,
"name": "patternCircular2d",
"start": 4590,
"type": "Identifier"
},
"end": 4717,
"start": 4590,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 4717,
"start": 4508,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 4496,
"type": "VariableDeclarator"
},
"end": 4717,
"kind": "const",
"start": 4496,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 4767,
"id": {
"end": 4729,
"name": "extrude005",
"start": 4719,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4757,
"name": "length",
"start": 4751,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 4766,
"raw": "0.050",
"start": 4761,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.05,
"suffix": "None"
}
},
"end": 4766,
"operator": "-",
"start": 4760,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 4739,
"name": "extrude",
"start": 4732,
"type": "Identifier"
},
"end": 4767,
"start": 4732,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 4749,
"name": "sketch009",
"start": 4740,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 4719,
"type": "VariableDeclarator"
},
"end": 4767,
"kind": "const",
"start": 4719,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 4992,
"id": {
"end": 4809,
"name": "sketch010",
"start": 4800,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 4830,
"raw": "\"XY\"",
"start": 4826,
"type": "Literal",
"type": "Literal",
"value": "XY"
}
],
"callee": {
"end": 4825,
"name": "startSketchOn",
"start": 4812,
"type": "Identifier"
},
"end": 4831,
"start": 4812,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 4858,
"name": "center",
"start": 4852,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 4863,
"raw": "0",
"start": 4862,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 4866,
"raw": "0",
"start": 4865,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 4867,
"start": 4861,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 4882,
"name": "radius",
"start": 4876,
"type": "Identifier"
},
"arg": {
"end": 4903,
"left": {
"end": 4899,
"name": "carafeDiameter",
"start": 4885,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 4903,
"raw": "2",
"start": 4902,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 4885,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 4843,
"name": "circle",
"start": 4837,
"type": "Identifier"
},
"end": 4910,
"start": 4837,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 4992,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"end": 4992,
"start": 4910,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Perform a shell operation to hollow the carafe body with the top face removed",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 4812,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 4800,
"type": "VariableDeclarator"
},
"end": 4992,
"kind": "const",
"start": 4800,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 5121,
"id": {
"end": 5003,
"name": "extrude006",
"start": 4993,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5031,
"name": "length",
"start": 5025,
"type": "Identifier"
},
"arg": {
"end": 5046,
"name": "carafeHeight",
"start": 5034,
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
"end": 5013,
"name": "extrude",
"start": 5006,
"type": "Identifier"
},
"end": 5047,
"start": 5006,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 5023,
"name": "sketch010",
"start": 5014,
"type": "Identifier",
"type": "Identifier"
}
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5064,
"name": "faces",
"start": 5059,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 5073,
"raw": "\"end\"",
"start": 5068,
"type": "Literal",
"type": "Literal",
"value": "end"
}
],
"end": 5074,
"start": 5067,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"end": 5085,
"name": "thickness",
"start": 5076,
"type": "Identifier"
},
"arg": {
"end": 5091,
"raw": ".07",
"start": 5088,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.07,
"suffix": "None"
}
}
}
],
"callee": {
"end": 5058,
"name": "shell",
"start": 5053,
"type": "Identifier"
},
"end": 5092,
"start": 5053,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"end": 5121,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"end": 5121,
"start": 5092,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Draw and revolve the lid",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 5006,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 4993,
"type": "VariableDeclarator"
},
"end": 5121,
"kind": "const",
"start": 4993,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 5636,
"id": {
"end": 5131,
"name": "sketch011",
"start": 5122,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"end": 5152,
"raw": "'XZ'",
"start": 5148,
"type": "Literal",
"type": "Literal",
"value": "XZ"
}
],
"callee": {
"end": 5147,
"name": "startSketchOn",
"start": 5134,
"type": "Identifier"
},
"end": 5153,
"start": 5134,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 5178,
"raw": "0.2",
"start": 5175,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.2,
"suffix": "None"
}
},
{
"end": 5198,
"left": {
"end": 5192,
"name": "carafeHeight",
"start": 5180,
"type": "Identifier",
"type": "Identifier"
},
"operator": "-",
"right": {
"end": 5198,
"raw": "0.7",
"start": 5195,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.7,
"suffix": "None"
}
},
"start": 5180,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 5199,
"start": 5174,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 5202,
"start": 5201,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5173,
"name": "startProfileAt",
"start": 5159,
"type": "Identifier"
},
"end": 5203,
"start": 5159,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5221,
"name": "length",
"start": 5215,
"type": "Identifier"
},
"arg": {
"end": 5248,
"left": {
"end": 5242,
"left": {
"end": 5238,
"name": "carafeDiameter",
"start": 5224,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 5242,
"raw": "2",
"start": 5241,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 5224,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 5248,
"raw": "0.3",
"start": 5245,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.3,
"suffix": "None"
}
},
"start": 5224,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 5214,
"name": "xLine",
"start": 5209,
"type": "Identifier"
},
"end": 5249,
"start": 5209,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5267,
"name": "length",
"start": 5261,
"type": "Identifier"
},
"arg": {
"end": 5273,
"raw": "0.7",
"start": 5270,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.7,
"suffix": "None"
}
}
}
],
"callee": {
"end": 5260,
"name": "yLine",
"start": 5255,
"type": "Identifier"
},
"end": 5274,
"start": 5255,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5292,
"name": "length",
"start": 5286,
"type": "Identifier"
},
"arg": {
"end": 5298,
"raw": "0.3",
"start": 5295,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.3,
"suffix": "None"
}
}
}
],
"callee": {
"end": 5285,
"name": "xLine",
"start": 5280,
"type": "Identifier"
},
"end": 5299,
"start": 5280,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5317,
"name": "length",
"start": 5311,
"type": "Identifier"
},
"arg": {
"end": 5323,
"raw": "0.4",
"start": 5320,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.4,
"suffix": "None"
}
}
}
],
"callee": {
"end": 5310,
"name": "yLine",
"start": 5305,
"type": "Identifier"
},
"end": 5324,
"start": 5305,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5338,
"name": "end",
"start": 5335,
"type": "Identifier"
},
"arg": {
"elements": [
{
"argument": {
"end": 5347,
"raw": "0.02",
"start": 5343,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.02,
"suffix": "None"
}
},
"end": 5347,
"operator": "-",
"start": 5342,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 5353,
"raw": "0.02",
"start": 5349,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.02,
"suffix": "None"
}
}
],
"end": 5354,
"start": 5341,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 5334,
"name": "line",
"start": 5330,
"type": "Identifier"
},
"end": 5355,
"start": 5330,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"end": 5497,
"properties": [
{
"end": 5417,
"key": {
"end": 5384,
"name": "to",
"start": 5382,
"type": "Identifier"
},
"start": 5382,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 5413,
"left": {
"end": 5407,
"left": {
"argument": {
"end": 5403,
"name": "carafeDiameter",
"start": 5389,
"type": "Identifier",
"type": "Identifier"
},
"end": 5403,
"operator": "-",
"start": 5388,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "/",
"right": {
"end": 5407,
"raw": "2",
"start": 5406,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 5388,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
"end": 5413,
"raw": "0.1",
"start": 5410,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.1,
"suffix": "None"
}
},
"start": 5388,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 5416,
"raw": "1",
"start": 5415,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 5417,
"start": 5387,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 5446,
"key": {
"end": 5434,
"name": "control1",
"start": 5426,
"type": "Identifier"
},
"start": 5426,
"type": "ObjectProperty",
"value": {
"elements": [
{
"argument": {
"end": 5442,
"raw": "0.3",
"start": 5439,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.3,
"suffix": "None"
}
},
"end": 5442,
"operator": "-",
"start": 5438,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 5445,
"raw": "0",
"start": 5444,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 5446,
"start": 5437,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"end": 5490,
"key": {
"end": 5463,
"name": "control2",
"start": 5455,
"type": "Identifier"
},
"start": 5455,
"type": "ObjectProperty",
"value": {
"elements": [
{
"end": 5486,
"left": {
"end": 5481,
"name": "carafeDiameter",
"start": 5467,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 5486,
"raw": "10",
"start": 5484,
"type": "Literal",
"type": "Literal",
"value": {
"value": 10.0,
"suffix": "None"
}
},
"start": 5467,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"end": 5489,
"raw": "1",
"start": 5488,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
],
"end": 5490,
"start": 5466,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"start": 5373,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 5500,
"start": 5499,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5372,
"name": "bezierCurve",
"start": 5361,
"type": "Identifier"
},
"end": 5501,
"start": 5361,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5523,
"name": "endAbsolute",
"start": 5512,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 5542,
"start": 5541,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5540,
"name": "profileStartX",
"start": 5527,
"type": "Identifier"
},
"end": 5543,
"start": 5527,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 5560,
"start": 5559,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5558,
"name": "profileStartY",
"start": 5545,
"type": "Identifier"
},
"end": 5561,
"start": 5545,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 5562,
"start": 5526,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 5511,
"name": "line",
"start": 5507,
"type": "Identifier"
},
"end": 5563,
"start": 5507,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 5574,
"name": "close",
"start": 5569,
"type": "Identifier"
},
"end": 5576,
"start": 5569,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 5604,
"properties": [
{
"end": 5602,
"key": {
"end": 5596,
"name": "axis",
"start": 5592,
"type": "Identifier"
},
"start": 5592,
"type": "ObjectProperty",
"value": {
"end": 5602,
"raw": "'y'",
"start": 5599,
"type": "Literal",
"type": "Literal",
"value": "y"
}
}
],
"start": 5590,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"end": 5607,
"start": 5606,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5589,
"name": "revolve",
"start": 5582,
"type": "Identifier"
},
"end": 5608,
"start": 5582,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 5636,
"nonCodeMeta": {
"nonCodeNodes": {
"10": [
{
"end": 5636,
"start": 5608,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Draw and extrude handle",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 5134,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 5122,
"type": "VariableDeclarator"
},
"end": 5636,
"kind": "const",
"start": 5122,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 6186,
"id": {
"end": 5646,
"name": "sketch012",
"start": 5637,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5687,
"name": "offset",
"start": 5681,
"type": "Identifier"
},
"arg": {
"end": 5709,
"left": {
"end": 5705,
"name": "handleThickness",
"start": 5690,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"end": 5709,
"raw": "2",
"start": 5708,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 5690,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"end": 5674,
"name": "offsetPlane",
"start": 5663,
"type": "Identifier"
},
"end": 5710,
"start": 5663,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 5679,
"raw": "'XZ'",
"start": 5675,
"type": "Literal",
"type": "Literal",
"value": "XZ"
}
}
],
"callee": {
"end": 5662,
"name": "startSketchOn",
"start": 5649,
"type": "Identifier"
},
"end": 5711,
"start": 5649,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 5736,
"raw": "2.3",
"start": 5733,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.3,
"suffix": "None"
}
},
{
"end": 5741,
"raw": "6.4",
"start": 5738,
"type": "Literal",
"type": "Literal",
"value": {
"value": 6.4,
"suffix": "None"
}
}
],
"end": 5742,
"start": 5732,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 5745,
"start": 5744,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5731,
"name": "startProfileAt",
"start": 5717,
"type": "Identifier"
},
"end": 5746,
"start": 5717,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5760,
"name": "end",
"start": 5757,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 5768,
"raw": "0.56",
"start": 5764,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.56,
"suffix": "None"
}
},
{
"end": 5771,
"raw": "0",
"start": 5770,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 5772,
"start": 5763,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 5756,
"name": "line",
"start": 5752,
"type": "Identifier"
},
"end": 5773,
"start": 5752,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"elements": [
{
"end": 5799,
"raw": "4.1",
"start": 5796,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.1,
"suffix": "None"
}
},
{
"end": 5805,
"raw": "5.26",
"start": 5801,
"type": "Literal",
"type": "Literal",
"value": {
"value": 5.26,
"suffix": "None"
}
}
],
"end": 5806,
"start": 5795,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 5809,
"start": 5808,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5794,
"name": "tangentialArcTo",
"start": 5779,
"type": "Identifier"
},
"end": 5810,
"start": 5779,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 5837,
"raw": "4.17",
"start": 5833,
"type": "Literal",
"type": "Literal",
"value": {
"value": 4.17,
"suffix": "None"
}
},
{
"end": 5842,
"raw": "1.6",
"start": 5839,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.6,
"suffix": "None"
}
}
],
"end": 5843,
"start": 5832,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 5846,
"start": 5845,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5831,
"name": "tangentialArcTo",
"start": 5816,
"type": "Identifier"
},
"end": 5847,
"start": 5816,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 5874,
"raw": "3.13",
"start": 5870,
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.13,
"suffix": "None"
}
},
{
"end": 5880,
"raw": "0.61",
"start": 5876,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.61,
"suffix": "None"
}
}
],
"end": 5881,
"start": 5869,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 5884,
"start": 5883,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5868,
"name": "tangentialArcTo",
"start": 5853,
"type": "Identifier"
},
"end": 5885,
"start": 5853,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5899,
"name": "end",
"start": 5896,
"type": "Identifier"
},
"arg": {
"elements": [
{
"argument": {
"end": 5908,
"raw": "1.09",
"start": 5904,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.09,
"suffix": "None"
}
},
"end": 5908,
"operator": "-",
"start": 5903,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 5911,
"raw": "0",
"start": 5910,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 5912,
"start": 5902,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 5895,
"name": "line",
"start": 5891,
"type": "Identifier"
},
"end": 5913,
"start": 5891,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5927,
"name": "end",
"start": 5924,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 5932,
"raw": "0",
"start": 5931,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"end": 5938,
"raw": "0.43",
"start": 5934,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.43,
"suffix": "None"
}
}
],
"end": 5939,
"start": 5930,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 5923,
"name": "line",
"start": 5919,
"type": "Identifier"
},
"end": 5940,
"start": 5919,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 5954,
"name": "end",
"start": 5951,
"type": "Identifier"
},
"arg": {
"elements": [
{
"end": 5962,
"raw": "0.99",
"start": 5958,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.99,
"suffix": "None"
}
},
{
"argument": {
"end": 5969,
"raw": "0.02",
"start": 5965,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.02,
"suffix": "None"
}
},
"end": 5969,
"operator": "-",
"start": 5964,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
],
"end": 5970,
"start": 5957,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 5950,
"name": "line",
"start": 5946,
"type": "Identifier"
},
"end": 5971,
"start": 5946,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"elements": [
{
"end": 5998,
"raw": "3.63",
"start": 5994,
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.63,
"suffix": "None"
}
},
{
"end": 6003,
"raw": "1.6",
"start": 6000,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.6,
"suffix": "None"
}
}
],
"end": 6004,
"start": 5993,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 6007,
"start": 6006,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 5992,
"name": "tangentialArcTo",
"start": 5977,
"type": "Identifier"
},
"end": 6008,
"start": 5977,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 6035,
"raw": "3.56",
"start": 6031,
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.56,
"suffix": "None"
}
},
{
"end": 6041,
"raw": "5.15",
"start": 6037,
"type": "Literal",
"type": "Literal",
"value": {
"value": 5.15,
"suffix": "None"
}
}
],
"end": 6042,
"start": 6030,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 6045,
"start": 6044,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 6029,
"name": "tangentialArcTo",
"start": 6014,
"type": "Identifier"
},
"end": 6046,
"start": 6014,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"elements": [
{
"end": 6073,
"raw": "2.72",
"start": 6069,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.72,
"suffix": "None"
}
},
{
"end": 6079,
"raw": "5.88",
"start": 6075,
"type": "Literal",
"type": "Literal",
"value": {
"value": 5.88,
"suffix": "None"
}
}
],
"end": 6080,
"start": 6068,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"end": 6083,
"start": 6082,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 6067,
"name": "tangentialArcTo",
"start": 6052,
"type": "Identifier"
},
"end": 6084,
"start": 6052,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 6098,
"name": "end",
"start": 6095,
"type": "Identifier"
},
"arg": {
"elements": [
{
"argument": {
"end": 6106,
"raw": "0.4",
"start": 6103,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.4,
"suffix": "None"
}
},
"end": 6106,
"operator": "-",
"start": 6102,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
{
"end": 6109,
"raw": "0",
"start": 6108,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 6110,
"start": 6101,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 6094,
"name": "line",
"start": 6090,
"type": "Identifier"
},
"end": 6111,
"start": 6090,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 6133,
"name": "endAbsolute",
"start": 6122,
"type": "Identifier"
},
"arg": {
"elements": [
{
"arguments": [
{
"end": 6152,
"start": 6151,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 6150,
"name": "profileStartX",
"start": 6137,
"type": "Identifier"
},
"end": 6153,
"start": 6137,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"end": 6170,
"start": 6169,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"end": 6168,
"name": "profileStartY",
"start": 6155,
"type": "Identifier"
},
"end": 6171,
"start": 6155,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 6172,
"start": 6136,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"end": 6121,
"name": "line",
"start": 6117,
"type": "Identifier"
},
"end": 6173,
"start": 6117,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"end": 6184,
"name": "close",
"start": 6179,
"type": "Identifier"
},
"end": 6186,
"start": 6179,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 6186,
"start": 5649,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 5637,
"type": "VariableDeclarator"
},
"end": 6186,
"kind": "const",
"start": 5637,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"declaration": {
"end": 6245,
"id": {
"end": 6197,
"name": "extrude007",
"start": 6187,
"type": "Identifier"
},
"init": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"end": 6225,
"name": "length",
"start": 6219,
"type": "Identifier"
},
"arg": {
"argument": {
"end": 6244,
"name": "handleThickness",
"start": 6229,
"type": "Identifier",
"type": "Identifier"
},
"end": 6244,
"operator": "-",
"start": 6228,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"end": 6207,
"name": "extrude",
"start": 6200,
"type": "Identifier"
},
"end": 6245,
"start": 6200,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"end": 6217,
"name": "sketch012",
"start": 6208,
"type": "Identifier",
"type": "Identifier"
}
},
"start": 6187,
"type": "VariableDeclarator"
},
"end": 6245,
"kind": "const",
"start": 6187,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
}
],
"end": 6246,
"innerAttrs": [
{
"end": 104,
"name": {
"end": 80,
"name": "settings",
"start": 72,
"type": "Identifier"
},
"properties": [
{
"end": 103,
"key": {
"end": 98,
"name": "defaultLengthUnit",
"start": 81,
"type": "Identifier"
},
"start": 81,
"type": "ObjectProperty",
"value": {
"end": 103,
"name": "in",
"start": 101,
"type": "Identifier",
"type": "Identifier"
}
}
],
"start": 71,
"type": "Annotation"
}
],
"nonCodeMeta": {
"nonCodeNodes": {
"2": [
{
"end": 228,
"start": 190,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Upper ring of the metal structure",
"style": "line"
}
}
],
"4": [
{
"end": 951,
"start": 911,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Cross section of the metal supports",
"style": "line"
}
}
],
"6": [
{
"end": 2501,
"start": 2499,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"7": [
{
"end": 2550,
"start": 2548,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"8": [
{
"end": 2954,
"start": 2952,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"9": [
{
"end": 3020,
"start": 3002,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Filter screen",
"style": "line"
}
}
],
"12": [
{
"end": 4100,
"start": 4098,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"13": [
{
"end": 4185,
"start": 4147,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Pattern holes in the spiral plate",
"style": "line"
}
}
],
"14": [
{
"end": 4409,
"start": 4407,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"15": [
{
"end": 4495,
"start": 4457,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Pattern holes in the spiral plate",
"style": "line"
}
}
],
"16": [
{
"end": 4719,
"start": 4717,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
}
],
"17": [
{
"end": 4799,
"start": 4767,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Extrude a glass carafe body",
"style": "line"
}
}
]
},
"startNodes": [
{
"end": 15,
"start": 0,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "French Press",
"style": "line"
}
},
{
"end": 56,
"start": 16,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "A french press immersion coffee maker",
"style": "line"
}
},
{
"end": 58,
"start": 56,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 70,
"start": 58,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Set units",
"style": "line"
}
},
{
"end": 106,
"start": 104,
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
"end": 125,
"start": 106,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Define constants",
"style": "line"
}
}
]
},
"start": 0
}
}