2024-12-16 13:10:31 -05:00
|
|
|
---
|
|
|
|
source: kcl/src/simulation_tests.rs
|
|
|
|
description: Operations executed kw_fn.kcl
|
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionCall",
|
|
|
|
"name": "increment",
|
|
|
|
"functionSourceRange": [
|
|
|
|
12,
|
|
|
|
35,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {},
|
|
|
|
"sourceRange": [
|
|
|
|
85,
|
|
|
|
97,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionCall",
|
|
|
|
"name": "add",
|
|
|
|
"functionSourceRange": [
|
|
|
|
43,
|
|
|
|
77,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"unlabeledArg": {
|
2025-02-21 10:24:12 -05:00
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-12-16 13:10:31 -05:00
|
|
|
"sourceRange": [
|
|
|
|
110,
|
|
|
|
111,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"delta": {
|
2025-02-21 10:24:12 -05:00
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-12-16 13:10:31 -05:00
|
|
|
"sourceRange": [
|
|
|
|
121,
|
|
|
|
122,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
106,
|
|
|
|
123,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
}
|
|
|
|
]
|