2025-03-06 18:01:24 -05:00
|
|
|
---
|
2025-03-12 14:05:18 -04:00
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
2025-03-06 18:01:24 -05:00
|
|
|
description: Operations executed bracket.kcl
|
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "XY"
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1160,
|
|
|
|
1164,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
1146,
|
|
|
|
1165,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"holeSketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1379,
|
|
|
|
1458,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1460,
|
|
|
|
1461,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "hole",
|
|
|
|
"sourceRange": [
|
|
|
|
1374,
|
|
|
|
1462,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"holeSketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1473,
|
|
|
|
1576,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1578,
|
|
|
|
1579,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "hole",
|
|
|
|
"sourceRange": [
|
|
|
|
1468,
|
|
|
|
1580,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"holeSketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1591,
|
|
|
|
1678,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1680,
|
|
|
|
1681,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "hole",
|
|
|
|
"sourceRange": [
|
|
|
|
1586,
|
|
|
|
1682,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"holeSketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1693,
|
|
|
|
1788,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1790,
|
|
|
|
1791,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "hole",
|
|
|
|
"sourceRange": [
|
|
|
|
1688,
|
|
|
|
1792,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.35132402626147197,
|
|
|
|
"ty": {
|
|
|
|
"type": "Unknown"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1887,
|
|
|
|
1896,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
1851,
|
|
|
|
1897,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1859,
|
|
|
|
1876,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"radius": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.25,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1927,
|
|
|
|
1942,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tags": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Uuid",
|
|
|
|
"value": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Uuid",
|
|
|
|
"value": "[uuid]"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1958,
|
|
|
|
2045,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "fillet",
|
|
|
|
"sourceRange": [
|
|
|
|
1903,
|
|
|
|
2052,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
1903,
|
|
|
|
2052,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "XZ"
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
2108,
|
|
|
|
2112,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
2094,
|
|
|
|
2113,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -6.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
2484,
|
|
|
|
2490,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
2453,
|
|
|
|
2491,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
2461,
|
|
|
|
2473,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "Object",
|
|
|
|
"value": {
|
|
|
|
"plane": {
|
|
|
|
"type": "Object",
|
|
|
|
"value": {
|
|
|
|
"origin": {
|
|
|
|
"type": "Object",
|
|
|
|
"value": {
|
|
|
|
"x": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -0.375,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"z": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"xAxis": {
|
|
|
|
"type": "Object",
|
|
|
|
"value": {
|
|
|
|
"x": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"z": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"yAxis": {
|
|
|
|
"type": "Object",
|
|
|
|
"value": {
|
|
|
|
"x": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"z": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"zAxis": {
|
|
|
|
"type": "Object",
|
|
|
|
"value": {
|
|
|
|
"x": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"z": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
2819,
|
|
|
|
2830,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
2805,
|
|
|
|
2831,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"holeSketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
3021,
|
|
|
|
3103,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
3105,
|
|
|
|
3106,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "hole",
|
|
|
|
"sourceRange": [
|
|
|
|
3016,
|
|
|
|
3107,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"holeSketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
3118,
|
|
|
|
3200,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
3202,
|
|
|
|
3203,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "hole",
|
|
|
|
"sourceRange": [
|
|
|
|
3113,
|
|
|
|
3204,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -0.35132402626147197,
|
|
|
|
"ty": {
|
|
|
|
"type": "Unknown"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
3289,
|
|
|
|
3299,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
3253,
|
|
|
|
3300,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
3261,
|
|
|
|
3278,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"radius": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.25,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
3330,
|
|
|
|
3345,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tags": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Uuid",
|
|
|
|
"value": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Uuid",
|
|
|
|
"value": "[uuid]"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
3361,
|
|
|
|
3448,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "fillet",
|
|
|
|
"sourceRange": [
|
|
|
|
3306,
|
|
|
|
3455,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
3306,
|
|
|
|
3455,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|