2025-04-17 17:22:19 -07:00
|
|
|
---
|
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
|
|
description: Operations executed import_async.kcl
|
|
|
|
---
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"rust/kcl-lib/e2e/executor/inputs/2-5-long-m8-chc-screw.stl": [],
|
|
|
|
"rust/kcl-lib/tests/import_async/input.kcl": [
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "ModuleInstance",
|
|
|
|
"name": "2-5-long-m8-chc-screw.stl",
|
|
|
|
"moduleId": 0
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "helicalGear",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"gearHeight": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 7.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"helixAngle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 35.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"module": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"nTeeth": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 21.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"pressureAngle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 20.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-06-05 12:24:34 -04:00
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatementExpr"
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "pitchDiameter",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 42.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "addendum",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "deddendum",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "baseDiameter",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 39.467,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "tipDiameter",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 46.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "keywayWidth",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "keywayDepth",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 6
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "holeDiam",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 7.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 7
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "holeRadius",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 3.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 8
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "startAngle",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.29,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 9
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"unlabeledArg": {
|
2025-05-02 16:08:12 -05:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "helicalGearSketch",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"offsetHeight": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
2025-05-12 01:30:33 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
2025-05-02 16:08:12 -05:00
|
|
|
}
|
2025-06-05 12:24:34 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 12
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "helixCalc",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.571,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "offsetPlane",
|
|
|
|
"unlabeledArg": {
|
2025-05-02 16:08:12 -05:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
2025-05-13 21:07:24 -07:00
|
|
|
"labeledArgs": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"offset": {
|
2025-05-13 21:07:24 -07:00
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-06-10 21:30:48 -04:00
|
|
|
"value": 0.0,
|
2025-05-13 21:07:24 -07:00
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwUnlabeledArg"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-04-23 10:58:35 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "polar",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.571,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.734,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-04-23 10:58:35 +12:00
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "x",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "y",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.734,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "polar",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.704,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 23.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-04-23 10:58:35 +12:00
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "x",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -3.049,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "y",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 22.797,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "polar",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.87,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.734,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-06-05 12:24:34 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 5
|
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "x",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -5.817,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "y",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 18.857,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
2025-06-10 21:30:48 -04:00
|
|
|
}
|
2025-06-12 12:38:12 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "subtract2d",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-05-13 21:07:24 -07:00
|
|
|
"labeledArgs": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"tool": {
|
2025-05-13 21:07:24 -07:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-12 01:30:33 -04:00
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 8
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "helicalGearSketch",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"offsetHeight": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 3.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 13
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-04-23 10:58:35 +12:00
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "helixCalc",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.464,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "offsetPlane",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-05-13 21:07:24 -07:00
|
|
|
"labeledArgs": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"offset": {
|
2025-05-13 21:07:24 -07:00
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-06-10 21:30:48 -04:00
|
|
|
"value": 3.5,
|
2025-05-13 21:07:24 -07:00
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwUnlabeledArg"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-04-23 10:58:35 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "polar",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.464,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.734,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "x",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.103,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "y",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.621,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "polar",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.597,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 23.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-04-23 10:58:35 +12:00
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "x",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -0.603,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "y",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 22.992,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "polar",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.763,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.734,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-06-05 12:24:34 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "x",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -3.774,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "y",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.369,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "subtract2d",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-05-13 21:07:24 -07:00
|
|
|
"labeledArgs": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"tool": {
|
2025-05-13 21:07:24 -07:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-12 01:30:33 -04:00
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 8
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "helicalGearSketch",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"offsetHeight": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 7.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 14
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "helixCalc",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.356,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "offsetPlane",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"offset": {
|
2025-05-13 21:07:24 -07:00
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-06-10 21:30:48 -04:00
|
|
|
"value": 7.0,
|
2025-05-13 21:07:24 -07:00
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwUnlabeledArg"
|
|
|
|
}
|
|
|
|
]
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"unlabeledArg": {
|
2025-05-02 16:08:12 -05:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "polar",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.356,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.734,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2025-05-13 21:07:24 -07:00
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "x",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 4.205,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "y",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.28,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
2025-04-23 10:58:35 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "polar",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.489,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 23.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-06-05 12:24:34 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "x",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.879,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "y",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 22.923,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "polar",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.655,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.734,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2025-05-13 21:07:24 -07:00
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-12 12:38:12 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "x",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -1.664,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "y",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 19.663,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "default",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "subtract2d",
|
|
|
|
"unlabeledArg": {
|
2025-05-02 16:08:12 -05:00
|
|
|
"value": {
|
2025-05-13 21:07:24 -07:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-02 16:08:12 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
2025-05-13 21:07:24 -07:00
|
|
|
"labeledArgs": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"tool": {
|
2025-05-13 21:07:24 -07:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-12 01:30:33 -04:00
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
{
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "VariableDeclarationInit"
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
{
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "FunctionExpressionBody"
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
{
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 8
|
2025-05-02 16:08:12 -05:00
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
]
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
2025-05-13 21:07:24 -07:00
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "loft",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-13 21:07:24 -07:00
|
|
|
}
|
2025-05-12 01:30:33 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
]
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBody"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionExpressionBodyItem",
|
|
|
|
"index": 15
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "translate",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "ImportedGeometry",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"y": {
|
2025-05-13 21:07:24 -07:00
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-06-10 21:30:48 -04:00
|
|
|
"value": 10.0,
|
2025-05-13 21:07:24 -07:00
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-05-12 01:30:33 -04:00
|
|
|
}
|
2025-05-13 21:07:24 -07:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-06-02 10:32:36 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatementExpr"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 1
|
2025-06-02 10:32:36 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"std::appearance": [],
|
|
|
|
"std::array": [],
|
2025-06-12 12:38:12 -04:00
|
|
|
"std::math": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "PI",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 3.142,
|
|
|
|
"ty": {
|
|
|
|
"type": "Unknown"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "E",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.718,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Count"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "TAU",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 6.283,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Count"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"std::prelude": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "START",
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "start"
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "END",
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "end"
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
],
|
2025-06-10 21:30:48 -04:00
|
|
|
"std::sketch": [],
|
|
|
|
"std::solid": [],
|
|
|
|
"std::sweep": [],
|
|
|
|
"std::transform": [],
|
|
|
|
"std::turns": [],
|
|
|
|
"std::types": [],
|
|
|
|
"std::units": []
|
|
|
|
}
|