Files
modeling-app/rust/kcl-lib/tests/involute_circular_units/program_memory.snap
Nick Cameron 0c2785df67 Round floats in simulation tests to 3dp (#7211)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-05-26 11:17:12 +12:00

434 lines
8.4 KiB
Plaintext

---
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",
"value": 9.867,
"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": [
4.933,
0.0
],
"tag": {
"commentStart": 505,
"end": 511,
"start": 505,
"type": "TagDeclarator",
"value": "seg01"
},
"to": [
5.74,
0.34
],
"type": "ToPoint",
"units": {
"type": "Cm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
5.74,
0.34
],
"tag": null,
"to": [
5.74,
0.34
],
"type": "ToPoint",
"units": {
"type": "Cm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"ccw": true,
"center": [
0.0,
-0.001
],
"from": [
5.74,
0.34
],
"radius": 5.75,
"tag": {
"commentStart": 708,
"end": 714,
"start": 708,
"type": "TagDeclarator",
"value": "seg02"
},
"to": [
5.679,
0.899
],
"type": "Arc",
"units": {
"type": "Cm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
5.679,
0.899
],
"tag": null,
"to": [
4.82,
1.064
],
"type": "ToPoint",
"units": {
"type": "Cm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
4.82,
1.064
],
"tag": null,
"to": [
4.82,
1.064
],
"type": "ToPoint",
"units": {
"type": "Cm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
4.82,
1.064
],
"tag": null,
"to": [
4.714,
1.454
],
"type": "ToPoint",
"units": {
"type": "Cm"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
4.714,
1.454
],
"tag": null,
"to": [
4.933,
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": [
4.933,
0.0
],
"to": [
4.933,
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"
}
}
}
}