266 lines
4.9 KiB
Plaintext
266 lines
4.9 KiB
Plaintext
![]() |
---
|
||
|
source: kcl-lib/src/simulation_tests.rs
|
||
|
description: Operations executed multi_target_csg.kcl
|
||
|
---
|
||
|
[
|
||
|
{
|
||
|
"labeledArgs": {},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Plane",
|
||
|
"artifact_id": "[uuid]"
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"tool": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
},
|
||
|
"name": "subtract2d",
|
||
|
"sourceRange": [],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 0.0625,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
},
|
||
|
"name": "extrude",
|
||
|
"sourceRange": [],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Plane",
|
||
|
"artifact_id": "[uuid]"
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"bidirectionalLength": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 0.1,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
},
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 0.1,
|
||
|
"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": {},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Plane",
|
||
|
"artifact_id": "[uuid]"
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "KclStdLibCall",
|
||
|
"name": "offsetPlane",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Plane",
|
||
|
"artifact_id": "[uuid]"
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
},
|
||
|
"labeledArgs": {
|
||
|
"offset": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 0.1,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": -1.0,
|
||
|
"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]"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"isError": true,
|
||
|
"labeledArgs": {
|
||
|
"tools": {
|
||
|
"value": {
|
||
|
"type": "Solid",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
},
|
||
|
"name": "subtract",
|
||
|
"sourceRange": [],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Array",
|
||
|
"value": [
|
||
|
{
|
||
|
"type": "Solid",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "Solid",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"sourceRange": []
|
||
|
}
|
||
|
}
|
||
|
]
|