2025-03-06 18:01:24 -05:00
|
|
|
---
|
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
|
|
description: Result of parsing car-wheel-assembly.kcl
|
|
|
|
---
|
|
|
|
{
|
|
|
|
"Ok": {
|
|
|
|
"body": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 127,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "car-wheel.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "None",
|
|
|
|
"alias": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 155,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "carWheel",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 164,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "car-rotor.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "None",
|
|
|
|
"alias": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 190,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "carRotor",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 199,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "brake-caliper.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "None",
|
|
|
|
"alias": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 229,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "brakeCaliper",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 242,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "lug-nut.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "None",
|
|
|
|
"alias": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 266,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "lugNut",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 273,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "car-tire.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "None",
|
|
|
|
"alias": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 298,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "carTire",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 306,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "globals.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "List",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"alias": null,
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 313,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 313,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "lugCount",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportItem"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 340,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"expression": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"body": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 342,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "carRotor",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 366,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "translate",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 378,
|
2025-03-13 23:38:51 -07:00
|
|
|
"elements": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 379,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 382,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0.5",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.5,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 387,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 356,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "translate",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 356,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"unlabeled": null
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 342,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "PipeExpression",
|
|
|
|
"type": "PipeExpression"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"type": "ExpressionStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 391,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"expression": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 391,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "carWheel",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"type": "ExpressionStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 400,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"expression": {
|
|
|
|
"body": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 400,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "lugNut",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 436,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "arcDegrees",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 449,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "360",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 360.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 459,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "axis",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 466,
|
2025-03-06 18:01:24 -05:00
|
|
|
"elements": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 467,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "0",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 470,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "1",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 1.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 473,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "0",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 482,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "center",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 491,
|
2025-03-06 18:01:24 -05:00
|
|
|
"elements": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 492,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "0",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 495,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "0",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 498,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "0",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 507,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "instances",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 519,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "lugCount",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 534,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "rotateDuplicates",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 553,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "false",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 412,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "patternCircular3d",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 412,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"unlabeled": null
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 400,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "PipeExpression",
|
|
|
|
"type": "PipeExpression"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"type": "ExpressionStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 564,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"expression": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"body": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 564,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "brakeCaliper",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 592,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "translate",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 604,
|
2025-03-13 23:38:51 -07:00
|
|
|
"elements": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 605,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 608,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0.5",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.5,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 613,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 582,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "translate",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 582,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"unlabeled": null
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 564,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "PipeExpression",
|
|
|
|
"type": "PipeExpression"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"type": "ExpressionStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 617,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"expression": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 617,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "carTire",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"type": "ExpressionStatement"
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"innerAttrs": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 95,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "settings",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-20 16:23:20 +13:00
|
|
|
"preComments": [
|
|
|
|
"// Car Wheel Assembly",
|
|
|
|
"// A car wheel assembly with a rotor, tire, and lug nuts.",
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
"// Set units"
|
|
|
|
],
|
2025-03-06 18:01:24 -05:00
|
|
|
"properties": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 104,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"key": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 104,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "defaultLengthUnit",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ObjectProperty",
|
|
|
|
"value": {
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 124,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "in",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Annotation"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"nonCodeMeta": {
|
|
|
|
"nonCodeNodes": {
|
|
|
|
"5": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 340,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "NonCodeNode",
|
|
|
|
"value": {
|
|
|
|
"type": "newLine"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"startNodes": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 127,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
|
|
|
"start": 0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "NonCodeNode",
|
|
|
|
"value": {
|
|
|
|
"type": "newLine"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"start": 0
|
|
|
|
}
|
|
|
|
}
|