2025-03-13 21:59:39 -07:00
|
|
|
---
|
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
|
|
description: Operations executed crazy_multi_profile.kcl
|
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "XZ"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 21:59:39 -07:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 20.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 21:59:39 -07:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
},
|
|
|
|
"tag": {
|
|
|
|
"value": {
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"value": "seg01",
|
|
|
|
"artifact_id": "[uuid]"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 21:59:39 -07:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
2025-03-24 21:55:24 +13:00
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionCall",
|
|
|
|
"name": "circle",
|
|
|
|
"functionSourceRange": [
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Face",
|
|
|
|
"artifact_id": "[uuid]"
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"center": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 5.15,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 4.34,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"radius": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.66,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
},
|
2025-03-13 21:59:39 -07:00
|
|
|
{
|
|
|
|
"labeledArgs": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"angle": {
|
2025-03-13 21:59:39 -07:00
|
|
|
"value": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"type": "Number",
|
|
|
|
"value": 45.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
2025-03-13 21:59:39 -07:00
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"axis": {
|
2025-03-13 21:59:39 -07:00
|
|
|
"value": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"type": "Uuid",
|
|
|
|
"value": "[uuid]"
|
2025-03-13 21:59:39 -07:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "revolve",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 21:59:39 -07:00
|
|
|
"type": "StdLibCall",
|
2025-03-18 20:34:44 -07:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-18 20:34:44 -07:00
|
|
|
}
|
2025-03-13 21:59:39 -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 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 21:59:39 -07:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "-XZ"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 21:59:39 -07:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
2025-03-24 21:55:24 +13:00
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionCall",
|
|
|
|
"name": "circle",
|
|
|
|
"functionSourceRange": [
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"center": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 7.18,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": -2.11,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"radius": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.67,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
},
|
2025-03-13 21:59:39 -07:00
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 21:59:39 -07:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"angle": {
|
2025-03-13 21:59:39 -07:00
|
|
|
"value": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"type": "Number",
|
|
|
|
"value": 45.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
2025-03-13 21:59:39 -07:00
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"axis": {
|
2025-03-13 21:59:39 -07:00
|
|
|
"value": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"type": "TagIdentifier",
|
|
|
|
"value": "seg02",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-03-13 21:59:39 -07:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "revolve",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-13 21:59:39 -07:00
|
|
|
"type": "StdLibCall",
|
2025-03-18 20:34:44 -07:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-18 20:34:44 -07:00
|
|
|
}
|
2025-03-13 21:59:39 -07:00
|
|
|
}
|
|
|
|
]
|