* Bump ts-rs from 10.1.0 to 11.0.1 * Fix breaking changes * Fix tsc errors * Update output * Upgrade to kittycad-modeling-cmds 0.2.124 for ts-rs update * Update parser snaps * Update output of gridfinity_bins_stacking_lip sample * Fix missing field in TS unit tests * Fix tsc type error with fixed_size_grid project setting
438 lines
8.9 KiB
Plaintext
438 lines
8.9 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.866772518252038,
|
|
"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,
|
|
"moduleId": 0,
|
|
"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,
|
|
"moduleId": 0,
|
|
"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.933386259126019,
|
|
0.0
|
|
],
|
|
"tag": {
|
|
"commentStart": 505,
|
|
"end": 511,
|
|
"moduleId": 0,
|
|
"start": 505,
|
|
"type": "TagDeclarator",
|
|
"value": "seg01"
|
|
},
|
|
"to": [
|
|
5.7399134909054,
|
|
0.3404307813964144
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Cm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
5.7399134909054,
|
|
0.3404307813964144
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
5.7399134909054,
|
|
0.3404307813964144
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Cm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": true,
|
|
"center": [
|
|
0.00003551162888282278,
|
|
-0.0005982247255254536
|
|
],
|
|
"from": [
|
|
5.7399134909054,
|
|
0.3404307813964144
|
|
],
|
|
"radius": 5.75,
|
|
"tag": {
|
|
"commentStart": 708,
|
|
"end": 714,
|
|
"moduleId": 0,
|
|
"start": 708,
|
|
"type": "TagDeclarator",
|
|
"value": "seg02"
|
|
},
|
|
"to": [
|
|
5.679243470050925,
|
|
0.8988999492558021
|
|
],
|
|
"type": "Arc",
|
|
"units": {
|
|
"type": "Cm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
5.679243470050925,
|
|
0.8988999492558021
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
4.819561253992905,
|
|
1.0642050608448215
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Cm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
4.819561253992905,
|
|
1.0642050608448215
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
4.819561253992905,
|
|
1.0642050608448215
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Cm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
4.819561253992905,
|
|
1.0642050608448215
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
4.714209749659843,
|
|
1.4541411272450477
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Cm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
4.714209749659843,
|
|
1.4541411272450477
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
4.933386259126019,
|
|
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.933386259126019,
|
|
0.0
|
|
],
|
|
"to": [
|
|
4.933386259126019,
|
|
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"
|
|
}
|
|
}
|
|
}
|
|
}
|