2025-03-06 18:01:24 -05:00
---
source: kcl-lib/src/simulation_tests.rs
2025-03-13 23:38:51 -07:00
description: Result of parsing bench.kcl
2025-03-06 18:01:24 -05:00
---
{
"Ok": {
"body": [
{
"declaration": {
2025-03-13 23:38:51 -07:00
"end": 439,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-13 23:38:51 -07:00
"end": 434,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 423,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-13 23:38:51 -07:00
"end": 439,
2025-03-06 18:01:24 -05:00
"raw": "56",
2025-03-13 23:38:51 -07:00
"start": 437,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 56.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 423,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-13 23:38:51 -07:00
"end": 439,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-13 23:38:51 -07:00
"start": 423,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-13 23:38:51 -07:00
"end": 546,
2025-03-06 18:01:24 -05:00
"path": {
"type": "Kcl",
2025-03-13 23:38:51 -07:00
"filename": "bench-parts.kcl"
2025-03-06 18:01:24 -05:00
},
"selector": {
"type": "List",
"items": [
{
"alias": null,
2025-03-13 23:38:51 -07:00
"end": 523,
2025-03-06 18:01:24 -05:00
"name": {
2025-03-13 23:38:51 -07:00
"end": 523,
2025-03-06 18:01:24 -05:00
"name": "dividerThickness",
2025-03-13 23:38:51 -07:00
"start": 507,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 507,
2025-03-06 18:01:24 -05:00
"type": "ImportItem"
}
]
},
2025-03-13 23:38:51 -07:00
"start": 500,
2025-03-06 18:01:24 -05:00
"type": "ImportStatement",
"type": "ImportStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 584,
2025-03-06 18:01:24 -05:00
"path": {
"type": "Kcl",
2025-03-13 23:38:51 -07:00
"filename": "bench-parts.kcl"
2025-03-06 18:01:24 -05:00
},
"selector": {
"type": "List",
"items": [
{
"alias": null,
2025-03-13 23:38:51 -07:00
"end": 561,
2025-03-06 18:01:24 -05:00
"name": {
2025-03-13 23:38:51 -07:00
"end": 561,
2025-03-06 18:01:24 -05:00
"name": "divider",
2025-03-13 23:38:51 -07:00
"start": 554,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 554,
2025-03-06 18:01:24 -05:00
"type": "ImportItem"
}
]
},
2025-03-13 23:38:51 -07:00
"start": 547,
2025-03-06 18:01:24 -05:00
"type": "ImportStatement",
"type": "ImportStatement"
},
{
"end": 624,
"path": {
"type": "Kcl",
2025-03-13 23:38:51 -07:00
"filename": "bench-parts.kcl"
2025-03-06 18:01:24 -05:00
},
"selector": {
"type": "List",
"items": [
{
"alias": null,
2025-03-13 23:38:51 -07:00
"end": 601,
2025-03-06 18:01:24 -05:00
"name": {
2025-03-13 23:38:51 -07:00
"end": 601,
2025-03-06 18:01:24 -05:00
"name": "connector",
2025-03-13 23:38:51 -07:00
"start": 592,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 592,
2025-03-06 18:01:24 -05:00
"type": "ImportItem"
}
]
},
2025-03-13 23:38:51 -07:00
"start": 585,
2025-03-06 18:01:24 -05:00
"type": "ImportStatement",
"type": "ImportStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 664,
2025-03-06 18:01:24 -05:00
"path": {
"type": "Kcl",
2025-03-13 23:38:51 -07:00
"filename": "bench-parts.kcl"
2025-03-06 18:01:24 -05:00
},
"selector": {
"type": "List",
"items": [
{
"alias": null,
"end": 641,
"name": {
"end": 641,
"name": "seatSlats",
"start": 632,
"type": "Identifier"
},
"start": 632,
"type": "ImportItem"
}
]
},
"start": 625,
"type": "ImportStatement",
"type": "ImportStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 704,
2025-03-06 18:01:24 -05:00
"path": {
"type": "Kcl",
2025-03-13 23:38:51 -07:00
"filename": "bench-parts.kcl"
2025-03-06 18:01:24 -05:00
},
"selector": {
"type": "List",
"items": [
{
"alias": null,
2025-03-13 23:38:51 -07:00
"end": 681,
2025-03-06 18:01:24 -05:00
"name": {
2025-03-13 23:38:51 -07:00
"end": 681,
2025-03-06 18:01:24 -05:00
"name": "backSlats",
2025-03-13 23:38:51 -07:00
"start": 672,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 672,
2025-03-06 18:01:24 -05:00
"type": "ImportItem"
}
]
},
2025-03-13 23:38:51 -07:00
"start": 665,
2025-03-06 18:01:24 -05:00
"type": "ImportStatement",
"type": "ImportStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 742,
2025-03-06 18:01:24 -05:00
"path": {
"type": "Kcl",
2025-03-13 23:38:51 -07:00
"filename": "bench-parts.kcl"
2025-03-06 18:01:24 -05:00
},
"selector": {
"type": "List",
"items": [
{
"alias": null,
2025-03-13 23:38:51 -07:00
"end": 719,
2025-03-06 18:01:24 -05:00
"name": {
2025-03-13 23:38:51 -07:00
"end": 719,
2025-03-06 18:01:24 -05:00
"name": "armRest",
2025-03-13 23:38:51 -07:00
"start": 712,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 712,
2025-03-06 18:01:24 -05:00
"type": "ImportItem"
}
]
},
2025-03-13 23:38:51 -07:00
"start": 705,
2025-03-06 18:01:24 -05:00
"type": "ImportStatement",
"type": "ImportStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 816,
2025-03-06 18:01:24 -05:00
"expression": {
"arguments": [
{
2025-03-13 23:38:51 -07:00
"end": 815,
2025-03-06 18:01:24 -05:00
"raw": "\"YZ\"",
2025-03-13 23:38:51 -07:00
"start": 811,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 810,
2025-03-06 18:01:24 -05:00
"name": "divider",
2025-03-13 23:38:51 -07:00
"start": 803,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 816,
"start": 803,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-13 23:38:51 -07:00
"start": 803,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 870,
2025-03-06 18:01:24 -05:00
"expression": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 850,
2025-03-06 18:01:24 -05:00
"name": "offset",
2025-03-13 23:38:51 -07:00
"start": 844,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 868,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 864,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 853,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 868,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 867,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 853,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 836,
2025-03-06 18:01:24 -05:00
"name": "offsetPlane",
2025-03-13 23:38:51 -07:00
"start": 825,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 869,
"start": 825,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-13 23:38:51 -07:00
"end": 842,
2025-03-06 18:01:24 -05:00
"raw": "\"-YZ\"",
2025-03-13 23:38:51 -07:00
"start": 837,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "-YZ"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 824,
2025-03-06 18:01:24 -05:00
"name": "divider",
2025-03-13 23:38:51 -07:00
"start": 817,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 870,
"start": 817,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-13 23:38:51 -07:00
"start": 817,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 923,
2025-03-06 18:01:24 -05:00
"expression": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 903,
2025-03-06 18:01:24 -05:00
"name": "offset",
2025-03-13 23:38:51 -07:00
"start": 897,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 921,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 917,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 906,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 921,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 920,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 906,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 890,
2025-03-06 18:01:24 -05:00
"name": "offsetPlane",
2025-03-13 23:38:51 -07:00
"start": 879,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 922,
"start": 879,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-13 23:38:51 -07:00
"end": 895,
2025-03-06 18:01:24 -05:00
"raw": "\"YZ\"",
2025-03-13 23:38:51 -07:00
"start": 891,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 878,
2025-03-06 18:01:24 -05:00
"name": "divider",
2025-03-13 23:38:51 -07:00
"start": 871,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 923,
"start": 871,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-13 23:38:51 -07:00
"start": 871,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 1039,
2025-03-06 18:01:24 -05:00
"expression": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1005,
2025-03-06 18:01:24 -05:00
"name": "offset",
2025-03-13 23:38:51 -07:00
"start": 999,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 1024,
2025-03-06 18:01:24 -05:00
"left": {
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1020,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 1009,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1020,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1008,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1024,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1023,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1008,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 992,
2025-03-06 18:01:24 -05:00
"name": "offsetPlane",
2025-03-13 23:38:51 -07:00
"start": 981,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1025,
"start": 981,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-13 23:38:51 -07:00
"end": 997,
2025-03-06 18:01:24 -05:00
"raw": "\"YZ\"",
2025-03-13 23:38:51 -07:00
"start": 993,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 1038,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 1027,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 980,
2025-03-06 18:01:24 -05:00
"name": "connector",
2025-03-13 23:38:51 -07:00
"start": 971,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1039,
"start": 971,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-13 23:38:51 -07:00
"start": 971,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 1176,
2025-03-06 18:01:24 -05:00
"expression": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1100,
2025-03-06 18:01:24 -05:00
"name": "offset",
2025-03-13 23:38:51 -07:00
"start": 1094,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 1142,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1119,
2025-03-06 18:01:24 -05:00
"left": {
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1115,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 1104,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1115,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1103,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1119,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1118,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1103,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1142,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1138,
2025-03-06 18:01:24 -05:00
"name": "dividerThickness",
2025-03-13 23:38:51 -07:00
"start": 1122,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1142,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1141,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1122,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1103,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1087,
2025-03-06 18:01:24 -05:00
"name": "offsetPlane",
2025-03-13 23:38:51 -07:00
"start": 1076,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1143,
"start": 1076,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-13 23:38:51 -07:00
"end": 1092,
2025-03-06 18:01:24 -05:00
"raw": "\"YZ\"",
2025-03-13 23:38:51 -07:00
"start": 1088,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 1175,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1156,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 1145,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1175,
2025-03-06 18:01:24 -05:00
"name": "dividerThickness",
2025-03-13 23:38:51 -07:00
"start": 1159,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 1145,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1075,
2025-03-06 18:01:24 -05:00
"name": "seatSlats",
2025-03-13 23:38:51 -07:00
"start": 1066,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1176,
"start": 1066,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1066,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 1313,
2025-03-06 18:01:24 -05:00
"expression": {
"arguments": [
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-13 23:38:51 -07:00
"end": 1237,
2025-03-06 18:01:24 -05:00
"name": "offset",
2025-03-13 23:38:51 -07:00
"start": 1231,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-13 23:38:51 -07:00
"end": 1279,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1256,
2025-03-06 18:01:24 -05:00
"left": {
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1252,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 1241,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1252,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1240,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1256,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1255,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1240,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"operator": "-",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1279,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1275,
2025-03-06 18:01:24 -05:00
"name": "dividerThickness",
2025-03-13 23:38:51 -07:00
"start": 1259,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1279,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1278,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1259,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1240,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1224,
2025-03-06 18:01:24 -05:00
"name": "offsetPlane",
2025-03-13 23:38:51 -07:00
"start": 1213,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1280,
"start": 1213,
2025-03-06 18:01:24 -05:00
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
2025-03-13 23:38:51 -07:00
"end": 1229,
2025-03-06 18:01:24 -05:00
"raw": "\"YZ\"",
2025-03-13 23:38:51 -07:00
"start": 1225,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "YZ"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 1312,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1293,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 1282,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "+",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1312,
2025-03-06 18:01:24 -05:00
"name": "dividerThickness",
2025-03-13 23:38:51 -07:00
"start": 1296,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 1282,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1212,
2025-03-06 18:01:24 -05:00
"name": "backSlats",
2025-03-13 23:38:51 -07:00
"start": 1203,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1313,
"start": 1203,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1203,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 1370,
2025-03-06 18:01:24 -05:00
"expression": {
"arguments": [
{
2025-03-13 23:38:51 -07:00
"end": 1352,
2025-03-06 18:01:24 -05:00
"raw": "\"-YZ\"",
2025-03-13 23:38:51 -07:00
"start": 1347,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "-YZ"
},
{
2025-03-13 23:38:51 -07:00
"end": 1369,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-13 23:38:51 -07:00
"end": 1365,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 1354,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1369,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1368,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1354,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1346,
2025-03-06 18:01:24 -05:00
"name": "armRest",
2025-03-13 23:38:51 -07:00
"start": 1339,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1370,
"start": 1339,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1339,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
2025-03-13 23:38:51 -07:00
"end": 1403,
2025-03-06 18:01:24 -05:00
"expression": {
"arguments": [
{
2025-03-13 23:38:51 -07:00
"end": 1384,
2025-03-06 18:01:24 -05:00
"raw": "\"-YZ\"",
2025-03-13 23:38:51 -07:00
"start": 1379,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "-YZ"
},
{
2025-03-13 23:38:51 -07:00
"end": 1402,
2025-03-06 18:01:24 -05:00
"left": {
"argument": {
2025-03-13 23:38:51 -07:00
"end": 1398,
2025-03-06 18:01:24 -05:00
"name": "benchLength",
2025-03-13 23:38:51 -07:00
"start": 1387,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1398,
2025-03-06 18:01:24 -05:00
"operator": "-",
2025-03-13 23:38:51 -07:00
"start": 1386,
2025-03-06 18:01:24 -05:00
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "/",
"right": {
2025-03-13 23:38:51 -07:00
"end": 1402,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-13 23:38:51 -07:00
"start": 1401,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-13 23:38:51 -07:00
"start": 1386,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"callee": {
2025-03-13 23:38:51 -07:00
"end": 1378,
2025-03-06 18:01:24 -05:00
"name": "armRest",
2025-03-13 23:38:51 -07:00
"start": 1371,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"end": 1403,
"start": 1371,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
2025-03-13 23:38:51 -07:00
"start": 1371,
2025-03-06 18:01:24 -05:00
"type": "ExpressionStatement",
"type": "ExpressionStatement"
}
],
2025-03-13 23:38:51 -07:00
"end": 1404,
2025-03-06 18:01:24 -05:00
"innerAttrs": [
{
2025-03-13 23:38:51 -07:00
"end": 394,
2025-03-06 18:01:24 -05:00
"name": {
2025-03-13 23:38:51 -07:00
"end": 370,
2025-03-06 18:01:24 -05:00
"name": "settings",
2025-03-13 23:38:51 -07:00
"start": 362,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"properties": [
{
2025-03-13 23:38:51 -07:00
"end": 393,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-13 23:38:51 -07:00
"end": 388,
2025-03-06 18:01:24 -05:00
"name": "defaultLengthUnit",
2025-03-13 23:38:51 -07:00
"start": 371,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-13 23:38:51 -07:00
"start": 371,
2025-03-06 18:01:24 -05:00
"type": "ObjectProperty",
"value": {
2025-03-13 23:38:51 -07:00
"end": 393,
2025-03-06 18:01:24 -05:00
"name": "mm",
2025-03-13 23:38:51 -07:00
"start": 391,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
}
}
],
2025-03-13 23:38:51 -07:00
"start": 361,
2025-03-06 18:01:24 -05:00
"type": "Annotation"
}
],
"nonCodeMeta": {
"nonCodeNodes": {
"0": [
{
2025-03-13 23:38:51 -07:00
"end": 499,
"start": 439,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Import various constants and functions from our library",
"style": "line"
}
}
],
"6": [
{
2025-03-13 23:38:51 -07:00
"end": 802,
"start": 742,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Create the dividers, these hold the seat and back slats",
"style": "line"
}
}
],
"9": [
{
2025-03-13 23:38:51 -07:00
"end": 970,
"start": 923,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Create the connectors to join the dividers",
"style": "line"
}
}
],
"10": [
{
2025-03-13 23:38:51 -07:00
"end": 1065,
"start": 1039,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Create the seat slats",
"style": "line"
}
}
],
"11": [
{
2025-03-13 23:38:51 -07:00
"end": 1202,
"start": 1176,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Create the back slats",
"style": "line"
}
}
],
"12": [
{
2025-03-13 23:38:51 -07:00
"end": 1338,
"start": 1313,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Create the arm rests",
"style": "line"
}
}
]
},
"startNodes": [
{
2025-03-13 23:38:51 -07:00
"end": 8,
2025-03-06 18:01:24 -05:00
"start": 0,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
2025-03-13 23:38:51 -07:00
"value": "Bench",
2025-03-06 18:01:24 -05:00
"style": "line"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 326,
"start": 9,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "This is a slight remix of Depep1's original 3D Boaty (https://www.printables.com/model/1141963-3d-boaty). This is a tool used for benchmarking 3D FDM printers for bed adhesion, overhangs, bridging and top surface quality. The name of this file is a bit of misnomer, the shape of the object is a typical park bench.",
"style": "line"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 328,
"start": 326,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 360,
"start": 328,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Set units in millimeters (mm)",
"style": "line"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 396,
"start": 394,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLine"
}
},
{
2025-03-13 23:38:51 -07:00
"end": 422,
"start": 396,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "Define the bench length",
"style": "line"
}
}
]
},
"start": 0
}
}