667 lines
14 KiB
Plaintext
667 lines
14 KiB
Plaintext
![]() |
---
|
||
|
source: kcl/src/simulation_tests.rs
|
||
|
description: Operations executed flange-xy.kcl
|
||
|
---
|
||
|
[
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"data": {
|
||
|
"value": {
|
||
|
"type": "String",
|
||
|
"value": "XY"
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
905,
|
||
|
909,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [
|
||
|
891,
|
||
|
910,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"holeSketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
993,
|
||
|
1099,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"sketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1101,
|
||
|
1102,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "hole",
|
||
|
"sourceRange": [
|
||
|
988,
|
||
|
1103,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"holeSketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1114,
|
||
|
1220,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"sketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1222,
|
||
|
1223,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "hole",
|
||
|
"sourceRange": [
|
||
|
1109,
|
||
|
1224,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"holeSketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1235,
|
||
|
1342,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"sketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1344,
|
||
|
1345,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "hole",
|
||
|
"sourceRange": [
|
||
|
1230,
|
||
|
1346,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"holeSketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1357,
|
||
|
1464,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"sketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1466,
|
||
|
1467,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "hole",
|
||
|
"sourceRange": [
|
||
|
1352,
|
||
|
1468,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"holeSketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1479,
|
||
|
1545,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"sketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1547,
|
||
|
1548,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "hole",
|
||
|
"sourceRange": [
|
||
|
1474,
|
||
|
1549,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 0.625,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1572,
|
||
|
1585,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "extrude",
|
||
|
"sourceRange": [
|
||
|
1555,
|
||
|
1586,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
0,
|
||
|
0,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"data": {
|
||
|
"value": {
|
||
|
"type": "Object",
|
||
|
"value": {
|
||
|
"plane": {
|
||
|
"type": "Object",
|
||
|
"value": {
|
||
|
"origin": {
|
||
|
"type": "Object",
|
||
|
"value": {
|
||
|
"x": {
|
||
|
"type": "Number",
|
||
|
"value": 0.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"y": {
|
||
|
"type": "Number",
|
||
|
"value": 0.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"z": {
|
||
|
"type": "Number",
|
||
|
"value": 0.625,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"xAxis": {
|
||
|
"type": "Object",
|
||
|
"value": {
|
||
|
"x": {
|
||
|
"type": "Number",
|
||
|
"value": 1.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"y": {
|
||
|
"type": "Number",
|
||
|
"value": 0.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"z": {
|
||
|
"type": "Number",
|
||
|
"value": 0.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"yAxis": {
|
||
|
"type": "Object",
|
||
|
"value": {
|
||
|
"x": {
|
||
|
"type": "Number",
|
||
|
"value": 0.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"y": {
|
||
|
"type": "Number",
|
||
|
"value": 1.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"z": {
|
||
|
"type": "Number",
|
||
|
"value": 0.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"zAxis": {
|
||
|
"type": "Object",
|
||
|
"value": {
|
||
|
"x": {
|
||
|
"type": "Number",
|
||
|
"value": 0.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"y": {
|
||
|
"type": "Number",
|
||
|
"value": 0.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"z": {
|
||
|
"type": "Number",
|
||
|
"value": 1.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1889,
|
||
|
1901,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"tag": {
|
||
|
"value": {
|
||
|
"type": "String",
|
||
|
"value": "end"
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1903,
|
||
|
1908,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [
|
||
|
1875,
|
||
|
1909,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"holeSketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2001,
|
||
|
2067,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"sketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2069,
|
||
|
2070,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "hole",
|
||
|
"sourceRange": [
|
||
|
1996,
|
||
|
2071,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 0.1279999999999999,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2094,
|
||
|
2111,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "extrude",
|
||
|
"sourceRange": [
|
||
|
2077,
|
||
|
2112,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
0,
|
||
|
0,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"data": {
|
||
|
"value": {
|
||
|
"type": "String",
|
||
|
"value": "XY"
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2203,
|
||
|
2207,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [
|
||
|
2189,
|
||
|
2208,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"holeSketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2303,
|
||
|
2369,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"sketch": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2371,
|
||
|
2372,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "hole",
|
||
|
"sourceRange": [
|
||
|
2298,
|
||
|
2373,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": -0.06,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2396,
|
||
|
2412,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "extrude",
|
||
|
"sourceRange": [
|
||
|
2379,
|
||
|
2413,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
0,
|
||
|
0,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|