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-04-04 11:03:13 -07:00
"commentStart": 404,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-04-04 11:03:13 -07:00
"commentStart": 427,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-04-04 11:03:13 -07:00
"commentStart": 427,
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-04-04 11:03:13 -07:00
"commentStart": 442,
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-04-04 11:03:13 -07:00
"preComments": [
"// Define parameters"
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
2025-04-04 11:03:13 -07:00
"type": "VariableDeclaration"
2025-03-06 18:01:24 -05:00
},
{
2025-04-04 11:03:13 -07:00
"commentStart": 448,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-04-04 11:03:13 -07:00
"commentStart": 448,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-04-04 11:03:13 -07:00
"commentStart": 448,
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-04-04 11:03:13 -07:00
"commentStart": 461,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-26 08:53:34 -07:00
"raw": "1.0",
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-04-04 11:03:13 -07:00
"type": "VariableDeclaration"
2025-03-06 18:01:24 -05:00
},
{
2025-04-04 11:03:13 -07:00
"commentStart": 465,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-04-04 11:03:13 -07:00
"commentStart": 465,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-04-04 11:03:13 -07:00
"commentStart": 465,
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-24 20:58:55 +13:00
"abs_path": false,
2025-04-04 11:03:13 -07:00
"commentStart": 482,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-04-04 11:03:13 -07:00
"commentStart": 482,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "boltDiameter",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
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-04-04 11:03:13 -07:00
"type": "VariableDeclaration"
2025-03-06 18:01:24 -05:00
},
{
2025-04-04 11:03:13 -07:00
"commentStart": 495,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-04-04 11:03:13 -07:00
"commentStart": 495,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-04-04 11:03:13 -07:00
"commentStart": 495,
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-04-04 11:03:13 -07:00
"commentStart": 514,
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-04-04 11:03:13 -07:00
"type": "VariableDeclaration"
2025-03-06 18:01:24 -05:00
},
{
2025-04-04 11:03:13 -07:00
"commentStart": 520,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-04-04 11:03:13 -07:00
"commentStart": 520,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-04-04 11:03:13 -07:00
"commentStart": 520,
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-04-04 11:03:13 -07:00
"commentStart": 535,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-04-04 11:03:13 -07:00
"commentStart": 535,
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-04-04 11:03:13 -07:00
"commentStart": 539,
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",
2025-04-04 11:03:13 -07:00
"type": "VariableDeclaration"
2025-03-06 18:01:24 -05:00
},
{
2025-04-04 11:03:13 -07:00
"commentStart": 542,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-04-04 11:03:13 -07:00
"commentStart": 542,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-04-04 11:03:13 -07:00
"commentStart": 542,
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-04-04 11:03:13 -07:00
"commentStart": 562,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-04-04 11:03:13 -07:00
"commentStart": 562,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-04-04 11:03:13 -07:00
"commentStart": 562,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "boltHexDrive",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
},
"operator": "/",
"right": {
2025-04-04 11:03:13 -07:00
"commentStart": 578,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"left": {
2025-04-04 11:03:13 -07:00
"commentStart": 578,
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": [
{
2025-04-04 11:03:13 -07:00
"commentStart": 596,
2025-03-20 09:22:17 -07:00
"end": 0,
"raw": "30",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-04-04 11:03:13 -07:00
"commentStart": 586,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-04-04 11:03:13 -07:00
"commentStart": 586,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "toRadians",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"commentStart": 586,
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": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-04-04 11:03:13 -07:00
"commentStart": 582,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-04-04 11:03:13 -07:00
"commentStart": 582,
2025-03-24 20:58:55 +13:00
"end": 0,
"name": "cos",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"commentStart": 582,
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",
2025-04-04 11:03:13 -07:00
"type": "VariableDeclaration"
2025-03-06 18:01:24 -05:00
},
{
2025-04-04 11:03:13 -07:00
"commentStart": 601,
2025-03-06 18:01:24 -05:00
"declaration": {
2025-04-04 11:03:13 -07:00
"commentStart": 639,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-06 18:01:24 -05:00
"id": {
2025-04-04 11:03:13 -07:00
"commentStart": 639,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -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": {
2025-04-04 11:03:13 -07:00
"body": [
{
"arguments": [
{
"abs_path": false,
"commentStart": 664,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": {
"commentStart": 664,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "XZ",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
}
],
"callee": {
"abs_path": false,
"commentStart": 650,
"end": 0,
"name": {
"commentStart": 650,
"end": 0,
"name": "startSketchOn",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 650,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 680,
"end": 0,
"name": "center",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-04-04 11:03:13 -07:00
"arg": {
"commentStart": 689,
"elements": [
2025-03-06 18:01:24 -05:00
{
2025-04-04 11:03:13 -07:00
"commentStart": 690,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"raw": "0",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
},
{
2025-04-04 11:03:13 -07:00
"commentStart": 693,
"end": 0,
"raw": "0",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 697,
"end": 0,
"name": "radius",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 706,
"end": 0,
"left": {
"abs_path": false,
"commentStart": 706,
"end": 0,
"name": {
"commentStart": 706,
2025-03-20 09:22:17 -07:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltHeadDiameter",
2025-03-20 09:22:17 -07:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
},
"operator": "/",
"right": {
"commentStart": 725,
"end": 0,
"raw": "2",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 0,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 728,
"end": 0,
"name": "tag",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 734,
"end": 0,
"start": 0,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "topEdge"
}
}
],
"callee": {
"abs_path": false,
"commentStart": 673,
"end": 0,
"name": {
"commentStart": 673,
"end": 0,
"name": "circle",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 673,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 757,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"arg": {
"argument": {
"abs_path": false,
"commentStart": 767,
"end": 0,
"name": {
"commentStart": 767,
"end": 0,
"name": "boltHeadLength",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
},
"commentStart": 766,
"end": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
"type": "UnaryExpression"
}
}
],
"callee": {
"abs_path": false,
"commentStart": 749,
"end": 0,
"name": {
"commentStart": 749,
"end": 0,
"name": "extrude",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 749,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 795,
"end": 0,
"name": "radius",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 804,
"end": 0,
"raw": "0.020",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.02,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 811,
"end": 0,
"name": "tags",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 818,
"elements": [
2025-03-20 09:22:17 -07:00
{
2025-04-04 11:03:13 -07:00
"abs_path": false,
"commentStart": 819,
"end": 0,
"name": {
"commentStart": 819,
2025-03-20 09:22:17 -07:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "topEdge",
2025-03-20 09:22:17 -07:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"path": [],
2025-03-20 09:22:17 -07:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Name",
"type": "Name"
2025-03-20 09:22:17 -07:00
},
{
"arguments": [
{
2025-04-04 11:03:13 -07:00
"abs_path": false,
"commentStart": 844,
"end": 0,
"name": {
"commentStart": 844,
2025-03-20 09:22:17 -07:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "topEdge",
2025-03-20 09:22:17 -07:00
"start": 0,
"type": "Identifier"
},
2025-04-04 11:03:13 -07:00
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
2025-03-20 09:22:17 -07:00
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-04-04 11:03:13 -07:00
"commentStart": 828,
2025-03-20 09:22:17 -07:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-04-04 11:03:13 -07:00
"commentStart": 828,
2025-03-24 20:58:55 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "getOppositeEdge",
2025-03-24 20:58:55 +13:00
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 09:22:17 -07:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"commentStart": 828,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "CallExpression",
"type": "CallExpression"
2025-03-06 18:01:24 -05:00
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"abs_path": false,
"commentStart": 788,
"end": 0,
"name": {
"commentStart": 788,
"end": 0,
"name": "fillet",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"commentStart": 788,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"commentStart": 650,
"end": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"3": [
{
"commentStart": 854,
"end": 0,
"start": 0,
"type": "NonCodeNode",
"value": {
"type": "newLineBlockComment",
"value": "Define the sketch of the hex pattern on the screw head",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 0,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"preComments": [
"",
"",
"// Create the head of the cap screw"
],
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"commentStart": 914,
"declaration": {
"commentStart": 914,
"end": 0,
"id": {
"commentStart": 914,
"end": 0,
"name": "hexPatternSketch",
"start": 0,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"abs_path": false,
"commentStart": 947,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": {
"commentStart": 947,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltHead",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "Identifier"
},
2025-04-04 11:03:13 -07:00
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
},
{
"commentStart": 957,
"end": 0,
"raw": "'start'",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": "start"
}
],
"callee": {
"abs_path": false,
"commentStart": 933,
"end": 0,
"name": {
"commentStart": 933,
"end": 0,
"name": "startSketchOn",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 933,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"commentStart": 986,
"elements": [
{
"commentStart": 995,
"end": 0,
"left": {
"abs_path": false,
"commentStart": 995,
"end": 0,
"name": {
"commentStart": 995,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltHexDrive",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
},
"operator": "/",
"right": {
"commentStart": 1010,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"start": 0,
"type": "BinaryExpression",
"type": "BinaryExpression"
},
{
"commentStart": 1020,
"end": 0,
"left": {
"abs_path": false,
"commentStart": 1020,
"end": 0,
"name": {
"commentStart": 1020,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltHexFlatLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
},
"operator": "/",
"right": {
"commentStart": 1040,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"raw": "2",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"start": 0,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
],
"end": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
{
"commentStart": 1050,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"abs_path": false,
"commentStart": 971,
"end": 0,
"name": {
"commentStart": 971,
"end": 0,
"name": "startProfileAt",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 971,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"commentStart": 1069,
"end": 0,
"properties": [
{
"commentStart": 1078,
"end": 0,
"key": {
"commentStart": 1078,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "angle",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1086,
"end": 0,
"raw": "270",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 270.0,
"suffix": "None"
}
}
},
{
"commentStart": 1098,
"end": 0,
"key": {
"commentStart": 1098,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"start": 0,
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 1107,
"end": 0,
"name": {
"commentStart": 1107,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltHexFlatLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Name",
"type": "Name"
}
}
],
"start": 0,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"commentStart": 1133,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"abs_path": false,
"commentStart": 1058,
"end": 0,
"name": {
"commentStart": 1058,
"end": 0,
"name": "angledLine",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 1058,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"commentStart": 1152,
"end": 0,
"properties": [
{
"commentStart": 1161,
"end": 0,
"key": {
"commentStart": 1161,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "angle",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1169,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"raw": "210",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 210.0,
"suffix": "None"
}
}
},
{
"commentStart": 1181,
"end": 0,
"key": {
"commentStart": 1181,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"start": 0,
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 1190,
"end": 0,
"name": {
"commentStart": 1190,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltHexFlatLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
}
}
],
"start": 0,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"commentStart": 1216,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"abs_path": false,
"commentStart": 1141,
"end": 0,
"name": {
"commentStart": 1141,
"end": 0,
"name": "angledLine",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 1141,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"commentStart": 1235,
"end": 0,
"properties": [
{
"commentStart": 1244,
"end": 0,
"key": {
"commentStart": 1244,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "angle",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1252,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"raw": "150",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Literal",
"type": "Literal",
"value": {
"value": 150.0,
"suffix": "None"
}
}
},
{
"commentStart": 1264,
"end": 0,
"key": {
"commentStart": 1264,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"start": 0,
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 1273,
"end": 0,
"name": {
"commentStart": 1273,
2025-03-20 09:22:17 -07:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltHexFlatLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"path": [],
2025-03-20 09:22:17 -07:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Name",
"type": "Name"
2025-03-06 18:01:24 -05:00
}
2025-04-04 11:03:13 -07:00
}
],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "ObjectExpression",
"type": "ObjectExpression"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
{
"commentStart": 1299,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"abs_path": false,
"commentStart": 1224,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": {
"commentStart": 1224,
"end": 0,
"name": "angledLine",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"commentStart": 1224,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"commentStart": 1318,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"properties": [
{
"commentStart": 1327,
"end": 0,
"key": {
"commentStart": 1327,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "angle",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1335,
"end": 0,
"raw": "90",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
"commentStart": 1346,
"end": 0,
"key": {
"commentStart": 1346,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"start": 0,
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 1355,
"end": 0,
"name": {
"commentStart": 1355,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltHexFlatLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
}
}
],
"start": 0,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"commentStart": 1381,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"abs_path": false,
"commentStart": 1307,
"end": 0,
"name": {
"commentStart": 1307,
"end": 0,
"name": "angledLine",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 1307,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"commentStart": 1400,
"end": 0,
"properties": [
{
"commentStart": 1409,
"end": 0,
"key": {
"commentStart": 1409,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "angle",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1417,
"end": 0,
"raw": "30",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 30.0,
"suffix": "None"
}
}
},
{
"commentStart": 1428,
"end": 0,
"key": {
"commentStart": 1428,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"start": 0,
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 1437,
"end": 0,
"name": {
"commentStart": 1437,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltHexFlatLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"path": [],
2025-03-20 09:22:17 -07:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Name",
"type": "Name"
}
}
],
"start": 0,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
{
"commentStart": 1463,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
"type": "PipeSubstitution"
}
],
"callee": {
"abs_path": false,
"commentStart": 1389,
"end": 0,
"name": {
"commentStart": 1389,
"end": 0,
"name": "angledLine",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 1389,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 1471,
"end": 0,
"name": {
"commentStart": 1471,
"end": 0,
"name": "close",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 1471,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 1492,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1501,
"end": 0,
"left": {
"argument": {
"abs_path": false,
"commentStart": 1502,
"end": 0,
"name": {
"commentStart": 1502,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltHeadLength",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
},
"commentStart": 1501,
"end": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"operator": "*",
"right": {
"commentStart": 1519,
"end": 0,
"raw": "0.75",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.75,
"suffix": "None"
}
},
"start": 0,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
}
],
"callee": {
"abs_path": false,
"commentStart": 1484,
"end": 0,
"name": {
"commentStart": 1484,
"end": 0,
"name": "extrude",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 1484,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"commentStart": 933,
"end": 0,
"start": 0,
"type": "PipeExpression",
"type": "PipeExpression"
},
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"commentStart": 1525,
"declaration": {
"commentStart": 1525,
"end": 0,
"id": {
"commentStart": 1525,
"end": 0,
"name": "boltBody",
"start": 0,
"type": "Identifier"
},
"init": {
"body": [
{
"arguments": [
{
"abs_path": false,
"commentStart": 1550,
"end": 0,
"name": {
"commentStart": 1550,
"end": 0,
"name": "boltHead",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
},
{
"commentStart": 1560,
"end": 0,
"raw": "'end'",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": "end"
}
],
"callee": {
"abs_path": false,
"commentStart": 1536,
"end": 0,
"name": {
"commentStart": 1536,
"end": 0,
"name": "startSketchOn",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 1536,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 1579,
"end": 0,
"name": "center",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1588,
"elements": [
{
"commentStart": 1589,
"end": 0,
"raw": "0",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
},
{
"commentStart": 1592,
"end": 0,
"raw": "0",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.0,
"suffix": "None"
}
}
],
"end": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 1596,
"end": 0,
"name": "radius",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1605,
"end": 0,
"left": {
"abs_path": false,
"commentStart": 1605,
"end": 0,
"name": {
"commentStart": 1605,
2025-03-20 09:22:17 -07:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "boltDiameter",
2025-03-20 09:22:17 -07:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
},
"operator": "/",
"right": {
"commentStart": 1620,
"end": 0,
"raw": "2",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
},
"start": 0,
"type": "BinaryExpression",
"type": "BinaryExpression"
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 1623,
"end": 0,
"name": "tag",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1629,
"end": 0,
"start": 0,
"type": "TagDeclarator",
"type": "TagDeclarator",
"value": "filletEdge"
}
}
],
"callee": {
"abs_path": false,
"commentStart": 1572,
"end": 0,
"name": {
"commentStart": 1572,
"end": 0,
"name": "circle",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 1572,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 1655,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"arg": {
"abs_path": false,
"commentStart": 1664,
"end": 0,
"name": {
"commentStart": 1664,
"end": 0,
"name": "boltLength",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
}
}
],
"callee": {
"abs_path": false,
"commentStart": 1647,
"end": 0,
"name": {
"commentStart": 1647,
"end": 0,
"name": "extrude",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 1647,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 1688,
"end": 0,
"name": "radius",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1697,
"end": 0,
"raw": ".020",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 0.02,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 1703,
"end": 0,
"name": "tags",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1710,
"elements": [
2025-03-20 09:22:17 -07:00
{
"arguments": [
{
2025-04-04 11:03:13 -07:00
"abs_path": false,
"commentStart": 1727,
"end": 0,
"name": {
"commentStart": 1727,
2025-03-20 09:22:17 -07:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "filletEdge",
2025-03-20 09:22:17 -07:00
"start": 0,
"type": "Identifier"
},
2025-04-04 11:03:13 -07:00
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
2025-03-20 09:22:17 -07:00
}
],
"callee": {
2025-03-24 20:58:55 +13:00
"abs_path": false,
2025-04-04 11:03:13 -07:00
"commentStart": 1711,
2025-03-20 09:22:17 -07:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
2025-04-04 11:03:13 -07:00
"commentStart": 1711,
2025-03-24 20:58:55 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "getOppositeEdge",
2025-03-24 20:58:55 +13:00
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 09:22:17 -07:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name"
2025-03-20 09:22:17 -07:00
},
2025-04-04 11:03:13 -07:00
"commentStart": 1711,
2025-03-20 09:22:17 -07:00
"end": 0,
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "CallExpression",
"type": "CallExpression"
2025-03-06 18:01:24 -05:00
}
],
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "ArrayExpression",
"type": "ArrayExpression"
}
}
],
"callee": {
"abs_path": false,
"commentStart": 1681,
"end": 0,
"name": {
"commentStart": 1681,
"end": 0,
"name": "fillet",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Identifier"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"commentStart": 1681,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 1757,
2025-03-24 20:58:55 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"name": "color",
2025-03-24 20:58:55 +13:00
"start": 0,
"type": "Identifier"
},
2025-04-04 11:03:13 -07:00
"arg": {
"commentStart": 1765,
"end": 0,
"raw": "\"#4dd043\"",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": "#4dd043"
}
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
{
"type": "LabeledArg",
"label": {
"commentStart": 1776,
"end": 0,
"name": "metalness",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1788,
"end": 0,
"raw": "90",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": {
"value": 90.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 1792,
"end": 0,
"name": "roughness",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1804,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-04-04 11:03:13 -07:00
"raw": "90",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-04-04 11:03:13 -07:00
"type": "Literal",
"type": "Literal",
2025-03-06 18:01:24 -05:00
"value": {
2025-04-04 11:03:13 -07:00
"value": 90.0,
"suffix": "None"
2025-03-06 18:01:24 -05:00
}
}
2025-04-04 11:03:13 -07:00
}
],
"callee": {
"abs_path": false,
"commentStart": 1746,
"end": 0,
"name": {
"commentStart": 1746,
"end": 0,
"name": "appearance",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
2025-03-06 18:01:24 -05:00
},
2025-04-04 11:03:13 -07:00
"commentStart": 1746,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
}
],
"commentStart": 1536,
2025-03-20 11:06:27 +13:00
"end": 0,
"start": 0,
2025-04-04 11:03:13 -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-04-04 11:03:13 -07:00
"kind": "const",
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-06 18:01:24 -05:00
"type": "VariableDeclaration",
2025-04-04 11:03:13 -07:00
"type": "VariableDeclaration"
2025-03-06 18:01:24 -05:00
}
],
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-04-04 11:03:13 -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-24 20:58:55 +13:00
"abs_path": false,
2025-03-20 16:23:20 +13:00
"commentStart": 401,
2025-03-20 11:06:27 +13:00
"end": 0,
2025-03-24 20:58:55 +13:00
"name": {
"commentStart": 401,
"end": 0,
"name": "in",
"start": 0,
"type": "Identifier"
},
"path": [],
2025-03-20 11:06:27 +13:00
"start": 0,
2025-03-24 20:58:55 +13:00
"type": "Name",
"type": "Name"
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": {
2025-04-04 11:03:13 -07:00
"nonCodeNodes": {},
2025-03-06 18:01:24 -05:00
"startNodes": [
{
2025-04-04 11:03:13 -07:00
"commentStart": 404,
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
}
}