266 lines
4.2 KiB
Plaintext
266 lines
4.2 KiB
Plaintext
![]() |
---
|
||
|
source: kcl/src/simulation_tests.rs
|
||
|
description: Operations executed socket-head-cap-screw.kcl
|
||
|
---
|
||
|
[
|
||
|
{
|
||
|
"type": "UserDefinedFunctionCall",
|
||
|
"name": "cos",
|
||
|
"functionSourceRange": [
|
||
|
0,
|
||
|
0,
|
||
|
0
|
||
|
],
|
||
|
"unlabeledArg": null,
|
||
|
"labeledArgs": {},
|
||
|
"sourceRange": [
|
||
|
655,
|
||
|
673,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type": "UserDefinedFunctionReturn"
|
||
|
},
|
||
|
{
|
||
|
"type": "UserDefinedFunctionCall",
|
||
|
"name": "capScrew",
|
||
|
"functionSourceRange": [
|
||
|
861,
|
||
|
2268,
|
||
|
0
|
||
|
],
|
||
|
"unlabeledArg": null,
|
||
|
"labeledArgs": {},
|
||
|
"sourceRange": [
|
||
|
2270,
|
||
|
2329,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"data": {
|
||
|
"value": {
|
||
|
"type": "String",
|
||
|
"value": "XZ"
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
971,
|
||
|
975,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [
|
||
|
957,
|
||
|
976,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 0.19,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1162,
|
||
|
1175,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "extrude",
|
||
|
"sourceRange": [
|
||
|
1128,
|
||
|
1176,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1136,
|
||
|
1151,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"data": {
|
||
|
"value": {
|
||
|
"type": "Solid",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1273,
|
||
|
1282,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"tag": {
|
||
|
"value": {
|
||
|
"type": "String",
|
||
|
"value": "end"
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
1284,
|
||
|
1289,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [
|
||
|
1259,
|
||
|
1290,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": -0.14250000000000002,
|
||
|
"ty": {
|
||
|
"type": "Unknown"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2027,
|
||
|
2045,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "extrude",
|
||
|
"sourceRange": [
|
||
|
1992,
|
||
|
2046,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2000,
|
||
|
2016,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"data": {
|
||
|
"value": {
|
||
|
"type": "Solid",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2082,
|
||
|
2091,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"tag": {
|
||
|
"value": {
|
||
|
"type": "String",
|
||
|
"value": "start"
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2093,
|
||
|
2100,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "startSketchOn",
|
||
|
"sourceRange": [
|
||
|
2068,
|
||
|
2101,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": null
|
||
|
},
|
||
|
{
|
||
|
"labeledArgs": {
|
||
|
"length": {
|
||
|
"value": {
|
||
|
"type": "Number",
|
||
|
"value": 1.0,
|
||
|
"ty": {
|
||
|
"type": "Default",
|
||
|
"len": {
|
||
|
"type": "Inches"
|
||
|
},
|
||
|
"angle": {
|
||
|
"type": "Degrees"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2240,
|
||
|
2246,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "extrude",
|
||
|
"sourceRange": [
|
||
|
2206,
|
||
|
2247,
|
||
|
0
|
||
|
],
|
||
|
"type": "StdLibCall",
|
||
|
"unlabeledArg": {
|
||
|
"value": {
|
||
|
"type": "Sketch",
|
||
|
"value": {
|
||
|
"artifactId": "[uuid]"
|
||
|
}
|
||
|
},
|
||
|
"sourceRange": [
|
||
|
2214,
|
||
|
2229,
|
||
|
0
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "UserDefinedFunctionReturn"
|
||
|
}
|
||
|
]
|