Files
modeling-app/rust/kcl-lib/tests/kcl_samples/mounting-plate/program_memory.snap
2025-05-06 03:40:18 +00:00

622 lines
12 KiB
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing mounting-plate.kcl
---
{
"centerHoleDiameter": {
"type": "Number",
"value": 2.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edge1": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "edge1"
},
"edge2": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "edge2"
},
"edge3": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "edge3"
},
"edge4": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "edge4"
},
"filletRadius": {
"type": "Number",
"value": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"holeIndex": {
"type": "Number",
"value": 0.75,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"holeRadius": {
"type": "Number",
"value": 0.25,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"part": {
"type": "Solid",
"value": {
"type": "Solid",
"id": "[uuid]",
"artifactId": "[uuid]",
"value": [
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 708,
"end": 714,
"start": 708,
"type": "TagDeclarator",
"value": "edge1"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 782,
"end": 788,
"start": 782,
"type": "TagDeclarator",
"value": "edge2"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 858,
"end": 864,
"start": 858,
"type": "TagDeclarator",
"value": "edge3"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 885,
"end": 891,
"start": 885,
"type": "TagDeclarator",
"value": "edge4"
},
"type": "extrudePlane"
}
],
"sketch": {
"type": "Sketch",
"id": "[uuid]",
"paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-3.0,
-5.0
],
"tag": {
"commentStart": 708,
"end": 714,
"start": 708,
"type": "TagDeclarator",
"value": "edge1"
},
"to": [
3.0,
-5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
3.0,
-5.0
],
"tag": {
"commentStart": 782,
"end": 788,
"start": 782,
"type": "TagDeclarator",
"value": "edge2"
},
"to": [
3.0,
5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
3.0,
5.0
],
"tag": {
"commentStart": 858,
"end": 864,
"start": 858,
"type": "TagDeclarator",
"value": "edge3"
},
"to": [
-3.0,
5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-3.0,
5.0
],
"tag": {
"commentStart": 885,
"end": 891,
"start": 885,
"type": "TagDeclarator",
"value": "edge4"
},
"to": [
-3.0,
-5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
}
],
"on": {
"artifactId": "[uuid]",
"id": "[uuid]",
"origin": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"units": {
"type": "Mm"
}
},
"type": "plane",
"value": "XY",
"xAxis": {
"x": 1.0,
"y": 0.0,
"z": 0.0,
"units": {
"type": "Unknown"
}
},
"yAxis": {
"x": 0.0,
"y": 1.0,
"z": 0.0,
"units": {
"type": "Unknown"
}
}
},
"start": {
"from": [
-3.0,
-5.0
],
"to": [
-3.0,
-5.0
],
"units": {
"type": "Inches"
},
"tag": null,
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
}
},
"tags": {
"edge1": {
"type": "TagIdentifier",
"value": "edge1"
},
"edge2": {
"type": "TagIdentifier",
"value": "edge2"
},
"edge3": {
"type": "TagIdentifier",
"value": "edge3"
},
"edge4": {
"type": "TagIdentifier",
"value": "edge4"
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
"height": 0.5,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"edgeCuts": [
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
}
],
"units": {
"type": "Inches"
},
"sectional": false
}
},
"plateLength": {
"type": "Number",
"value": 10.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"plateThickness": {
"type": "Number",
"value": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"plateWidth": {
"type": "Number",
"value": 6.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"rectShape": {
"type": "Function",
"value": null
},
"rs": {
"type": "Sketch",
"value": {
"type": "Sketch",
"id": "[uuid]",
"paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-3.0,
-5.0
],
"tag": {
"commentStart": 708,
"end": 714,
"start": 708,
"type": "TagDeclarator",
"value": "edge1"
},
"to": [
3.0,
-5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
3.0,
-5.0
],
"tag": {
"commentStart": 782,
"end": 788,
"start": 782,
"type": "TagDeclarator",
"value": "edge2"
},
"to": [
3.0,
5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
3.0,
5.0
],
"tag": {
"commentStart": 858,
"end": 864,
"start": 858,
"type": "TagDeclarator",
"value": "edge3"
},
"to": [
-3.0,
5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-3.0,
5.0
],
"tag": {
"commentStart": 885,
"end": 891,
"start": 885,
"type": "TagDeclarator",
"value": "edge4"
},
"to": [
-3.0,
-5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
}
],
"on": {
"artifactId": "[uuid]",
"id": "[uuid]",
"origin": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"units": {
"type": "Mm"
}
},
"type": "plane",
"value": "XY",
"xAxis": {
"x": 1.0,
"y": 0.0,
"z": 0.0,
"units": {
"type": "Unknown"
}
},
"yAxis": {
"x": 0.0,
"y": 1.0,
"z": 0.0,
"units": {
"type": "Unknown"
}
}
},
"start": {
"from": [
-3.0,
-5.0
],
"to": [
-3.0,
-5.0
],
"units": {
"type": "Inches"
},
"tag": null,
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
}
},
"tags": {
"edge1": {
"type": "TagIdentifier",
"value": "edge1"
},
"edge2": {
"type": "TagIdentifier",
"value": "edge2"
},
"edge3": {
"type": "TagIdentifier",
"value": "edge3"
},
"edge4": {
"type": "TagIdentifier",
"value": "edge4"
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
}
}
}