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 lego.kcl
|
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "XY"
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1595,
|
|
|
|
1599,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
1581,
|
|
|
|
1600,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 3.2,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1797,
|
|
|
|
1803,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
1780,
|
|
|
|
1804,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
1780,
|
|
|
|
1804,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1965,
|
|
|
|
1966,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tag": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "start"
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1968,
|
|
|
|
1975,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
1951,
|
|
|
|
1976,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -1.7000000000000002,
|
|
|
|
"ty": {
|
|
|
|
"type": "Unknown"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
2238,
|
|
|
|
2250,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
2221,
|
|
|
|
2252,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
2221,
|
|
|
|
2252,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
2316,
|
|
|
|
2317,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tag": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "end"
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
2319,
|
|
|
|
2324,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
2302,
|
|
|
|
2325,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.8,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
2704,
|
|
|
|
2714,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
2687,
|
|
|
|
2715,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketches",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
2687,
|
|
|
|
2715,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "Object",
|
|
|
|
"value": {
|
|
|
|
"plane": {
|
|
|
|
"type": "Object",
|
|
|
|
"value": {
|
|
|
|
"origin": {
|
|
|
|
"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.7000000000000002,
|
|
|
|
"ty": {
|
|
|
|
"type": "Unknown"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"xAxis": {
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"yAxis": {
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"zAxis": {
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
2790,
|
|
|
|
2798,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
2776,
|
|
|
|
2799,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": -1.8,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
3214,
|
|
|
|
3225,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
3197,
|
|
|
|
3226,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketches",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
3197,
|
|
|
|
3226,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|