* Update main.kcl Finally making this bracket smarter correcting fillet issues single body w/ SSI extruded cuts it even works as a sendcutsend upload now * Update kcl-samples simulation test output * Update main.kcl descriptive variable names * Update kcl-samples simulation test output * Update main.kcl spelling corrections * Update kcl-samples simulation test output --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Josh Gomez <114548659+jgomez720@users.noreply.github.com>
577 lines
11 KiB
Plaintext
577 lines
11 KiB
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Operations executed sheet-metal-bracket.kcl
|
|
---
|
|
[
|
|
{
|
|
"labeledArgs": {
|
|
"data": {
|
|
"value": {
|
|
"type": "Plane",
|
|
"artifact_id": "[uuid]"
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "startSketchOn",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": null
|
|
},
|
|
{
|
|
"labeledArgs": {
|
|
"length": {
|
|
"value": {
|
|
"type": "Number",
|
|
"value": 5.5,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "extrude",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": {
|
|
"value": {
|
|
"type": "Sketch",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
{
|
|
"labeledArgs": {
|
|
"radius": {
|
|
"value": {
|
|
"type": "Number",
|
|
"value": 0.5,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
"tags": {
|
|
"value": {
|
|
"type": "Array",
|
|
"value": [
|
|
{
|
|
"type": "TagIdentifier",
|
|
"value": "seg03",
|
|
"artifact_id": "[uuid]"
|
|
},
|
|
{
|
|
"type": "Uuid",
|
|
"value": "[uuid]"
|
|
},
|
|
{
|
|
"type": "TagIdentifier",
|
|
"value": "seg07",
|
|
"artifact_id": "[uuid]"
|
|
},
|
|
{
|
|
"type": "Uuid",
|
|
"value": "[uuid]"
|
|
}
|
|
]
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "fillet",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": {
|
|
"value": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
{
|
|
"labeledArgs": {
|
|
"data": {
|
|
"value": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
"tag": {
|
|
"value": {
|
|
"type": "TagIdentifier",
|
|
"value": "seg04",
|
|
"artifact_id": "[uuid]"
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "startSketchOn",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": null
|
|
},
|
|
{
|
|
"type": "UserDefinedFunctionCall",
|
|
"name": "circle",
|
|
"functionSourceRange": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"unlabeledArg": null,
|
|
"labeledArgs": {
|
|
"center": {
|
|
"value": {
|
|
"type": "Array",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": -3.5,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.75,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
"radius": {
|
|
"value": {
|
|
"type": "Number",
|
|
"value": 0.125,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
{
|
|
"type": "UserDefinedFunctionReturn"
|
|
},
|
|
{
|
|
"labeledArgs": {
|
|
"length": {
|
|
"value": {
|
|
"type": "Number",
|
|
"value": -0.125,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "extrude",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": {
|
|
"value": {
|
|
"type": "Array",
|
|
"value": [
|
|
{
|
|
"type": "Sketch",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
{
|
|
"type": "Sketch",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
{
|
|
"labeledArgs": {
|
|
"data": {
|
|
"value": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
"tag": {
|
|
"value": {
|
|
"type": "TagIdentifier",
|
|
"value": "seg06",
|
|
"artifact_id": "[uuid]"
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "startSketchOn",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": null
|
|
},
|
|
{
|
|
"type": "UserDefinedFunctionCall",
|
|
"name": "circle",
|
|
"functionSourceRange": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"unlabeledArg": null,
|
|
"labeledArgs": {
|
|
"center": {
|
|
"value": {
|
|
"type": "Array",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": 3.5,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.75,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
"radius": {
|
|
"value": {
|
|
"type": "Number",
|
|
"value": 0.125,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
{
|
|
"type": "UserDefinedFunctionReturn"
|
|
},
|
|
{
|
|
"labeledArgs": {
|
|
"length": {
|
|
"value": {
|
|
"type": "Number",
|
|
"value": -0.125,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "extrude",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": {
|
|
"value": {
|
|
"type": "Array",
|
|
"value": [
|
|
{
|
|
"type": "Sketch",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
{
|
|
"type": "Sketch",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
{
|
|
"labeledArgs": {
|
|
"data": {
|
|
"value": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
"tag": {
|
|
"value": {
|
|
"type": "TagIdentifier",
|
|
"value": "seg05",
|
|
"artifact_id": "[uuid]"
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "startSketchOn",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": null
|
|
},
|
|
{
|
|
"type": "UserDefinedFunctionCall",
|
|
"name": "circle",
|
|
"functionSourceRange": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"unlabeledArg": null,
|
|
"labeledArgs": {
|
|
"center": {
|
|
"value": {
|
|
"type": "Array",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": -1.0,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 1.25,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
"radius": {
|
|
"value": {
|
|
"type": "Number",
|
|
"value": 0.09375,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
{
|
|
"type": "UserDefinedFunctionReturn"
|
|
},
|
|
{
|
|
"labeledArgs": {
|
|
"length": {
|
|
"value": {
|
|
"type": "Number",
|
|
"value": -0.125,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "extrude",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": {
|
|
"value": {
|
|
"type": "Array",
|
|
"value": [
|
|
{
|
|
"type": "Sketch",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
{
|
|
"type": "Sketch",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
{
|
|
"type": "Sketch",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
{
|
|
"type": "Sketch",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
{
|
|
"labeledArgs": {
|
|
"data": {
|
|
"value": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
"tag": {
|
|
"value": {
|
|
"type": "TagIdentifier",
|
|
"value": "seg05",
|
|
"artifact_id": "[uuid]"
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "startSketchOn",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": null
|
|
},
|
|
{
|
|
"type": "UserDefinedFunctionCall",
|
|
"name": "circle",
|
|
"functionSourceRange": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"unlabeledArg": null,
|
|
"labeledArgs": {
|
|
"center": {
|
|
"value": {
|
|
"type": "Array",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 2.75,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
"radius": {
|
|
"value": {
|
|
"type": "Number",
|
|
"value": 0.75,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
{
|
|
"type": "UserDefinedFunctionReturn"
|
|
},
|
|
{
|
|
"labeledArgs": {
|
|
"length": {
|
|
"value": {
|
|
"type": "Number",
|
|
"value": -0.125,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"name": "extrude",
|
|
"sourceRange": [],
|
|
"type": "StdLibCall",
|
|
"unlabeledArg": {
|
|
"value": {
|
|
"type": "Sketch",
|
|
"value": {
|
|
"artifactId": "[uuid]"
|
|
}
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
}
|
|
]
|