795 lines
		
	
	
		
			17 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			795 lines
		
	
	
		
			17 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": 1932,
 | |
|             "end": 1938,
 | |
|             "start": 1932,
 | |
|             "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": 2130,
 | |
|             "end": 2136,
 | |
|             "start": 2130,
 | |
|             "type": "TagDeclarator",
 | |
|             "value": "seg03"
 | |
|           },
 | |
|           "type": "extrudePlane"
 | |
|         },
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": {
 | |
|             "commentStart": 2179,
 | |
|             "end": 2185,
 | |
|             "start": 2179,
 | |
|             "type": "TagDeclarator",
 | |
|             "value": "seg04"
 | |
|           },
 | |
|           "type": "extrudePlane"
 | |
|         },
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": {
 | |
|             "commentStart": 2218,
 | |
|             "end": 2224,
 | |
|             "start": 2218,
 | |
|             "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": 2426,
 | |
|             "end": 2432,
 | |
|             "start": 2426,
 | |
|             "type": "TagDeclarator",
 | |
|             "value": "seg07"
 | |
|           },
 | |
|           "type": "extrudePlane"
 | |
|         },
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": {
 | |
|             "commentStart": 2483,
 | |
|             "end": 2489,
 | |
|             "start": 2483,
 | |
|             "type": "TagDeclarator",
 | |
|             "value": "seg08"
 | |
|           },
 | |
|           "type": "extrudePlane"
 | |
|         },
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": {
 | |
|             "commentStart": 2533,
 | |
|             "end": 2539,
 | |
|             "start": 2533,
 | |
|             "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": 1932,
 | |
|               "end": 1938,
 | |
|               "start": 1932,
 | |
|               "type": "TagDeclarator",
 | |
|               "value": "seg01"
 | |
|             },
 | |
|             "to": [
 | |
|               1.7,
 | |
|               -1.25
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "ccw": false,
 | |
|             "center": [
 | |
|               1.7,
 | |
|               -0.95
 | |
|             ],
 | |
|             "from": [
 | |
|               1.7,
 | |
|               -1.25
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               1.5072,
 | |
|               -1.1798
 | |
|             ],
 | |
|             "type": "TangentialArc",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "ccw": true,
 | |
|             "center": [
 | |
|               0.9287,
 | |
|               -1.8693
 | |
|             ],
 | |
|             "from": [
 | |
|               1.5072,
 | |
|               -1.1798
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               0.3501,
 | |
|               -1.1798
 | |
|             ],
 | |
|             "type": "TangentialArc",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "ccw": false,
 | |
|             "center": [
 | |
|               0.1573,
 | |
|               -0.95
 | |
|             ],
 | |
|             "from": [
 | |
|               0.3501,
 | |
|               -1.1798
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               0.1573,
 | |
|               -1.25
 | |
|             ],
 | |
|             "type": "TangentialArc",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               0.1573,
 | |
|               -1.25
 | |
|             ],
 | |
|             "tag": {
 | |
|               "commentStart": 2130,
 | |
|               "end": 2136,
 | |
|               "start": 2130,
 | |
|               "type": "TagDeclarator",
 | |
|               "value": "seg03"
 | |
|             },
 | |
|             "to": [
 | |
|               -1.2427,
 | |
|               -1.25
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               -1.2427,
 | |
|               -1.25
 | |
|             ],
 | |
|             "tag": {
 | |
|               "commentStart": 2179,
 | |
|               "end": 2185,
 | |
|               "start": 2179,
 | |
|               "type": "TagDeclarator",
 | |
|               "value": "seg04"
 | |
|             },
 | |
|             "to": [
 | |
|               -1.2427,
 | |
|               1.35
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               -1.2427,
 | |
|               1.35
 | |
|             ],
 | |
|             "tag": {
 | |
|               "commentStart": 2218,
 | |
|               "end": 2224,
 | |
|               "start": 2218,
 | |
|               "type": "TagDeclarator",
 | |
|               "value": "seg05"
 | |
|             },
 | |
|             "to": [
 | |
|               1.8573,
 | |
|               1.35
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "ccw": false,
 | |
|             "center": [
 | |
|               1.8573,
 | |
|               1.05
 | |
|             ],
 | |
|             "from": [
 | |
|               1.8573,
 | |
|               1.35
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               2.0501,
 | |
|               1.2798
 | |
|             ],
 | |
|             "type": "TangentialArc",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "ccw": true,
 | |
|             "center": [
 | |
|               3.0143,
 | |
|               2.4289
 | |
|             ],
 | |
|             "from": [
 | |
|               2.0501,
 | |
|               1.2798
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               3.9785,
 | |
|               1.2798
 | |
|             ],
 | |
|             "type": "TangentialArc",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "ccw": false,
 | |
|             "center": [
 | |
|               4.1713,
 | |
|               1.05
 | |
|             ],
 | |
|             "from": [
 | |
|               3.9785,
 | |
|               1.2798
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               4.1713,
 | |
|               1.35
 | |
|             ],
 | |
|             "type": "TangentialArc",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               4.1713,
 | |
|               1.35
 | |
|             ],
 | |
|             "tag": {
 | |
|               "commentStart": 2426,
 | |
|               "end": 2432,
 | |
|               "start": 2426,
 | |
|               "type": "TagDeclarator",
 | |
|               "value": "seg07"
 | |
|             },
 | |
|             "to": [
 | |
|               7.2713,
 | |
|               1.35
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               7.2713,
 | |
|               1.35
 | |
|             ],
 | |
|             "tag": {
 | |
|               "commentStart": 2483,
 | |
|               "end": 2489,
 | |
|               "start": 2483,
 | |
|               "type": "TagDeclarator",
 | |
|               "value": "seg08"
 | |
|             },
 | |
|             "to": [
 | |
|               7.2713,
 | |
|               -1.25
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               7.2713,
 | |
|               -1.25
 | |
|             ],
 | |
|             "tag": {
 | |
|               "commentStart": 2533,
 | |
|               "end": 2539,
 | |
|               "start": 2533,
 | |
|               "type": "TagDeclarator",
 | |
|               "value": "seg09"
 | |
|             },
 | |
|             "to": [
 | |
|               5.8713,
 | |
|               -1.25
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "ccw": false,
 | |
|             "center": [
 | |
|               5.8713,
 | |
|               -0.95
 | |
|             ],
 | |
|             "from": [
 | |
|               5.8713,
 | |
|               -1.25
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               5.6785,
 | |
|               -1.1798
 | |
|             ],
 | |
|             "type": "TangentialArc",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "ccw": true,
 | |
|             "center": [
 | |
|               5.1,
 | |
|               -1.8693
 | |
|             ],
 | |
|             "from": [
 | |
|               5.6785,
 | |
|               -1.1798
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               4.5215,
 | |
|               -1.1798
 | |
|             ],
 | |
|             "type": "TangentialArc",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "ccw": false,
 | |
|             "center": [
 | |
|               4.3257,
 | |
|               -0.9465
 | |
|             ],
 | |
|             "from": [
 | |
|               4.5215,
 | |
|               -1.1798
 | |
|             ],
 | |
|             "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": {
 | |
|           "type": "plane",
 | |
|           "id": "[uuid]",
 | |
|           "artifactId": "[uuid]",
 | |
|           "value": "XY",
 | |
|           "origin": {
 | |
|             "x": 0.0,
 | |
|             "y": 0.0,
 | |
|             "z": 0.0
 | |
|           },
 | |
|           "xAxis": {
 | |
|             "x": 1.0,
 | |
|             "y": 0.0,
 | |
|             "z": 0.0
 | |
|           },
 | |
|           "yAxis": {
 | |
|             "x": 0.0,
 | |
|             "y": 1.0,
 | |
|             "z": 0.0
 | |
|           },
 | |
|           "zAxis": {
 | |
|             "x": 0.0,
 | |
|             "y": 0.0,
 | |
|             "z": 1.0
 | |
|           },
 | |
|           "units": {
 | |
|             "type": "Inches"
 | |
|           }
 | |
|         },
 | |
|         "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": 1.5,
 | |
|           "edgeId": "[uuid]",
 | |
|           "tag": null
 | |
|         },
 | |
|         {
 | |
|           "type": "fillet",
 | |
|           "id": "[uuid]",
 | |
|           "radius": 1.5,
 | |
|           "edgeId": "[uuid]",
 | |
|           "tag": null
 | |
|         },
 | |
|         {
 | |
|           "type": "fillet",
 | |
|           "id": "[uuid]",
 | |
|           "radius": 0.25,
 | |
|           "edgeId": "[uuid]",
 | |
|           "tag": null
 | |
|         },
 | |
|         {
 | |
|           "type": "fillet",
 | |
|           "id": "[uuid]",
 | |
|           "radius": 0.25,
 | |
|           "edgeId": "[uuid]",
 | |
|           "tag": null
 | |
|         }
 | |
|       ],
 | |
|       "units": {
 | |
|         "type": "Inches"
 | |
|       }
 | |
|     }
 | |
|   },
 | |
|   "plateHeight": {
 | |
|     "type": "Number",
 | |
|     "value": 0.125,
 | |
|     "ty": {
 | |
|       "type": "Default",
 | |
|       "len": {
 | |
|         "type": "Inches"
 | |
|       },
 | |
|       "angle": {
 | |
|         "type": "Degrees"
 | |
|       }
 | |
|     }
 | |
|   },
 | |
|   "primaryTube": {
 | |
|     "type": "Function"
 | |
|   },
 | |
|   "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"
 | |
|       }
 | |
|     }
 | |
|   }
 | |
| }
 |