2024-12-16 13:10:31 -05:00
|
|
|
---
|
|
|
|
source: kcl/src/simulation_tests.rs
|
|
|
|
description: Operations executed kw_fn_with_defaults.kcl
|
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionCall",
|
|
|
|
"name": "increment",
|
|
|
|
"functionSourceRange": [
|
|
|
|
12,
|
|
|
|
45,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {},
|
|
|
|
"sourceRange": [
|
|
|
|
53,
|
|
|
|
65,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionCall",
|
|
|
|
"name": "increment",
|
|
|
|
"functionSourceRange": [
|
|
|
|
12,
|
|
|
|
45,
|
|
|
|
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": [
|
|
|
|
88,
|
|
|
|
89,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"by": {
|
2025-02-21 10:24:12 -05:00
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 20.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-12-16 13:10:31 -05:00
|
|
|
"sourceRange": [
|
|
|
|
96,
|
|
|
|
98,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
78,
|
|
|
|
99,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
}
|
|
|
|
]
|