Files
modeling-app/rust/kcl-lib/tests/kcl_samples/lego/ops.snap
Jonathan Tran e894242768 Add warning when using a module with no return value (#5771)
* Add warning when using a module with no return value

* Update output files since changing source range of the pipeline argument

* Change wording of error message to not use the term unlabeled
2025-03-12 18:05:18 +00:00

538 lines
12 KiB
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
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": [
1780,
1804,
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": [
2221,
2252,
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": [
2687,
2715,
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": [
3197,
3226,
0
]
}
}
]