2025-03-06 18:01:24 -05:00
---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing socket-head-cap-screw.kcl
---
{
"Ok": {
"body": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 428,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 09:22:17 -07:00
"commentStart": 437,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 09:22:17 -07:00
"commentStart": 437,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltDiameter",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 09:22:17 -07:00
"commentStart": 452,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "0.190",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
2025-03-20 09:22:17 -07:00
"value": 0.19,
2025-03-06 18:01:24 -05:00
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
2025-03-20 09:22:17 -07:00
"type": "VariableDeclaration",
"visibility": "export"
2025-03-06 18:01:24 -05:00
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 458,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 09:22:17 -07:00
"commentStart": 465,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 09:22:17 -07:00
"commentStart": 465,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 09:22:17 -07:00
"commentStart": 478,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "1.00",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
2025-03-20 09:22:17 -07:00
"value": 1.0,
2025-03-06 18:01:24 -05:00
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
2025-03-20 09:22:17 -07:00
"type": "VariableDeclaration",
"visibility": "export"
2025-03-06 18:01:24 -05:00
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 483,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 09:22:17 -07:00
"commentStart": 490,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 09:22:17 -07:00
"commentStart": 490,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHeadLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 09:22:17 -07:00
"commentStart": 507,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltDiameter",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Identifier",
"type": "Identifier"
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": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
2025-03-20 09:22:17 -07:00
"type": "VariableDeclaration",
"visibility": "export"
2025-03-06 18:01:24 -05:00
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 520,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 09:22:17 -07:00
"commentStart": 527,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 09:22:17 -07:00
"commentStart": 527,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHeadDiameter",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 09:22:17 -07:00
"commentStart": 546,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "0.313",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.313,
"suffix": "None"
}
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": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
2025-03-20 09:22:17 -07:00
"type": "VariableDeclaration",
"visibility": "export"
2025-03-06 18:01:24 -05:00
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 552,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 09:22:17 -07:00
"commentStart": 559,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 09:22:17 -07:00
"commentStart": 559,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHexDrive",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 09:22:17 -07:00
"commentStart": 574,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-20 09:22:17 -07:00
"commentStart": 574,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "5",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 5.0,
"suffix": "None"
}
},
"operator": "/",
"right": {
2025-03-20 09:22:17 -07:00
"commentStart": 576,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "32",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 32.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration",
2025-03-20 09:22:17 -07:00
"visibility": "export"
2025-03-06 18:01:24 -05:00
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 579,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 09:22:17 -07:00
"commentStart": 586,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 09:22:17 -07:00
"commentStart": 586,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHexFlatLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
2025-03-20 09:22:17 -07:00
"commentStart": 606,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-20 09:22:17 -07:00
"commentStart": 606,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHexDrive",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-20 09:22:17 -07:00
"commentStart": 622,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-20 09:22:17 -07:00
"commentStart": 622,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
2025-03-20 09:22:17 -07:00
"value": 2.0,
2025-03-06 18:01:24 -05:00
"suffix": "None"
}
},
2025-03-20 09:22:17 -07:00
"operator": "*",
"right": {
"arguments": [
{
"arguments": [
{
"commentStart": 640,
"end": 0,
"raw": "30",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
}
],
"callee": {
"commentStart": 630,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "toRadians",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Identifier"
},
"commentStart": 630,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "CallExpression",
"type": "CallExpression"
}
],
"callee": {
"commentStart": 626,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "cos",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Identifier"
},
"commentStart": 626,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "CallExpression",
"type": "CallExpression"
2025-03-06 18:01:24 -05:00
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "BinaryExpression",
"type": "BinaryExpression"
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": "BinaryExpression",
"type": "BinaryExpression"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration",
2025-03-20 09:22:17 -07:00
"visibility": "export"
2025-03-06 18:01:24 -05:00
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 645,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 09:22:17 -07:00
"commentStart": 657,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 09:22:17 -07:00
"commentStart": 657,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "bolt",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": {
"body": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 666,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 09:22:17 -07:00
"commentStart": 710,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 09:22:17 -07:00
"commentStart": 710,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHead",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 735,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "'XZ'",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": "XZ"
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 721,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "startSketchOn",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 721,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-20 09:22:17 -07:00
"commentStart": 765,
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 09:22:17 -07:00
"commentStart": 774,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 775,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 778,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
}
],
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 09:22:17 -07:00
"commentStart": 791,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-20 09:22:17 -07:00
"commentStart": 800,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-20 09:22:17 -07:00
"commentStart": 800,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHeadDiameter",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Identifier",
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
"operator": "/",
"right": {
2025-03-20 09:22:17 -07:00
"commentStart": 819,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
2025-03-20 09:22:17 -07:00
},
{
"type": "LabeledArg",
"label": {
"commentStart": 831,
"end": 0,
"name": "tag",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 837,
"end": 0,
"start": 0,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "topEdge"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 748,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "circle",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 748,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 870,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"arg": {
"argument": {
"commentStart": 880,
"end": 0,
"name": "boltHeadLength",
"start": 0,
"type": "Identifier",
"type": "Identifier"
},
"commentStart": 879,
"end": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"commentStart": 862,
"end": 0,
"name": "extrude",
"start": 0,
"type": "Identifier"
},
"commentStart": 862,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 910,
"end": 0,
"name": "radius",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 919,
"end": 0,
"raw": "0.020",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.02,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 926,
"end": 0,
"name": "tags",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 933,
"elements": [
{
"commentStart": 934,
"end": 0,
"name": "topEdge",
"start": 0,
"type": "Identifier",
"type": "Identifier"
},
{
"arguments": [
{
"commentStart": 959,
"end": 0,
"name": "topEdge",
"start": 0,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"commentStart": 943,
"end": 0,
"name": "getOppositeEdge",
"start": 0,
"type": "Identifier"
},
"commentStart": 943,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"commentStart": 903,
"end": 0,
"name": "fillet",
"start": 0,
"type": "Identifier"
},
"commentStart": 903,
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 09:22:17 -07:00
"commentStart": 721,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
2025-03-20 09:22:17 -07:00
"3": [
2025-03-06 18:01:24 -05:00
{
2025-03-20 09:22:17 -07:00
"commentStart": 973,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
2025-03-20 09:22:17 -07:00
"value": "Define the sketch of the hex pattern on the screw head",
2025-03-06 18:01:24 -05:00
"style": "line"
}
}
]
},
"startNodes": []
},
2025-03-20 11:06:27 +13:00
"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": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 16:23:20 +13:00
"preComments": [
2025-03-20 09:22:17 -07:00
"",
"",
2025-03-20 16:23:20 +13:00
"// Create the head of the cap screw"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1035,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 09:22:17 -07:00
"commentStart": 1035,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 09:22:17 -07:00
"commentStart": 1035,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "hexPatternSketch",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1068,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHead",
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 09:22:17 -07:00
"commentStart": 1078,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "'start'",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
2025-03-20 09:22:17 -07:00
"value": "start"
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 1054,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "startSketchOn",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1054,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1109,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1120,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-20 09:22:17 -07:00
"commentStart": 1120,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHexDrive",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-20 09:22:17 -07:00
"commentStart": 1135,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1147,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"left": {
"commentStart": 1147,
"end": 0,
"name": "boltHexFlatLength",
"start": 0,
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
"commentStart": 1167,
"end": 0,
"raw": "2",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1179,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 1094,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "startProfileAt",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1094,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1200,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1211,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 09:22:17 -07:00
"commentStart": 1211,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angle",
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 09:22:17 -07:00
"commentStart": 1219,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "270",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 270.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
}
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1233,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 09:22:17 -07:00
"commentStart": 1233,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "length",
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 09:22:17 -07:00
"commentStart": 1242,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHexFlatLength",
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": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1270,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 1189,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angledLine",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1189,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1291,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1302,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 09:22:17 -07:00
"commentStart": 1302,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angle",
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 09:22:17 -07:00
"commentStart": 1310,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "210",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 210.0,
"suffix": "None"
}
}
2025-03-06 18:01:24 -05:00
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1324,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 09:22:17 -07:00
"commentStart": 1324,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "length",
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 09:22:17 -07:00
"commentStart": 1333,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHexFlatLength",
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": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1361,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 1280,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angledLine",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1280,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1382,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1393,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 09:22:17 -07:00
"commentStart": 1393,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angle",
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 09:22:17 -07:00
"commentStart": 1401,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "150",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 150.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
}
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1415,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 09:22:17 -07:00
"commentStart": 1415,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "length",
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 09:22:17 -07:00
"commentStart": 1424,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHexFlatLength",
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": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1452,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 1371,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angledLine",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1371,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1473,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1484,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 09:22:17 -07:00
"commentStart": 1484,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angle",
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 09:22:17 -07:00
"commentStart": 1492,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "90",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
}
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1505,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 09:22:17 -07:00
"commentStart": 1505,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "length",
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 09:22:17 -07:00
"commentStart": 1514,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHexFlatLength",
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": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1542,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 1462,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angledLine",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1462,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1563,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1574,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 09:22:17 -07:00
"commentStart": 1574,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angle",
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 09:22:17 -07:00
"commentStart": 1582,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "30",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
}
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1595,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"key": {
2025-03-20 09:22:17 -07:00
"commentStart": 1595,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "length",
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 09:22:17 -07:00
"commentStart": 1604,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHexFlatLength",
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": "ObjectExpression",
"type": "ObjectExpression"
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1632,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 1552,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "angledLine",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1552,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 1642,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "close",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1642,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
2025-03-20 09:22:17 -07:00
},
2025-03-06 18:01:24 -05:00
{
2025-03-20 09:22:17 -07:00
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 1665,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "length",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"arg": {
"commentStart": 1674,
"end": 0,
"left": {
"argument": {
"commentStart": 1675,
"end": 0,
"name": "boltHeadLength",
"start": 0,
"type": "Identifier",
"type": "Identifier"
},
"commentStart": 1674,
"end": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "*",
"right": {
"commentStart": 1692,
"end": 0,
"raw": "0.75",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.75,
"suffix": "None"
}
},
"start": 0,
"type": "BinaryExpression",
"type": "BinaryExpression"
2025-03-06 18:01:24 -05:00
}
2025-03-20 09:22:17 -07:00
}
],
"callee": {
"commentStart": 1657,
"end": 0,
"name": "extrude",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Identifier"
},
"commentStart": 1657,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
}
],
2025-03-20 09:22:17 -07:00
"commentStart": 1054,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-20 09:22:17 -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": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1703,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-03-20 09:22:17 -07:00
"commentStart": 1703,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-03-20 09:22:17 -07:00
"commentStart": 1703,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltBody",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1728,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltHead",
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 09:22:17 -07:00
"commentStart": 1738,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "'end'",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
2025-03-20 09:22:17 -07:00
"value": "end"
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 1714,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "startSketchOn",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1714,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
2025-03-20 09:22:17 -07:00
"commentStart": 1759,
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 09:22:17 -07:00
"commentStart": 1768,
2025-03-06 18:01:24 -05:00
"elements": [
{
2025-03-20 09:22:17 -07:00
"commentStart": 1769,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 1772,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-20 09:22:17 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
}
],
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 09:22:17 -07:00
"commentStart": 1776,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "radius",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
"arg": {
2025-03-20 09:22:17 -07:00
"commentStart": 1785,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-20 09:22:17 -07:00
"commentStart": 1785,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltDiameter",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier",
"type": "Identifier"
},
"operator": "/",
"right": {
2025-03-20 09:22:17 -07:00
"commentStart": 1800,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "BinaryExpression",
"type": "BinaryExpression"
}
2025-03-20 09:22:17 -07:00
},
{
"type": "LabeledArg",
"label": {
"commentStart": 1803,
"end": 0,
"name": "tag",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1809,
"end": 0,
"start": 0,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "filletEdge"
}
2025-03-06 18:01:24 -05:00
}
],
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 1752,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"name": "circle",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1752,
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 09:22:17 -07:00
},
2025-03-06 18:01:24 -05:00
{
2025-03-20 09:22:17 -07:00
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 1837,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1846,
"end": 0,
"name": "boltLength",
"start": 0,
"type": "Identifier",
"type": "Identifier"
}
}
],
"callee": {
"commentStart": 1829,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "extrude",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 1829,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 1872,
"end": 0,
"name": "radius",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1881,
"end": 0,
"raw": ".020",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.02,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 1887,
"end": 0,
"name": "tags",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1894,
"elements": [
{
"arguments": [
{
"commentStart": 1911,
"end": 0,
"name": "filletEdge",
"start": 0,
"type": "Identifier",
"type": "Identifier"
}
],
"callee": {
"commentStart": 1895,
"end": 0,
"name": "getOppositeEdge",
"start": 0,
"type": "Identifier"
},
"commentStart": 1895,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
}
],
"end": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"commentStart": 1865,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "fillet",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
2025-03-20 09:22:17 -07:00
},
"commentStart": 1865,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 1943,
"end": 0,
"name": "color",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1951,
"end": 0,
"raw": "\"#4dd043\"",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": "#4dd043"
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 1962,
"end": 0,
"name": "metalness",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1974,
"end": 0,
"raw": "90",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 1978,
"end": 0,
"name": "roughness",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1990,
"end": 0,
"raw": "90",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
}
],
"callee": {
"commentStart": 1932,
"end": 0,
"name": "appearance",
"start": 0,
"type": "Identifier"
},
"commentStart": 1932,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
2025-03-06 18:01:24 -05:00
}
],
2025-03-20 09:22:17 -07:00
"commentStart": 1714,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-20 09:22:17 -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": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"argument": {
2025-03-20 09:22:17 -07:00
"commentStart": 2004,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "boltBody",
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 09:22:17 -07:00
"commentStart": 1993,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "ReturnStatement",
"type": "ReturnStatement"
}
],
2025-03-20 09:22:17 -07:00
"commentStart": 666,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"nonCodeMeta": {
"nonCodeNodes": {
2025-03-20 09:22:17 -07:00
"2": [
2025-03-06 18:01:24 -05:00
{
2025-03-20 09:22:17 -07:00
"commentStart": 1993,
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"
}
}
]
},
2025-03-20 16:23:20 +13:00
"startNodes": []
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
},
2025-03-20 09:22:17 -07:00
"commentStart": 662,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"params": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "FunctionExpression",
"type": "FunctionExpression"
},
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclarator"
},
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"kind": "fn",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
2025-03-20 09:22:17 -07:00
"type": "VariableDeclaration",
"visibility": "export"
2025-03-06 18:01:24 -05:00
},
{
2025-03-20 09:22:17 -07:00
"commentStart": 2014,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"expression": {
2025-03-20 09:22:17 -07:00
"arguments": [],
2025-03-06 18:01:24 -05:00
"callee": {
2025-03-20 09:22:17 -07:00
"commentStart": 2016,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-20 09:22:17 -07:00
"name": "bolt",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-03-20 09:22:17 -07:00
"commentStart": 2016,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "CallExpression",
"type": "CallExpression"
},
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": 372,
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": [
"// Socket Head Cap Screw",
"// This is for a #10-24 screw that is 1.00 inches long. A socket head cap screw is a type of fastener that is widely used in a variety of applications requiring a high strength fastening solution. It is characterized by its cylindrical head and internal hexagonal drive, which allows for tightening with an Allen wrench or hex key.",
"",
"",
2025-03-20 09:22:17 -07:00
"// set units"
2025-03-20 16:23:20 +13:00
],
2025-03-06 18:01:24 -05:00
"properties": [
{
2025-03-20 16:23:20 +13:00
"commentStart": 381,
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": 381,
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": 401,
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 09:22:17 -07:00
},
{
"commentStart": 405,
"end": 0,
"key": {
"commentStart": 405,
"end": 0,
"name": "defaultAngleUnit",
"start": 0,
"type": "Identifier"
},
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 424,
"end": 0,
"name": "deg",
"start": 0,
"type": "Identifier",
"type": "Identifier"
}
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": "Annotation"
}
],
"nonCodeMeta": {
"nonCodeNodes": {
2025-03-20 09:22:17 -07:00
"5": [
2025-03-06 18:01:24 -05:00
{
2025-03-20 09:22:17 -07:00
"commentStart": 645,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "NonCodeNode",
"value": {
2025-03-20 09:22:17 -07:00
"type": "newLine"
2025-03-06 18:01:24 -05:00
}
}
],
2025-03-20 09:22:17 -07:00
"6": [
2025-03-06 18:01:24 -05:00
{
2025-03-20 09:22:17 -07:00
"commentStart": 2014,
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 09:22:17 -07:00
"commentStart": 428,
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
}
}