Files
modeling-app/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/program_memory.snap
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

856 lines
19 KiB
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing exhaust-manifold.kcl
---
{
"bendRadius": {
"type": "Number",
"value": 3.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"flangeSketch": {
"type": "Solid",
"value": {
"type": "Solid",
"id": "[uuid]",
"artifactId": "[uuid]",
"value": [
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 2009,
"end": 2015,
"moduleId": 0,
"start": 2009,
"type": "TagDeclarator",
"value": "seg01"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 2183,
"end": 2189,
"moduleId": 0,
"start": 2183,
"type": "TagDeclarator",
"value": "seg03"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 2232,
"end": 2238,
"moduleId": 0,
"start": 2232,
"type": "TagDeclarator",
"value": "seg04"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 2271,
"end": 2277,
"moduleId": 0,
"start": 2271,
"type": "TagDeclarator",
"value": "seg05"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 2455,
"end": 2461,
"moduleId": 0,
"start": 2455,
"type": "TagDeclarator",
"value": "seg07"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 2512,
"end": 2518,
"moduleId": 0,
"start": 2512,
"type": "TagDeclarator",
"value": "seg08"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": {
"commentStart": 2562,
"end": 2568,
"moduleId": 0,
"start": 2562,
"type": "TagDeclarator",
"value": "seg09"
},
"type": "extrudePlane"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
},
{
"faceId": "[uuid]",
"id": "[uuid]",
"sourceRange": [],
"tag": null,
"type": "extrudeArc"
}
],
"sketch": {
"type": "Sketch",
"id": "[uuid]",
"paths": [
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
4.3,
-1.25
],
"tag": {
"commentStart": 2009,
"end": 2015,
"moduleId": 0,
"start": 2009,
"type": "TagDeclarator",
"value": "seg01"
},
"to": [
1.6999999999999997,
-1.25
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"ccw": false,
"center": [
1.6999999999999997,
-0.95
],
"from": [
1.6999999999999997,
-1.25
],
"tag": null,
"to": [
1.507163717094038,
-1.1798133329356932
],
"type": "TangentialArc",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"ccw": true,
"center": [
0.9286548683761525,
-1.8692533317427733
],
"from": [
1.507163717094038,
-1.1798133329356932
],
"tag": null,
"to": [
0.3501460196582671,
-1.179813332935693
],
"type": "TangentialArc",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"ccw": false,
"center": [
0.15730973675230542,
-0.9499999999999995
],
"from": [
0.3501460196582671,
-1.179813332935693
],
"tag": null,
"to": [
0.1573097367523053,
-1.2499999999999996
],
"type": "TangentialArc",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
0.1573097367523053,
-1.2499999999999996
],
"tag": {
"commentStart": 2183,
"end": 2189,
"moduleId": 0,
"start": 2183,
"type": "TagDeclarator",
"value": "seg03"
},
"to": [
-1.2426902632476946,
-1.2499999999999996
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-1.2426902632476946,
-1.2499999999999996
],
"tag": {
"commentStart": 2232,
"end": 2238,
"moduleId": 0,
"start": 2232,
"type": "TagDeclarator",
"value": "seg04"
},
"to": [
-1.2426902632476946,
1.3500000000000005
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
-1.2426902632476946,
1.3500000000000005
],
"tag": {
"commentStart": 2271,
"end": 2277,
"moduleId": 0,
"start": 2271,
"type": "TagDeclarator",
"value": "seg05"
},
"to": [
1.8573097367523055,
1.3500000000000005
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"ccw": false,
"center": [
1.8573097367523055,
1.0500000000000005
],
"from": [
1.8573097367523055,
1.3500000000000005
],
"tag": null,
"to": [
2.0501460196582673,
1.279813332935694
],
"type": "TangentialArc",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"ccw": true,
"center": [
3.0143274341880764,
2.4288799976141613
],
"from": [
2.0501460196582673,
1.279813332935694
],
"tag": null,
"to": [
3.9785088487178855,
1.2798133329356942
],
"type": "TangentialArc",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"ccw": false,
"center": [
4.1713451316238475,
1.0500000000000007
],
"from": [
3.9785088487178855,
1.2798133329356942
],
"tag": null,
"to": [
4.1713451316238475,
1.3500000000000008
],
"type": "TangentialArc",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
4.1713451316238475,
1.3500000000000008
],
"tag": {
"commentStart": 2455,
"end": 2461,
"moduleId": 0,
"start": 2455,
"type": "TagDeclarator",
"value": "seg07"
},
"to": [
7.271345131623848,
1.3500000000000008
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
7.271345131623848,
1.3500000000000008
],
"tag": {
"commentStart": 2512,
"end": 2518,
"moduleId": 0,
"start": 2512,
"type": "TagDeclarator",
"value": "seg08"
},
"to": [
7.271345131623848,
-1.25
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
7.271345131623848,
-1.25
],
"tag": {
"commentStart": 2562,
"end": 2568,
"moduleId": 0,
"start": 2562,
"type": "TagDeclarator",
"value": "seg09"
},
"to": [
5.871345131623848,
-1.25
],
"type": "ToPoint",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"ccw": false,
"center": [
5.871345131623848,
-0.95
],
"from": [
5.871345131623848,
-1.25
],
"tag": null,
"to": [
5.678508848717886,
-1.1798133329356932
],
"type": "TangentialArc",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"ccw": true,
"center": [
5.100000000000001,
-1.8692533317427742
],
"from": [
5.678508848717886,
-1.1798133329356932
],
"tag": null,
"to": [
4.521491151282115,
-1.1798133329356943
],
"type": "TangentialArc",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"ccw": false,
"center": [
4.32567653803991,
-0.9464505641218501
],
"from": [
4.521491151282115,
-1.1798133329356943
],
"tag": null,
"to": [
4.3,
-1.25
],
"type": "TangentialArcTo",
"units": {
"type": "Inches"
}
},
{
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
},
"from": [
4.3,
-1.25
],
"tag": null,
"to": [
4.3,
-1.25
],
"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": [
4.3,
-1.25
],
"to": [
4.3,
-1.25
],
"units": {
"type": "Inches"
},
"tag": null,
"__geoMeta": {
"id": "[uuid]",
"sourceRange": []
}
},
"tags": {
"seg01": {
"type": "TagIdentifier",
"value": "seg01"
},
"seg03": {
"type": "TagIdentifier",
"value": "seg03"
},
"seg04": {
"type": "TagIdentifier",
"value": "seg04"
},
"seg05": {
"type": "TagIdentifier",
"value": "seg05"
},
"seg07": {
"type": "TagIdentifier",
"value": "seg07"
},
"seg08": {
"type": "TagIdentifier",
"value": "seg08"
},
"seg09": {
"type": "TagIdentifier",
"value": "seg09"
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
}
},
"height": 0.125,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"edgeCuts": [
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 1.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 1.5,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 0.25,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
},
{
"type": "fillet",
"id": "[uuid]",
"radius": {
"n": 0.25,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"edgeId": "[uuid]",
"tag": null
}
],
"units": {
"type": "Inches"
},
"sectional": false
}
},
"plateHeight": {
"type": "Number",
"value": 0.125,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"primaryTube": {
"type": "Function",
"value": null
},
"primaryTubeDiameter": {
"type": "Number",
"value": 1.625,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"seg01": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "seg01"
},
"seg03": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "seg03"
},
"seg04": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "seg04"
},
"seg05": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "seg05"
},
"seg07": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "seg07"
},
"seg08": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "seg08"
},
"seg09": {
"type": "TagIdentifier",
"type": "TagIdentifier",
"value": "seg09"
},
"wallThickness": {
"type": "Number",
"value": 0.08,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
}
}