391 lines
6.3 KiB
Plaintext
391 lines
6.3 KiB
Plaintext
![]() |
---
|
||
|
source: kcl-lib/src/simulation_tests.rs
|
||
|
description: Operations executed rotate_after_fillet.kcl
|
||
|
---
|
||
|
[
|
||
|
{
|
||
|
"type": "UserDefinedFunctionCall",
|
||
|
"name": "cos",
|
||
|
"functionSourceRange": [
|
||
|
0,
|
||
|
0,
|
||
|
0
|
||
|
],
|
||
|
"unlabeledArg": null,
|
||
|
"labeledArgs": {},
|
||
|
"sourceRange": [
|
||
|
198,
|
||
|
216,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type": "UserDefinedFunctionReturn"
|
||
|
},
|
||
|
{
|
||
|
"type": "UserDefinedFunctionCall",
|
||
|
"name": "bolt",
|
||
|
"functionSourceRange": [
|
||
|
264,
|
||
|
1573,
|
||
|
0
|
||
|
],
|
||
|
"unlabeledArg": null,
|
||
|
"labeledArgs": {},
|
||
|
"sourceRange": [
|
||
|
1575,
|
||
|
1581,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"data": {
|
||
|
"value": {
|
||
|
"type": "String",
|
||
|
"value": "XZ"
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
334,
|
||
|
338,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [
|
||
|
320,
|
||
|
339,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": -0.625,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Mm"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
442,
|
||
|
457,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "extrude",
|
||
|
"sourceRange": [
|
||
|
425,
|
||
|
458,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
425,
|
||
|
458,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"radius": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 0.02,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Mm"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
482,
|
||
|
487,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"tags": {
|
||
|
"value": {
|
||
|
"type": "Array",
|
||
|
"value": [
|
||
|
{
|
||
|
"type": "TagIdentifier",
|
||
|
"value": "topEdge",
|
||
|
"artifact_id": "[uuid]"
|
||
|
},
|
||
|
{
|
||
|
"type": "Uuid",
|
||
|
"value": "[uuid]"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
496,
|
||
|
531,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "fillet",
|
||
|
"sourceRange": [
|
||
|
466,
|
||
|
532,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Solid",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
466,
|
||
|
532,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"data": {
|
||
|
"value": {
|
||
|
"type": "Solid",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
629,
|
||
|
637,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"tag": {
|
||
|
"value": {
|
||
|
"type": "String",
|
||
|
"value": "start"
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
639,
|
||
|
646,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [
|
||
|
615,
|
||
|
647,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": -0.46875,
|
||
|
"ty": {
|
||
|
"type": "Unknown"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1235,
|
||
|
1257,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "extrude",
|
||
|
"sourceRange": [
|
||
|
1218,
|
||
|
1258,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1218,
|
||
|
1258,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"data": {
|
||
|
"value": {
|
||
|
"type": "Solid",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1287,
|
||
|
1295,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"tag": {
|
||
|
"value": {
|
||
|
"type": "String",
|
||
|
"value": "end"
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1297,
|
||
|
1302,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [
|
||
|
1273,
|
||
|
1303,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 2.5,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Mm"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1405,
|
||
|
1415,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "extrude",
|
||
|
"sourceRange": [
|
||
|
1388,
|
||
|
1416,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1388,
|
||
|
1416,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"radius": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 0.02,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Mm"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1440,
|
||
|
1444,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"tags": {
|
||
|
"value": {
|
||
|
"type": "Array",
|
||
|
"value": [
|
||
|
{
|
||
|
"type": "Uuid",
|
||
|
"value": "[uuid]"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1453,
|
||
|
1482,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "fillet",
|
||
|
"sourceRange": [
|
||
|
1424,
|
||
|
1483,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Solid",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1424,
|
||
|
1483,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "UserDefinedFunctionReturn"
|
||
|
}
|
||
|
]
|