2025-03-06 18:01:24 -05:00
|
|
|
---
|
2025-03-12 14:05:18 -04:00
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
2025-05-13 17:11:50 -04:00
|
|
|
description: Operations executed countersunk-plate.kcl
|
2025-03-06 18:01:24 -05:00
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "startSketchOn",
|
2025-05-02 16:08:12 -05:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-05-13 17:11:50 -04:00
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "polar",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {
|
|
|
|
"angle": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-05-26 11:17:12 +12:00
|
|
|
"value": 1.197,
|
2025-05-13 17:11:50 -04:00
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Radians"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-05-26 11:17:12 +12:00
|
|
|
"value": 1.663,
|
2025-05-13 17:11:50 -04:00
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "subtract2d",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-05-13 17:11:50 -04:00
|
|
|
"labeledArgs": {
|
|
|
|
"tool": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
},
|
2025-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
2025-05-13 17:11:50 -04:00
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "extrude",
|
2025-05-13 17:11:50 -04:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"length": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Number",
|
2025-05-13 17:11:50 -04:00
|
|
|
"value": 0.375,
|
2025-03-13 23:38:51 -07:00
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"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-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "startSketchOn",
|
2025-03-13 23:38:51 -07:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "Solid",
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
2025-04-14 05:58:19 -04:00
|
|
|
"face": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "String",
|
|
|
|
"value": "end"
|
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-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "startSketchOn",
|
2025-04-14 05:58:19 -04:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
2025-05-13 17:11:50 -04:00
|
|
|
"face": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-05-13 17:11:50 -04:00
|
|
|
"type": "String",
|
|
|
|
"value": "end"
|
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-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "extrude",
|
2025-03-06 18:01:24 -05:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "Sketch",
|
2025-05-13 17:11:50 -04:00
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
2025-05-13 17:11:50 -04:00
|
|
|
"length": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-05-13 17:11:50 -04:00
|
|
|
"type": "Number",
|
|
|
|
"value": -0.375,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"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-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "extrude",
|
2025-04-14 05:58:19 -04:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
2025-05-13 17:11:50 -04:00
|
|
|
"type": "Sketch",
|
2025-04-14 05:58:19 -04:00
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"length": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Number",
|
2025-05-13 17:11:50 -04:00
|
|
|
"value": -0.375,
|
2025-03-13 23:38:51 -07:00
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"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-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
{
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "StdLibCall",
|
2025-05-13 17:11:50 -04:00
|
|
|
"name": "chamfer",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
2025-05-13 17:11:50 -04:00
|
|
|
"length": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-05-13 17:11:50 -04:00
|
|
|
"type": "Number",
|
|
|
|
"value": 0.25,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"tags": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"value": "hole01",
|
|
|
|
"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
|
|
|
}
|
|
|
|
},
|
2025-05-13 17:11:50 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "StdLibCall",
|
2025-05-13 17:11:50 -04:00
|
|
|
"name": "chamfer",
|
2025-04-14 05:58:19 -04:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-13 17:11:50 -04:00
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-05-13 17:11:50 -04:00
|
|
|
"value": 0.25,
|
2025-03-06 18:01:24 -05:00
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-05-13 17:11:50 -04:00
|
|
|
},
|
|
|
|
"tags": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"value": "hole01",
|
|
|
|
"artifact_id": "[uuid]"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
2025-05-13 17:11:50 -04:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "countersink",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-05-13 17:11:50 -04:00
|
|
|
"type": "Number",
|
|
|
|
"value": -2.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-05-13 17:11:50 -04:00
|
|
|
"labeledArgs": {}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "countersink",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 2.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
]
|