2025-03-06 18:01:24 -05:00
|
|
|
---
|
2025-03-12 14:05:18 -04:00
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
2025-03-06 18:01:24 -05:00
|
|
|
description: Operations executed a-parametric-bearing-pillow-block.kcl
|
|
|
|
|
---
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"labeledArgs": {
|
|
|
|
|
"data": {
|
|
|
|
|
"value": {
|
|
|
|
|
"type": "String",
|
|
|
|
|
"value": "XY"
|
|
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
960,
|
|
|
|
|
964,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"name": "startSketchOn",
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
946,
|
|
|
|
|
965,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
],
|
|
|
|
|
"type": "StdLibCall",
|
|
|
|
|
"unlabeledArg": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"labeledArgs": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"length": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Number",
|
|
|
|
|
"value": 1.0,
|
|
|
|
|
"ty": {
|
|
|
|
|
"type": "Default",
|
|
|
|
|
"len": {
|
|
|
|
|
"type": "Inches"
|
|
|
|
|
},
|
|
|
|
|
"angle": {
|
|
|
|
|
"type": "Degrees"
|
|
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1200,
|
|
|
|
|
1206,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "extrude",
|
2025-03-06 18:01:24 -05:00
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1183,
|
|
|
|
|
1207,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
],
|
|
|
|
|
"type": "StdLibCall",
|
2025-03-13 23:38:51 -07:00
|
|
|
"unlabeledArg": {
|
|
|
|
|
"value": {
|
|
|
|
|
"type": "Sketch",
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"artifactId": "[uuid]"
|
|
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-13 23:38:51 -07:00
|
|
|
"sourceRange": [
|
|
|
|
|
1183,
|
|
|
|
|
1207,
|
|
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"labeledArgs": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"data": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Solid",
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1238,
|
|
|
|
|
1248,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
},
|
2025-03-13 23:38:51 -07:00
|
|
|
"tag": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "String",
|
|
|
|
|
"value": "end"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1250,
|
|
|
|
|
1255,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "startSketchOn",
|
2025-03-06 18:01:24 -05:00
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1224,
|
|
|
|
|
1256,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
],
|
|
|
|
|
"type": "StdLibCall",
|
|
|
|
|
"unlabeledArg": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"labeledArgs": {
|
|
|
|
|
"length": {
|
|
|
|
|
"value": {
|
|
|
|
|
"type": "Number",
|
2025-03-13 23:38:51 -07:00
|
|
|
"value": -0.25,
|
2025-03-06 18:01:24 -05:00
|
|
|
"ty": {
|
|
|
|
|
"type": "Default",
|
|
|
|
|
"len": {
|
|
|
|
|
"type": "Inches"
|
|
|
|
|
},
|
|
|
|
|
"angle": {
|
|
|
|
|
"type": "Degrees"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1642,
|
|
|
|
|
1650,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"name": "extrude",
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1622,
|
|
|
|
|
1651,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
],
|
|
|
|
|
"type": "StdLibCall",
|
|
|
|
|
"unlabeledArg": {
|
|
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Sketches",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
|
}
|
|
|
|
|
]
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1630,
|
|
|
|
|
1631,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"labeledArgs": {
|
|
|
|
|
"data": {
|
|
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Solid",
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1680,
|
|
|
|
|
1690,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
},
|
2025-03-13 23:38:51 -07:00
|
|
|
"tag": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "String",
|
|
|
|
|
"value": "start"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1692,
|
|
|
|
|
1699,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "startSketchOn",
|
2025-03-06 18:01:24 -05:00
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
1666,
|
|
|
|
|
1700,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
],
|
|
|
|
|
"type": "StdLibCall",
|
|
|
|
|
"unlabeledArg": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"labeledArgs": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"length": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Number",
|
|
|
|
|
"value": -0.75,
|
|
|
|
|
"ty": {
|
|
|
|
|
"type": "Default",
|
|
|
|
|
"len": {
|
|
|
|
|
"type": "Inches"
|
|
|
|
|
},
|
|
|
|
|
"angle": {
|
|
|
|
|
"type": "Degrees"
|
|
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
2094,
|
|
|
|
|
2111,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "extrude",
|
2025-03-06 18:01:24 -05:00
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
2077,
|
|
|
|
|
2112,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
],
|
|
|
|
|
"type": "StdLibCall",
|
2025-03-13 23:38:51 -07:00
|
|
|
"unlabeledArg": {
|
|
|
|
|
"value": {
|
|
|
|
|
"type": "Sketches",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"artifactId": "[uuid]"
|
2025-03-13 23:38:51 -07:00
|
|
|
},
|
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"artifactId": "[uuid]"
|
2025-03-13 23:38:51 -07:00
|
|
|
},
|
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"artifactId": "[uuid]"
|
2025-03-13 23:38:51 -07:00
|
|
|
},
|
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"artifactId": "[uuid]"
|
|
|
|
|
}
|
|
|
|
|
]
|
2025-03-13 23:38:51 -07:00
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
|
|
|
|
2077,
|
|
|
|
|
2112,
|
|
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"labeledArgs": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"data": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Solid",
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
2141,
|
|
|
|
|
2151,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
},
|
2025-03-13 23:38:51 -07:00
|
|
|
"tag": {
|
2025-03-06 18:01:24 -05:00
|
|
|
"value": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "String",
|
|
|
|
|
"value": "end"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
2153,
|
|
|
|
|
2158,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "startSketchOn",
|
2025-03-06 18:01:24 -05:00
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
2127,
|
|
|
|
|
2159,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
],
|
|
|
|
|
"type": "StdLibCall",
|
|
|
|
|
"unlabeledArg": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"labeledArgs": {
|
|
|
|
|
"length": {
|
|
|
|
|
"value": {
|
|
|
|
|
"type": "Number",
|
2025-03-13 23:38:51 -07:00
|
|
|
"value": -1.0,
|
2025-03-06 18:01:24 -05:00
|
|
|
"ty": {
|
|
|
|
|
"type": "Default",
|
|
|
|
|
"len": {
|
|
|
|
|
"type": "Inches"
|
|
|
|
|
},
|
|
|
|
|
"angle": {
|
|
|
|
|
"type": "Degrees"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
2253,
|
|
|
|
|
2260,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"name": "extrude",
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
2236,
|
|
|
|
|
2261,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
],
|
|
|
|
|
"type": "StdLibCall",
|
|
|
|
|
"unlabeledArg": {
|
|
|
|
|
"value": {
|
|
|
|
|
"type": "Sketch",
|
|
|
|
|
"value": {
|
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"sourceRange": [
|
2025-03-13 23:38:51 -07:00
|
|
|
2236,
|
|
|
|
|
2261,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|