2025-05-06 14:58:53 +12:00
|
|
|
---
|
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
|
|
description: Variables in memory after executing involute_circular_units.kcl
|
|
|
|
---
|
|
|
|
{
|
|
|
|
"addendum": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"angle001": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 6.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"baseDiameter": {
|
|
|
|
"type": "Number",
|
2025-05-26 11:17:12 +12:00
|
|
|
"value": 9.867,
|
2025-05-06 14:58:53 +12:00
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"deddendum": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.625,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gearHeight": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.3,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"module": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nTeeth": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 21.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"pitchDiameter": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 10.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"pressureAngle": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 20.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Angle",
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"seg01": {
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"value": "seg01"
|
|
|
|
},
|
|
|
|
"seg02": {
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"value": "seg02"
|
|
|
|
},
|
|
|
|
"sketch001": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [],
|
|
|
|
"tag": {
|
|
|
|
"commentStart": 505,
|
|
|
|
"end": 511,
|
|
|
|
"start": 505,
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"value": "seg01"
|
|
|
|
},
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [],
|
|
|
|
"tag": {
|
|
|
|
"commentStart": 708,
|
|
|
|
"end": 714,
|
|
|
|
"start": 708,
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"value": "seg02"
|
|
|
|
},
|
|
|
|
"type": "extrudeArc"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sketch": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"paths": [
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"from": [
|
2025-05-26 11:17:12 +12:00
|
|
|
4.933,
|
2025-05-06 14:58:53 +12:00
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"tag": {
|
|
|
|
"commentStart": 505,
|
|
|
|
"end": 511,
|
|
|
|
"start": 505,
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"value": "seg01"
|
|
|
|
},
|
|
|
|
"to": [
|
2025-05-26 11:17:12 +12:00
|
|
|
5.74,
|
|
|
|
0.34
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Cm"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"from": [
|
2025-05-26 11:17:12 +12:00
|
|
|
5.74,
|
|
|
|
0.34
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
2025-05-26 11:17:12 +12:00
|
|
|
5.74,
|
|
|
|
0.34
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Cm"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"ccw": true,
|
|
|
|
"center": [
|
|
|
|
0.0,
|
2025-05-26 11:17:12 +12:00
|
|
|
-0.001
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"from": [
|
2025-05-26 11:17:12 +12:00
|
|
|
5.74,
|
|
|
|
0.34
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"radius": 5.75,
|
|
|
|
"tag": {
|
|
|
|
"commentStart": 708,
|
|
|
|
"end": 714,
|
|
|
|
"start": 708,
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"value": "seg02"
|
|
|
|
},
|
|
|
|
"to": [
|
2025-05-26 11:17:12 +12:00
|
|
|
5.679,
|
|
|
|
0.899
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"type": "Arc",
|
|
|
|
"units": {
|
|
|
|
"type": "Cm"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"from": [
|
2025-05-26 11:17:12 +12:00
|
|
|
5.679,
|
|
|
|
0.899
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
2025-05-26 11:17:12 +12:00
|
|
|
4.82,
|
|
|
|
1.064
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Cm"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"from": [
|
2025-05-26 11:17:12 +12:00
|
|
|
4.82,
|
|
|
|
1.064
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
2025-05-26 11:17:12 +12:00
|
|
|
4.82,
|
|
|
|
1.064
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Cm"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"from": [
|
2025-05-26 11:17:12 +12:00
|
|
|
4.82,
|
|
|
|
1.064
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
2025-05-26 11:17:12 +12:00
|
|
|
4.714,
|
|
|
|
1.454
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Cm"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"from": [
|
2025-05-26 11:17:12 +12:00
|
|
|
4.714,
|
|
|
|
1.454
|
2025-05-06 14:58:53 +12:00
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
2025-05-26 11:17:12 +12:00
|
|
|
4.933,
|
2025-05-06 14:58:53 +12:00
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Cm"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"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": [
|
2025-05-26 11:17:12 +12:00
|
|
|
4.933,
|
2025-05-06 14:58:53 +12:00
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"to": [
|
2025-05-26 11:17:12 +12:00
|
|
|
4.933,
|
2025-05-06 14:58:53 +12:00
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"units": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"tag": null,
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": {
|
|
|
|
"seg01": {
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"value": "seg01"
|
|
|
|
},
|
|
|
|
"seg02": {
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"value": "seg02"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"originalId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Cm"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"height": 0.3,
|
|
|
|
"startCapId": "[uuid]",
|
|
|
|
"endCapId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"sectional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tipDiameter": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 11.5,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Cm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|