721 lines
14 KiB
Plaintext
721 lines
14 KiB
Plaintext
---
|
|
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"
|
|
}
|
|
}
|
|
},
|
|
"case": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": {
|
|
"commentStart": 878,
|
|
"end": 884,
|
|
"moduleId": 0,
|
|
"start": 878,
|
|
"type": "TagDeclarator",
|
|
"value": "edge1"
|
|
},
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": {
|
|
"commentStart": 941,
|
|
"end": 947,
|
|
"moduleId": 0,
|
|
"start": 941,
|
|
"type": "TagDeclarator",
|
|
"value": "edge2"
|
|
},
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": {
|
|
"commentStart": 996,
|
|
"end": 1002,
|
|
"moduleId": 0,
|
|
"start": 996,
|
|
"type": "TagDeclarator",
|
|
"value": "edge3"
|
|
},
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": {
|
|
"commentStart": 1021,
|
|
"end": 1027,
|
|
"moduleId": 0,
|
|
"start": 1021,
|
|
"type": "TagDeclarator",
|
|
"value": "edge4"
|
|
},
|
|
"type": "extrudePlane"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"tag": {
|
|
"commentStart": 878,
|
|
"end": 884,
|
|
"moduleId": 0,
|
|
"start": 878,
|
|
"type": "TagDeclarator",
|
|
"value": "edge1"
|
|
},
|
|
"to": [
|
|
38.0,
|
|
0.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
38.0,
|
|
0.0
|
|
],
|
|
"tag": {
|
|
"commentStart": 941,
|
|
"end": 947,
|
|
"moduleId": 0,
|
|
"start": 941,
|
|
"type": "TagDeclarator",
|
|
"value": "edge2"
|
|
},
|
|
"to": [
|
|
38.0,
|
|
73.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
38.0,
|
|
73.0
|
|
],
|
|
"tag": {
|
|
"commentStart": 996,
|
|
"end": 1002,
|
|
"moduleId": 0,
|
|
"start": 996,
|
|
"type": "TagDeclarator",
|
|
"value": "edge3"
|
|
},
|
|
"to": [
|
|
0.0,
|
|
73.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
73.0
|
|
],
|
|
"tag": {
|
|
"commentStart": 1021,
|
|
"end": 1027,
|
|
"moduleId": 0,
|
|
"start": 1021,
|
|
"type": "TagDeclarator",
|
|
"value": "edge4"
|
|
},
|
|
"to": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
},
|
|
"zAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"to": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"units": {
|
|
"type": "Mm"
|
|
},
|
|
"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": "Mm"
|
|
}
|
|
},
|
|
"height": 8.0,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"edgeCuts": [
|
|
{
|
|
"type": "fillet",
|
|
"id": "[uuid]",
|
|
"radius": {
|
|
"n": 1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"edgeId": "[uuid]",
|
|
"tag": null
|
|
},
|
|
{
|
|
"type": "fillet",
|
|
"id": "[uuid]",
|
|
"radius": {
|
|
"n": 1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"edgeId": "[uuid]",
|
|
"tag": null
|
|
},
|
|
{
|
|
"type": "fillet",
|
|
"id": "[uuid]",
|
|
"radius": {
|
|
"n": 1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"edgeId": "[uuid]",
|
|
"tag": null
|
|
},
|
|
{
|
|
"type": "fillet",
|
|
"id": "[uuid]",
|
|
"radius": {
|
|
"n": 1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"edgeId": "[uuid]",
|
|
"tag": null
|
|
}
|
|
],
|
|
"units": {
|
|
"type": "Mm"
|
|
},
|
|
"sectional": false
|
|
}
|
|
},
|
|
"caseHeight": {
|
|
"type": "Number",
|
|
"value": 8.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"caseLength": {
|
|
"type": "Number",
|
|
"value": 73.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"caseThickness": {
|
|
"type": "Number",
|
|
"value": 1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"caseWidth": {
|
|
"type": "Number",
|
|
"value": 38.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"connectorPadding": {
|
|
"type": "Number",
|
|
"value": 4.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"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"
|
|
},
|
|
"lengthBetweenScrews": {
|
|
"type": "Number",
|
|
"value": 58.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"m25Screw": {
|
|
"type": "Function",
|
|
"value": null
|
|
},
|
|
"microUsb1Distance": {
|
|
"type": "Number",
|
|
"value": 41.4,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"microUsb2Distance": {
|
|
"type": "Number",
|
|
"value": 54.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"microUsbWidth": {
|
|
"type": "Number",
|
|
"value": 7.4,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"miniHdmiDistance": {
|
|
"type": "Number",
|
|
"value": 12.4,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"miniHdmiHole": {
|
|
"type": "Sketch",
|
|
"value": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
10.799999999999999
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
22.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
22.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
1.0,
|
|
22.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
1.0,
|
|
22.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
1.0,
|
|
10.799999999999999
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
1.0,
|
|
10.799999999999999
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
10.799999999999999
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
},
|
|
"zAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0,
|
|
10.799999999999999
|
|
],
|
|
"to": [
|
|
0.0,
|
|
10.799999999999999
|
|
],
|
|
"units": {
|
|
"type": "Mm"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
}
|
|
},
|
|
"miniHdmiWidth": {
|
|
"type": "Number",
|
|
"value": 11.2,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"rpizLength": {
|
|
"type": "Number",
|
|
"value": 65.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"rpizWidth": {
|
|
"type": "Number",
|
|
"value": 30.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"screwHeight": {
|
|
"type": "Number",
|
|
"value": 4.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"widthBetweenScrews": {
|
|
"type": "Number",
|
|
"value": 23.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
}
|