2025-03-06 18:01:24 -05:00
|
|
|
---
|
2025-03-13 09:38:22 -07:00
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
2025-03-06 18:01:24 -05:00
|
|
|
description: Operations executed pipe-with-bend.kcl
|
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
2025-03-26 08:53:34 -07:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-06 18:01:24 -05: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": 30.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"radius": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 10.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Unknown"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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": 30.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"radius": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 5.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Unknown"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"holeSketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"sketch": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "hole",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"angle": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"type": "Number",
|
|
|
|
"value": 90.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"axis": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"type": "String",
|
|
|
|
"value": "Y"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "revolve",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-03-06 18:01:24 -05: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-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
]
|