2025-03-06 18:01:24 -05:00
|
|
|
---
|
2025-03-13 11:13:33 -07:00
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
2025-03-06 18:01:24 -05:00
|
|
|
description: Variables in memory after executing a-parametric-bearing-pillow-block.kcl
|
|
|
|
---
|
|
|
|
{
|
|
|
|
"bearingDia": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 3.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"block": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
1016,
|
|
|
|
1060,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
1066,
|
|
|
|
1109,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
1115,
|
|
|
|
1159,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
1165,
|
|
|
|
1172,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sketch": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"paths": [
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
1016,
|
|
|
|
1060,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
-2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
1066,
|
|
|
|
1109,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
2.0,
|
|
|
|
3.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
1115,
|
|
|
|
1159,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
2.0,
|
|
|
|
3.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
-2.0,
|
|
|
|
3.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
1165,
|
|
|
|
1172,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
-2.0,
|
|
|
|
3.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
-2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"on": {
|
|
|
|
"type": "plane",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"value": "XY",
|
|
|
|
"origin": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 0.0
|
|
|
|
},
|
|
|
|
"xAxis": {
|
|
|
|
"x": 1.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 0.0
|
|
|
|
},
|
|
|
|
"yAxis": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 1.0,
|
|
|
|
"z": 0.0
|
|
|
|
},
|
|
|
|
"zAxis": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 1.0
|
|
|
|
},
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"start": {
|
|
|
|
"from": [
|
|
|
|
-2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"to": [
|
|
|
|
-2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"tag": null,
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
966,
|
|
|
|
1010,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"originalId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"height": 0.75,
|
|
|
|
"startCapId": "[uuid]",
|
|
|
|
"endCapId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"cbDepth": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.25,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"cbDia": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.7,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"height": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"holeDia": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.375,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"length": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 6.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"padding": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"secondHalf": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
2505,
|
|
|
|
2549,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
2555,
|
|
|
|
2598,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
2604,
|
|
|
|
2648,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
2654,
|
|
|
|
2661,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sketch": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"paths": [
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
2505,
|
|
|
|
2549,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
-2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
2555,
|
|
|
|
2598,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
2.0,
|
|
|
|
3.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
2604,
|
|
|
|
2648,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
2.0,
|
|
|
|
3.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
-2.0,
|
|
|
|
3.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
2654,
|
|
|
|
2661,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
-2.0,
|
|
|
|
3.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
-2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"on": {
|
|
|
|
"type": "plane",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"value": "Custom",
|
|
|
|
"origin": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 0.75
|
|
|
|
},
|
|
|
|
"xAxis": {
|
|
|
|
"x": 1.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 0.0
|
|
|
|
},
|
|
|
|
"yAxis": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 1.0,
|
|
|
|
"z": 0.0
|
|
|
|
},
|
|
|
|
"zAxis": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 1.0
|
|
|
|
},
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"start": {
|
|
|
|
"from": [
|
|
|
|
-2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"to": [
|
|
|
|
-2.0,
|
|
|
|
-3.0
|
|
|
|
],
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"tag": null,
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
2455,
|
|
|
|
2499,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"originalId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"height": 0.25,
|
|
|
|
"startCapId": "[uuid]",
|
|
|
|
"endCapId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Inches"
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 4.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Inches"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
}
|