Files
Jonathan Tran c7f0a6c2a0 Upgrade to ts-rs 11.0 for TS type fixes (#7581)
* 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
2025-06-24 18:38:43 +00:00

700 lines
14 KiB
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing mounting-plate.kcl
---
{
"basePlateEdge1": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "basePlateEdge1"
},
"basePlateEdge2": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "basePlateEdge2"
},
"basePlateEdge3": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "basePlateEdge3"
},
"basePlateEdge4": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "basePlateEdge4"
},
"centerHoleDiameter": {
"type": "Number",
"value": 2.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"filletRadius": {
"type": "Number",
"value": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"holeIndex": {
"type": "Number",
"value": 0.75,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"holeRadius": {
"type": "Number",
"value": 0.25,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"part": {
"type": "Solid",
"value": {
"type": "Solid",
"id": "[uuid]",
"artifactId": "[uuid]",
"value": [
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 625,
"end": 640,
"moduleId": 0,
"start": 625,
"type": "TagDeclarator",
"value": "basePlateEdge1"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 723,
"end": 738,
"moduleId": 0,
"start": 723,
"type": "TagDeclarator",
"value": "basePlateEdge2"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 828,
"end": 843,
"moduleId": 0,
"start": 828,
"type": "TagDeclarator",
"value": "basePlateEdge3"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 913,
"end": 928,
"moduleId": 0,
"start": 913,
"type": "TagDeclarator",
"value": "basePlateEdge4"
},
"type": "extrudePlane"
}
],
"sketch": {
"type": "Sketch",
"id": "[uuid]",
"paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-3.0,
5.0
],
"tag": {
"commentStart": 625,
"end": 640,
"moduleId": 0,
"start": 625,
"type": "TagDeclarator",
"value": "basePlateEdge1"
},
"to": [
3.0,
5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
3.0,
5.0
],
"tag": {
"commentStart": 723,
"end": 738,
"moduleId": 0,
"start": 723,
"type": "TagDeclarator",
"value": "basePlateEdge2"
},
"to": [
3.0000000000000004,
-5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
3.0000000000000004,
-5.0
],
"tag": {
"commentStart": 828,
"end": 843,
"moduleId": 0,
"start": 828,
"type": "TagDeclarator",
"value": "basePlateEdge3"
},
"to": [
-2.9999999999999996,
-5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-2.9999999999999996,
-5.0
],
"tag": {
"commentStart": 913,
"end": 928,
"moduleId": 0,
"start": 913,
"type": "TagDeclarator",
"value": "basePlateEdge4"
},
"to": [
-3.0,
5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-3.0,
5.0
],
"tag": null,
"to": [
-3.0,
5.0
],
"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": [
-3.0,
5.0
],
"to": [
-3.0,
5.0
],
"units": {
"type": "Inches"
},
"tag": null,
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
}
},
"tags": {
"basePlateEdge1": {
"type": "TagIdentifier",
"value": "basePlateEdge1"
},
"basePlateEdge2": {
"type": "TagIdentifier",
"value": "basePlateEdge2"
},
"basePlateEdge3": {
"type": "TagIdentifier",
"value": "basePlateEdge3"
},
"basePlateEdge4": {
"type": "TagIdentifier",
"value": "basePlateEdge4"
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
"height": 0.5,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"edgeCuts": [
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
}
],
"units": {
"type": "Inches"
},
"sectional": false
}
},
"plateLength": {
"type": "Number",
"value": 10.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"plateThickness": {
"type": "Number",
"value": 0.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"plateWidth": {
"type": "Number",
"value": 6.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"rectShape": {
"type": "Sketch",
"value": {
"type": "Sketch",
"id": "[uuid]",
"paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-3.0,
5.0
],
"tag": {
"commentStart": 625,
"end": 640,
"moduleId": 0,
"start": 625,
"type": "TagDeclarator",
"value": "basePlateEdge1"
},
"to": [
3.0,
5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
3.0,
5.0
],
"tag": {
"commentStart": 723,
"end": 738,
"moduleId": 0,
"start": 723,
"type": "TagDeclarator",
"value": "basePlateEdge2"
},
"to": [
3.0000000000000004,
-5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
3.0000000000000004,
-5.0
],
"tag": {
"commentStart": 828,
"end": 843,
"moduleId": 0,
"start": 828,
"type": "TagDeclarator",
"value": "basePlateEdge3"
},
"to": [
-2.9999999999999996,
-5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-2.9999999999999996,
-5.0
],
"tag": {
"commentStart": 913,
"end": 928,
"moduleId": 0,
"start": 913,
"type": "TagDeclarator",
"value": "basePlateEdge4"
},
"to": [
-3.0,
5.0
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-3.0,
5.0
],
"tag": null,
"to": [
-3.0,
5.0
],
"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": [
-3.0,
5.0
],
"to": [
-3.0,
5.0
],
"units": {
"type": "Inches"
},
"tag": null,
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
}
},
"tags": {
"basePlateEdge1": {
"type": "TagIdentifier",
"value": "basePlateEdge1"
},
"basePlateEdge2": {
"type": "TagIdentifier",
"value": "basePlateEdge2"
},
"basePlateEdge3": {
"type": "TagIdentifier",
"value": "basePlateEdge3"
},
"basePlateEdge4": {
"type": "TagIdentifier",
"value": "basePlateEdge4"
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
}
},
"sketch001": {
"type": "Plane",
"value": {
"artifactId": "[uuid]",
"id": "[uuid]",
"origin": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"units": {
"type": "Mm"
}
},
"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"
}
}
}
}
}