Files
modeling-app/rust/kcl-lib/tests/fillet-and-shell/program_memory.snap

1360 lines
25 KiB
Plaintext
Raw Normal View History

---
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing fillet-and-shell.kcl
---
{
"border": {
"type": "Number",
"value": 4.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
60,
61,
0
]
}
]
},
"case": {
"type": "Solid",
"value": {
"type": "Solid",
"id": "[uuid]",
"artifactId": "[uuid]",
"value": [
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
860,
908,
0
],
"tag": {
"end": 907,
"start": 901,
"type": "TagDeclarator",
"value": "edge1"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
914,
971,
0
],
"tag": {
"end": 970,
"start": 964,
"type": "TagDeclarator",
"value": "edge2"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
977,
1026,
0
],
"tag": {
"end": 1025,
"start": 1019,
"type": "TagDeclarator",
"value": "edge3"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
1032,
1051,
0
],
"tag": {
"end": 1050,
"start": 1044,
"type": "TagDeclarator",
"value": "edge4"
},
"type": "extrudePlane"
}
],
"sketch": {
"type": "Sketch",
"id": "[uuid]",
"paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
860,
908,
0
]
},
"from": [
0.0,
0.0
],
"tag": {
"end": 907,
"start": 901,
"type": "TagDeclarator",
"value": "edge1"
},
"to": [
38.0,
0.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
914,
971,
0
]
},
"from": [
38.0,
0.0
],
"tag": {
"end": 970,
"start": 964,
"type": "TagDeclarator",
"value": "edge2"
},
"to": [
38.0,
73.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
977,
1026,
0
]
},
"from": [
38.0,
73.0
],
"tag": {
"end": 1025,
"start": 1019,
"type": "TagDeclarator",
"value": "edge3"
},
"to": [
0.0,
73.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
1032,
1051,
0
]
},
"from": [
0.0,
73.0
],
"tag": {
"end": 1050,
"start": 1044,
"type": "TagDeclarator",
"value": "edge4"
},
"to": [
0.0,
0.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
}
],
"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": "Mm"
},
"__meta": []
},
"start": {
"from": [
0.0,
0.0
],
"to": [
0.0,
0.0
],
"units": {
"type": "Mm"
},
"tag": null,
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
829,
854,
0
]
}
},
"tags": {
"edge1": {
"type": "TagIdentifier",
"value": "edge1",
"info": {
"type": "TagEngineInfo",
"id": "[uuid]",
"sketch": "[uuid]",
"path": {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
860,
908,
0
]
},
"from": [
0.0,
0.0
],
"tag": {
"end": 907,
"start": 901,
"type": "TagDeclarator",
"value": "edge1"
},
"to": [
38.0,
0.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
"surface": {
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
860,
908,
0
],
"tag": {
"end": 907,
"start": 901,
"type": "TagDeclarator",
"value": "edge1"
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
901,
907,
0
]
}
]
},
"edge2": {
"type": "TagIdentifier",
"value": "edge2",
"info": {
"type": "TagEngineInfo",
"id": "[uuid]",
"sketch": "[uuid]",
"path": {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
914,
971,
0
]
},
"from": [
38.0,
0.0
],
"tag": {
"end": 970,
"start": 964,
"type": "TagDeclarator",
"value": "edge2"
},
"to": [
38.0,
73.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
"surface": {
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
914,
971,
0
],
"tag": {
"end": 970,
"start": 964,
"type": "TagDeclarator",
"value": "edge2"
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
964,
970,
0
]
}
]
},
"edge3": {
"type": "TagIdentifier",
"value": "edge3",
"info": {
"type": "TagEngineInfo",
"id": "[uuid]",
"sketch": "[uuid]",
"path": {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
977,
1026,
0
]
},
"from": [
38.0,
73.0
],
"tag": {
"end": 1025,
"start": 1019,
"type": "TagDeclarator",
"value": "edge3"
},
"to": [
0.0,
73.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
"surface": {
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
977,
1026,
0
],
"tag": {
"end": 1025,
"start": 1019,
"type": "TagDeclarator",
"value": "edge3"
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1019,
1025,
0
]
}
]
},
"edge4": {
"type": "TagIdentifier",
"value": "edge4",
"info": {
"type": "TagEngineInfo",
"id": "[uuid]",
"sketch": "[uuid]",
"path": {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
1032,
1051,
0
]
},
"from": [
0.0,
73.0
],
"tag": {
"end": 1050,
"start": 1044,
"type": "TagDeclarator",
"value": "edge4"
},
"to": [
0.0,
0.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
"surface": {
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
1032,
1051,
0
],
"tag": {
"end": 1050,
"start": 1044,
"type": "TagDeclarator",
"value": "edge4"
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1044,
1050,
0
]
}
]
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
829,
854,
0
]
}
]
},
"height": 8.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"edgeCuts": [
{
"type": "fillet",
"id": "[uuid]",
"radius": 1.0,
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": 1.0,
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": 1.0,
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": 1.0,
"edgeId": "[uuid]",
"tag": null
}
],
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
829,
854,
0
]
}
]
}
},
"caseHeight": {
"type": "Number",
"value": 8.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
165,
166,
0
]
}
]
},
"caseLength": {
"type": "Number",
"value": 73.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
28,
30,
0
]
},
{
"sourceRange": [
60,
61,
0
]
},
{
"sourceRange": [
150,
151,
0
]
}
]
},
"caseThickness": {
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
48,
49,
0
]
}
]
},
"caseWidth": {
"type": "Number",
"value": 38.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
12,
14,
0
]
},
{
"sourceRange": [
60,
61,
0
]
},
{
"sourceRange": [
113,
114,
0
]
}
]
},
"connectorPadding": {
"type": "Number",
"value": 4.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
355,
356,
0
]
}
]
},
"edge1": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "edge1",
"info": {
"type": "TagEngineInfo",
"id": "[uuid]",
"sketch": "[uuid]",
"path": {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
860,
908,
0
]
},
"from": [
0.0,
0.0
],
"tag": {
"end": 907,
"start": 901,
"type": "TagDeclarator",
"value": "edge1"
},
"to": [
38.0,
0.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
"surface": {
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
860,
908,
0
],
"tag": {
"end": 907,
"start": 901,
"type": "TagDeclarator",
"value": "edge1"
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
901,
907,
0
]
}
]
},
"edge2": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "edge2",
"info": {
"type": "TagEngineInfo",
"id": "[uuid]",
"sketch": "[uuid]",
"path": {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
914,
971,
0
]
},
"from": [
38.0,
0.0
],
"tag": {
"end": 970,
"start": 964,
"type": "TagDeclarator",
"value": "edge2"
},
"to": [
38.0,
73.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
"surface": {
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
914,
971,
0
],
"tag": {
"end": 970,
"start": 964,
"type": "TagDeclarator",
"value": "edge2"
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
964,
970,
0
]
}
]
},
"edge3": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "edge3",
"info": {
"type": "TagEngineInfo",
"id": "[uuid]",
"sketch": "[uuid]",
"path": {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
977,
1026,
0
]
},
"from": [
38.0,
73.0
],
"tag": {
"end": 1025,
"start": 1019,
"type": "TagDeclarator",
"value": "edge3"
},
"to": [
0.0,
73.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
"surface": {
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
977,
1026,
0
],
"tag": {
"end": 1025,
"start": 1019,
"type": "TagDeclarator",
"value": "edge3"
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1019,
1025,
0
]
}
]
},
"edge4": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "edge4",
"info": {
"type": "TagEngineInfo",
"id": "[uuid]",
"sketch": "[uuid]",
"path": {
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
1032,
1051,
0
]
},
"from": [
0.0,
73.0
],
"tag": {
"end": 1050,
"start": 1044,
"type": "TagDeclarator",
"value": "edge4"
},
"to": [
0.0,
0.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
"surface": {
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [
1032,
1051,
0
],
"tag": {
"end": 1050,
"start": 1044,
"type": "TagDeclarator",
"value": "edge4"
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1044,
1050,
0
]
}
]
},
"lengthBetweenScrews": {
"type": "Number",
"value": 58.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
214,
216,
0
]
},
{
"sourceRange": [
219,
220,
0
]
}
]
},
"m25Screw": {
"type": "Function",
"__meta": [
{
"sourceRange": [
1310,
1538,
0
]
}
]
},
"microUsb1Distance": {
"type": "Number",
"value": 41.4,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
266,
270,
0
]
}
]
},
"microUsb2Distance": {
"type": "Number",
"value": 54.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
291,
293,
0
]
}
]
},
"microUsbWidth": {
"type": "Number",
"value": 7.4,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
332,
335,
0
]
}
]
},
"miniHdmiDistance": {
"type": "Number",
"value": 12.4,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
241,
245,
0
]
}
]
},
"miniHdmiHole": {
"type": "Sketch",
"value": {
"type": "Sketch",
"id": "[uuid]",
"paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
494,
585,
0
]
},
"from": [
0.0,
10.8
],
"tag": null,
"to": [
0.0,
22.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
591,
682,
0
]
},
"from": [
0.0,
22.0
],
"tag": null,
"to": [
1.0,
22.0
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
688,
781,
0
]
},
"from": [
1.0,
22.0
],
"tag": null,
"to": [
1.0,
10.8
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
787,
795,
0
]
},
"from": [
1.0,
10.8
],
"tag": null,
"to": [
0.0,
10.8
],
"type": "ToPoint",
"units": {
"type": "Mm"
}
}
],
"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": "Mm"
},
"__meta": []
},
"start": {
"from": [
0.0,
10.8
],
"to": [
0.0,
10.8
],
"units": {
"type": "Mm"
},
"tag": null,
"__geoMeta": {
"id": "[uuid]",
"sourceRange": [
396,
488,
0
]
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
396,
488,
0
]
}
]
}
},
"miniHdmiWidth": {
"type": "Number",
"value": 11.2,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
311,
315,
0
]
}
]
},
"rpizLength": {
"type": "Number",
"value": 65.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
28,
30,
0
]
}
]
},
"rpizWidth": {
"type": "Number",
"value": 30.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
12,
14,
0
]
}
]
},
"screwHeight": {
"type": "Number",
"value": 4.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
77,
78,
0
]
}
]
},
"widthBetweenScrews": {
"type": "Number",
"value": 23.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
189,
191,
0
]
}
]
}
}