447 lines
8.7 KiB
Plaintext
447 lines
8.7 KiB
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Variables in memory after executing countersunk-plate.kcl
|
|
---
|
|
{
|
|
"boltDiameter": {
|
|
"type": "Number",
|
|
"value": 0.25,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"boltSpacing": {
|
|
"type": "Number",
|
|
"value": 5.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"centerHoleDiameter": {
|
|
"type": "Number",
|
|
"value": 1.75,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"countersink": {
|
|
"type": "Function",
|
|
"value": null
|
|
},
|
|
"d": {
|
|
"type": "Number",
|
|
"value": 2.5,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"plateBody": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudeArc"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudeArc"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudeArc"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudeArc"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.607,
|
|
1.548
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
2.774,
|
|
0.698
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": false,
|
|
"center": [
|
|
2.5,
|
|
-0.0
|
|
],
|
|
"from": [
|
|
2.774,
|
|
0.698
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
2.774,
|
|
-0.698
|
|
],
|
|
"type": "TangentialArc",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
2.774,
|
|
-0.698
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.607,
|
|
-1.548
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": false,
|
|
"center": [
|
|
-0.0,
|
|
-0.0
|
|
],
|
|
"from": [
|
|
0.607,
|
|
-1.548
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-0.607,
|
|
-1.548
|
|
],
|
|
"type": "TangentialArc",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
-0.607,
|
|
-1.548
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-2.774,
|
|
-0.698
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": false,
|
|
"center": [
|
|
-2.5,
|
|
-0.0
|
|
],
|
|
"from": [
|
|
-2.774,
|
|
-0.698
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-2.774,
|
|
0.698
|
|
],
|
|
"type": "TangentialArc",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
-2.774,
|
|
0.698
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-0.607,
|
|
1.548
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": false,
|
|
"center": [
|
|
-0.0,
|
|
-0.0
|
|
],
|
|
"from": [
|
|
-0.607,
|
|
1.548
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.607,
|
|
1.548
|
|
],
|
|
"type": "TangentialArcTo",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.607,
|
|
1.548
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.607,
|
|
1.548
|
|
],
|
|
"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": [
|
|
0.607,
|
|
1.548
|
|
],
|
|
"to": [
|
|
0.607,
|
|
1.548
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"height": 0.375,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"sectional": false
|
|
}
|
|
},
|
|
"plateThickness": {
|
|
"type": "Number",
|
|
"value": 0.375,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"r1": {
|
|
"type": "Number",
|
|
"value": 1.663,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"r2": {
|
|
"type": "Number",
|
|
"value": 0.75,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"tangentAngle": {
|
|
"type": "Number",
|
|
"value": 0.374,
|
|
"ty": {
|
|
"type": "Known",
|
|
"type": "Angle",
|
|
"type": "Radians"
|
|
}
|
|
},
|
|
"tangentLength": {
|
|
"type": "Number",
|
|
"value": 2.328,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
}
|