2025-05-13 18:05:57 -04:00
|
|
|
---
|
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
|
|
description: Operations executed hammer.kcl
|
|
|
|
---
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"public/kcl-samples/hammer/main.kcl": [
|
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "extrude",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 3.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"symmetric": {
|
|
|
|
"value": {
|
|
|
|
"type": "Bool",
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
}
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 18
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2025-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "offsetPlane",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"labeledArgs": {
|
|
|
|
"offset": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 13.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"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": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwUnlabeledArg"
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +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": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "extrude",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -14.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
}
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 9
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2025-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "extrude",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -14.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 7
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2025-05-13 18:05:57 -04:00
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "extrude",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -14.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 9
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2025-05-13 18:05:57 -04:00
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "union",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
]
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ArrayElement",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwUnlabeledArg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ArrayElement",
|
|
|
|
"index": 1
|
2025-05-19 16:50:15 +12:00
|
|
|
}
|
|
|
|
]
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "union",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-05-13 18:05:57 -04:00
|
|
|
{
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 5
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
{
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CallKwArg",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ArrayElement",
|
|
|
|
"index": 0
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "subtract",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"tools": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 5
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
{
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +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": []
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 6
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "extrude",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 14.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"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": 6
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 2
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "offsetPlane",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"offset": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 11.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
}
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 7
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 7
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "extrude",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"tagStart": {
|
|
|
|
"value": {
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"name": "capStart001"
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 7
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
{
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 2
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "fillet",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"radius": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.05,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"tags": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Uuid",
|
|
|
|
"value": "[uuid]"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
}
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 7
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 3
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2025-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "union",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-05-13 18:05:57 -04:00
|
|
|
{
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 8
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "subtract",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"tools": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 8
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"unlabeledArg": {
|
2025-05-28 16:29:23 +12:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 9
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
2025-05-13 18:05:57 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "revolve",
|
|
|
|
"unlabeledArg": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
2025-05-13 18:05:57 -04:00
|
|
|
"value": {
|
2025-06-10 21:30:48 -04:00
|
|
|
"type": "Number",
|
|
|
|
"value": 360.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"axis": {
|
|
|
|
"value": {
|
|
|
|
"type": "Object",
|
|
|
|
"value": {
|
|
|
|
"direction": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"origin": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
]
|
|
|
|
}
|
2025-05-13 18:05:57 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-06-05 12:24:34 -04:00
|
|
|
}
|
2025-06-10 21:30:48 -04:00
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarationInit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PipeBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"std::appearance": [],
|
|
|
|
"std::array": [],
|
2025-06-12 12:38:12 -04:00
|
|
|
"std::math": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "PI",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-06-16 21:34:50 -04:00
|
|
|
"value": 3.141592653589793,
|
2025-06-12 12:38:12 -04:00
|
|
|
"ty": {
|
|
|
|
"type": "Unknown"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "E",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-06-16 21:34:50 -04:00
|
|
|
"value": 2.718281828459045,
|
2025-06-12 12:38:12 -04:00
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Count"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "TAU",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-06-16 21:34:50 -04:00
|
|
|
"value": 6.283185307179586,
|
2025-06-12 12:38:12 -04:00
|
|
|
"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": []
|
|
|
|
}
|