2025-03-13 11:13:33 -07:00
|
|
|
---
|
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
|
|
description: Operations executed multi_transform.kcl
|
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
2025-05-02 16:08:12 -05:00
|
|
|
"labeledArgs": {},
|
2025-03-13 11:13:33 -07:00
|
|
|
"name": "startSketchOn",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 11:13:33 -07:00
|
|
|
"type": "StdLibCall",
|
2025-05-02 16:08:12 -05:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
2025-03-13 11:13:33 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 4.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 11:13:33 -07:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
|
|
|
},
|
2025-05-08 14:43:50 -04:00
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": null,
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Count"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": null,
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Count"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-03-13 11:13:33 -07:00
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"instances": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 3.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 11:13:33 -07:00
|
|
|
},
|
|
|
|
"transform": {
|
|
|
|
"value": {
|
|
|
|
"type": "Function"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "patternTransform",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 11:13:33 -07:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-05-08 14:43:50 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
|
|
|
]
|